AI Coding Agent for Spec-First Development
Design from anything — a description, a doc, or an architecture diagram — and pAiCoder turns it into a working spec, then code. Switch between Claude, Grok, and GPT per task: fast models for inline completion, stronger models for planning and audits. Your choice, your cost.
Ghost-text suggestions as you type, powered by your chosen LLM.
Write a docstring, press Cmd+Enter to implement the function.
Full AI coding agent in a terminal session.
Anthropic, xAI, OpenAI, Ollama (local) — mix and match by role.
Most AI coding tools lock you into one model. pAiCoder lets you assign different providers to different roles — a fast model for inline completion, a stronger one for planning, an independent one for auditing.
# ~/.paicoder/.env
CODER=xai # fast — implementation, inline completion
XAI_MODEL=grok-4.3
PLANNER=anthropic # quality — design, spec, orchestration
ANTHROPIC_MODEL=claude-sonnet-4-6
Start from whatever you have — a one-line description, a doc, or an architecture diagram.
Load an architecture diagram and generate production-ready infrastructure.
Cmd+Shift+P → pAiCoder: Load Design
→ select architecture diagram (PNG/JPG)
→ generates CloudFormation + GitHub Actions
26 deployment templates today — serverless, containers, data pipelines, AI/ML, and more.
def multiply(num1, num2):
''' multiply two numbers and return the result '''
# → press Tab to accept ghost text: return num1 * num2
• Tab or Alt+\ to accept a suggestion
• Disable Pylance autocomplete dropdown for best experience:
"editor.quickSuggestions": { "other": "off" }
Cmd+Shift+P → pAiCoder: Setup)
pAiCoder is free to use for 90 days from first install.
See LICENSE for details.