-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
Your GitHub Name edited this page May 19, 2026
·
5 revisions
PromptPilot is built around one idea:
A small language model can serve as the harness brain around a larger coding agent.
The SLM is not the coder. It is the control layer.
It decides:
- What is the user asking?
- Is the prompt clear enough?
- Is this safe to rewrite?
- Should the request be answered directly?
- Should it be passed through unchanged?
- Should noisy tool output be compressed?
- What facts must be preserved?
- Should the expensive coding agent be invoked?
The large coding agent remains responsible for:
- Code understanding
- Implementation
- Debugging
- Test repair
- Architectural reasoning
Developer prompt / tool output
↓
PromptPilot
↓
SLM harness
- intent
- ambiguity
- risk
- preservation
- routing
↓
Route
- clarify
- answer
- passthrough
- compress
- invoke agent
↓
Codex / Claude-style coding agent
↓
Telemetry / replay / audit
PromptPilot separates workflow control from coding execution:
- Input capture receives the developer prompt, session memory, and optional tool output.
- SLM harness classifies intent, extracts constraints, evaluates ambiguity, and estimates transformation risk.
- Route selection chooses clarify, answer, passthrough, compress, rewrite, or invoke-agent behavior.
- Frontier coding agent receives either the original prompt or a semantic-preserving harness output.
- Telemetry and replay record routing, token impact, compression events, and session handoff data.
This keeps the SLM central but bounded: it controls the workflow around the coding agent without replacing the model that reasons about and edits code.