pAiCoder

AI Coding Agent for Spec-First Development

90-day free evaluation
Inline completion
AWS deployment
Parallel code generation

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.

Features

Inline Completion

Ghost-text suggestions as you type, powered by your chosen LLM.

Docstring Completion

Write a docstring, press Cmd+Enter to implement the function.

Project Chat

Full AI coding agent in a terminal session.

Multi-Provider

Anthropic, xAI, OpenAI, Ollama (local) — mix and match by role.

Your Choice, Your Cost

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

How it Works

Spec-First Workflow

Start from whatever you have — a one-line description, a doc, or an architecture diagram.

description / diagram → SPEC.md → MASTER_PROMPT.md → implementation

AWS Design & Deployment

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.

Inline Completion

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" }

Quick Start

  1. Install the extension
  2. Open the pAiCoder Setup panel (Cmd+Shift+PpAiCoder: Setup)
  3. Add your API key (Anthropic, xAI, or OpenAI)
  4. Open a Python file and start typing — ghost text appears automatically

Evaluation License

pAiCoder is free to use for 90 days from first install.
See LICENSE for details.