AI Agent v1 — "Terminal Doctor" (read-heavy MVP)
First vertical slice — proves the whole stack with a small blast radius.
Part of the BYOK AI Agent epic: #55
⛔ Depends on #59 (UI/UX design & anti-clutter pass) for the panel / palette / terminal surfaces.
Scope
In the chat panel and via the terminal shortcut, the agent can:
- Open a connection (prompts — network/auth).
- Run read-only commands.
- Read terminal output (the key new gated verb).
- Explain / diagnose errors, suggest fixes.
- Any write / risky command still prompts (Approve / Edit / Reject).
Proves
Provider loop · tool registry · terminal-output read (gated tier) · approval UX ·
chat panel + terminal surface.
Requires
- Gated capability tier: terminal-read + session-open (see capability-layer issue).
- Provider/BYOK layer (Vercel AI SDK, key in keychain).
- Agent loop + a small tool registry.
- Approval/permission state machine.
- Chat panel + terminal-context surface.
- Agent settings (provider, key, model).
Acceptance criteria
AI Agent v1 — "Terminal Doctor" (read-heavy MVP)
First vertical slice — proves the whole stack with a small blast radius.
Part of the BYOK AI Agent epic: #55
Scope
In the chat panel and via the terminal shortcut, the agent can:
Proves
Provider loop · tool registry · terminal-output read (gated tier) · approval UX ·
chat panel + terminal surface.
Requires
Acceptance criteria