← TinyGPT · docs · devlog · roadmap · speedup
source: docs/prds/B35-local-agent-vertical-poc.md · view on GitHub ↗

PRD — Local-agent vertical PoC (code reviewer on a Mac)

Goal

Prove the local-only specialist agent thesis on one concrete vertical: a code reviewer that runs entirely on the user’s Mac on a tinygpt fine-tuned 12B model, with zero cloud dependency, and beats (or matches within ε) a frontier-cloud baseline on a fixed code-review benchmark.

If this PoC clears the gate, the wedge — “agents Eve can’t reach because they’re cloud-native” — becomes a real product surface. If it doesn’t, we learn what the gap is before committing more roadmap area.

Why now (post-Eve)

Vercel’s Eve (June 2026) validates the agent-platform thesis at the infra layer, but Eve and all its cloud-native peers (Cursor, Replit Agent, Devin, Cognition) burn frontier-API tokens per invocation. None serves the buyer who needs:

tinygpt already owns ~70% of the stack for this: QLoRA on 4-14B (tinygpt sft), serve (tinygpt serve with B26 deferred tools), trace recorder (B22), trace-to-training (B29), composite reward (B28), eval gate (B32). What’s missing is one shipped vertical that proves the loop runs.

See [[feedback_tinygpt_north_star]] — formula is (speed × accuracy) / cost. Cost = 0 dominates as long as accuracy is in the ballpark. This PoC is the experiment that measures the ballpark.

Scope — in

Phase 1 — baseline + benchmark (1 week)

Phase 2 — specialist (1-2 weeks)

Phase 3 — agent runtime (1 week)

Phase 4 — the loop closes (ongoing)

Scope — out

Acceptance criteria

The PoC ships if all of these clear:

The kill criterion (be honest about the negative result)

If, after 4 weeks of focused work, the specialist can’t beat the zero-shot open baseline by 5pp on the chosen eval even on the slice we picked for friendliness, the local-only vertical thesis is weakened enough to deprioritize. Either:

In any of those cases, the answer isn’t “build harder” — it’s “publish the negative result and keep tinygpt narrow as a model factory, not an agent company.” Per [[feedback_research_first_doctrine]].

Reference shape

PhaseWall-clockCompute costLikely blocker
1 — baseline + benchmark~1 week$0 (local) + frontier API tokens for ceilingeval choice
2 — specialist training~2 weeksM5 Pro time, sequential per [[project_parallel_training_lesson]]training-data scarcity
3 — agent runtime~1 week$0tool-call reliability on 12B
4 — self-improving loopongoing$0real-user uptake

Open questions

What this PRD is NOT

A commitment to ship. It’s a kill-or-validate experiment. If the 4-week timebox runs out without clearing the bar, B35 is closed and the learning is published as a session retrospective per the user’s documentation-as-first-class doctrine.