Builder Track Study Plan: Chat and Voice Agents in Production
Given your background, here's a realistic ~6-month plan (built for a few hours/week — roughly 100 hours total to get you from "comfortable Claude user" to "can ship chat and voice agents in production"). I'll lean on Go where it's genuinely strong and point you to Python where the ecosystem just isn't there yet in Go.
How to use this doc: open it at the start of each week, find your current week's block, do the reading in order, then work on the phase project. Each phase ends with explicit exit criteria — don't move on until you pass them, and don't gold-plate past them either.
Prerequisites & Setup (do before Week 1)
Get all of this out of the way up front — discovering a missing account or environment mid-phase is where momentum dies.
Assumed skills (if any of these are shaky, budget an extra week before starting):
- Comfortable Go: can write an HTTP client, parse JSON into structs, use goroutines/channels
- Basic Python: can read it and run a script in a virtualenv (you won't need to write serious Python until Phase 4)
- Git, Docker basics, and comfort with a terminal
Accounts & keys:
- ☐ Anthropic API key from platform.claude.com — set as
ANTHROPIC_API_KEY - ☐ Budget: ~$20–30/month covers this entire plan. Use
claude-sonnet-5($2 in / $10 out per M tokens) for agent work, andclaude-haiku-4-5($1/$5) for high-volume experiments and eval runs. Set a monthly spend limit in the console on day one. - ☐ GitHub account (you have this)
- ☐ Defer until Phase 4: Vapi account, plus a speech provider (Deepgram or similar — Pipecat's quickstart will tell you exactly which)
Local environment:
- ☐ Go 1.22+ installed
- ☐ Python 3.11+ with
uvorvenv(needed from Phase 4; install now so it's not a blocker) - ☐ Docker running locally
- ☐ Postgres via Docker with the pgvector extension (
docker run pgvector/pgvector:pg16) — needed from Phase 2, worth verifying now - ☐ Claude Desktop or Claude Code installed (you'll plug your own MCP server into it in Phase 2)
Bookmark these — they're the canonical references for the whole plan:
- Anthropic API docs: platform.claude.com/docs (Messages API, tool use, streaming, prompt caching)
- MCP spec & docs: modelcontextprotocol.io
- Anthropic's essay "Building Effective Agents" — the single best conceptual grounding for Phases 1–3
If you fall behind: the cut order is Phase 3's multi-agent project (do a single reflection loop instead), then Phase 5's open-source contribution, then LangChainGo/LangGraph skimming. Never cut Phase 1's bare agent or Phase 2's RAG work — those are the load-bearing skills. (If you do take the optional voice phase, don't cut its Pipecat weeks.)
Phase 1 — Foundations (Weeks 1–3)
Get the mental model solid before touching frameworks — this is what separates people who can debug agents from people who just glue libraries together.
Week 1 — The agent loop, conceptually
- Read Anthropic's "Building Effective Agents" — internalize the distinction between a deterministic "agentic workflow" (fixed steps, LLM fills in details) and a true autonomous agent (LLM decides what happens next).
- Skim the ReAct paper (don't get bogged down — you want the perceive → plan → act → observe loop, not the benchmarks).
- Read the tool use overview in the Anthropic docs: tool definitions,
tool_use/tool_resultblocks,stop_reason.
Week 2 — Raw API fluency
- Work through the Messages API reference with
curlfirst — send a message, define a tool, return atool_result, loop untilend_turn. No Go yet; make the wire format second nature. - Read the prompt caching docs and the context windows summary in Phase 1: Context windows — what actually fills them up. Agent loops replay the full transcript on every turn — caching is what keeps a multi-tool loop affordable and fast, not a Phase 5 afterthought. Key mental model: caching is a prefix match — stable content (system prompt, tools) first, volatile content last.
- Read MCP concepts — just the architecture page for now; hands-on comes in Phase 2.
Week 3 — Project week
Project: Write a bare ReAct agent in Go from scratch, calling the Claude API directly over HTTP — no SDK, no framework. Give it 2 tools (calculator + web search stub), parse tool_use blocks yourself, loop until done. Log token usage per turn (usage.input_tokens, usage.output_tokens, usage.cache_read_input_tokens) so you can see, concretely, how fast a tool-calling loop burns tokens and whether your cache is actually hitting — that habit of watching cost pays off for the rest of the plan. This is the single most valuable exercise in the whole plan — frameworks make way more sense once you've built the loop by hand.
✅ Exit criteria for Phase 1
- Your agent completes a task requiring a 3+ tool-call chain without you editing the prompt mid-run.
- You can explain, without notes, what happens on the wire between "Claude wants a tool" and "Claude sees the result."
- Your per-turn token log shows non-zero
cache_read_input_tokensafter turn 1 (proves your prompt caching is set up correctly).
Phase 2 — Chat agents, for real (Weeks 4–9)
Seven production-viable frameworks now support Go agent development, and Go's goroutine-based concurrency suits agent workloads with parallel tool calls and streaming well. Of those, Eino from CloudWeGo is the strongest choice if you need production resilience at high throughput, with circuit breakers and backoff patterns, while LangChainGo covers the broadest set of providers and vector stores, which helps since the Python LangChain mental model transfers directly. This corner of the ecosystem moves fast — before committing weeks to Eino, spend 10 minutes on its repo checking it's still the actively-maintained frontrunner rather than assuming this holds indefinitely.
Week 4 — Framework orientation
- Work through Eino's docs (repo): the component model, chains, and how it wraps the loop you built by hand last week. Port your Phase 1 agent into Eino — the delta between your version and theirs is the lesson.
- Skim LangChainGo's README and examples — just enough to recognize the LangChain-style abstractions when you inevitably read Python tutorials.
Week 5 — Streaming
- Read the streaming docs (SSE event types:
content_block_delta,message_delta, etc.). - Add token-by-token streaming to your agent. It's baseline UX for any chat surface and changes how you structure the loop — partial tool-call parsing, incremental rendering, and handling a stream that ends in
tool_use.
Week 6 — MCP, both directions
- Build and expose your own MCP server in Go via
mcp-goor the official Go SDK, and plug it into Claude Desktop or Claude Code — you'll see your own tool show up in a client you already use daily. - Then consume an MCP server programmatically from your own agent code (not just from Claude Desktop) — that's the pattern you'll actually use in production.
Week 7 — Memory
- Add memory: a rolling conversation buffer + summarization for long chats, plus a simple vector-store lookup for long-term recall. Use pgvector with the Postgres instance from your setup checklist (pgvector-go for the client).
Week 8 — RAG as its own skill
- Learn RAG properly, not as a subset of memory: chunking strategy (fixed-size vs semantic vs structural), embeddings (Voyage AI or another embeddings API — Anthropic doesn't ship one), retrieval, and reranking. Anthropic's contextual retrieval post is the best single write-up of what actually moves the needle.
- This is one of the most common production chat-agent patterns — arguably more common day-to-day than the multi-agent orchestration in Phase 3 — so give it real time rather than treating it as a footnote.
Week 9 — Project week
Project: A CLI or Slack bot agent with persistent memory, RAG over a small set of your own documents (10–20 markdown files or PDFs you actually care about), streaming responses, 3+ tools, and one capability exposed as an MCP server — consumed both by Claude Desktop and by a second piece of your own code.
✅ Exit criteria for Phase 2
- Your RAG bot answers 8/10 questions about your documents correctly, citing which document the answer came from.
- Your MCP server works in Claude Desktop and is called programmatically from your own Go code.
- Responses stream token-by-token, including turns that involve a mid-stream tool call.
- You can state your agent's cost per conversation to within ~2x, from your own logs.
Phase 3 — Multi-agent orchestration & guardrails (Weeks 10–13)
Week 10 — Orchestration patterns
- Re-read the orchestration sections of "Building Effective Agents": orchestrator/worker, planner/executor, reflection/self-critique loops, sub-agent delegation. That essay's taxonomy is the vocabulary everyone in this space uses.
- Try graph-based orchestration in Eino, and skim LangGraph's concepts docs (Python) — same concept, different syntax, worth seeing both.
Week 11 — Guardrails, first pass
- Add a first pass at guardrails: JSON-schema-validated structured outputs (the API's structured outputs via
output_config.format— don't hand-roll validation), input sanitization (agents that call tools are exposed to prompt injection from anything they read — Simon Willison's prompt injection series is the canonical reading), cost/rate limits, and a human-approval step for any destructive action. - Treat this as "good enough to demo" — Phase 5 comes back to harden it against real, messy input.
Week 12 — Evals
- Add basic evals — a test harness that scores agent transcripts against expected behavior. Start with promptfoo (solid, framework-agnostic); write 15–20 test cases for your Phase 2 bot covering happy paths, tool failures, and injection attempts.
Week 13 — Project week
Project: A small multi-agent system — e.g. a research assistant with a planner agent + 2 worker agents + an evaluator that checks the output before it's shown to the user.
✅ Exit criteria for Phase 3
- Your multi-agent system completes a research task where the planner's decomposition visibly differs run-to-run and workers execute in parallel (goroutines earning their keep).
- Your eval suite runs in one command and you've caught at least one real regression with it.
- A prompt-injection string embedded in a retrieved document does not cause a tool call it shouldn't (you have a failing-then-fixed test proving it).
Phase 4 — Voice agents (Weeks 14–20)
This is the one place I'd tell you honestly: don't force Go here. Voice-agent tooling is Python-first right now — LiveKit's Python SDK has deeper coverage than its JS counterpart, and teams outside Python run into feature-parity gaps, and Pipecat is Python-native too. Given you're open to Python, use it for this piece; keep your Go skills for the orchestration/business-logic layer around it. This phase gets 7 weeks — more than any other — because you're picking up a new language context and a new domain (audio pipelines) at the same time, which is more than it looks like on paper.
Week 14 — Concepts + see the finished product
- Core concepts: STT → LLM → TTS pipeline, voice activity detection (VAD), turn-taking and "barge-in" (handling interruptions), and the latency budget needed for a call to feel natural (sub-~800ms round trip). Pipecat's core concepts docs cover all of these — read them before writing any code.
- Vapi (docs.vapi.ai) — a managed platform where you configure STT/LLM/TTS providers and it handles the realtime listen-think-speak loop. Get a working agent on a phone number this week — the point is to see the finished product fast and understand the shape of what you're building toward.
Weeks 15–17 — Pipecat: build the pipeline yourself
- Pipecat (docs.pipecat.ai, repo) — the open-source Python framework built around a pipeline of frame processors, where audio flows through STT, LLM, and TTS stages you assemble and fully control. This is where you actually learn the internals.
- Week 15: quickstart + a working web-based voice agent with off-the-shelf STT/TTS.
- Week 16: interruption handling and turn-taking — deliberately interrupt your agent mid-sentence and make barge-in work properly. This is the hard part; give it a full week.
- Week 17: add a tool call mid-conversation and measure your end-to-end latency (instrument each pipeline stage — know where your milliseconds go).
Week 18 — Voice evals
- Voice needs its own eval approach — chat evals (Phase 3) don't transfer. Track ASR word-error-rate, barge-in success rate, and end-to-end latency percentiles (p50/p95) on real recorded calls, not just "does it sound okay to me." Record 10+ test calls and build a small scoring script.
- Skim LiveKit Agents (docs.livekit.io/agents) — worth knowing about if you later need video too, or heavier self-hosted infra control. Reading, not building.
Weeks 19–20 — Project
Project: A voice agent that holds a real call (web or phone), calls at least one tool mid-conversation (e.g. "check my calendar"), and handles being interrupted without falling apart.
✅ Exit criteria for Phase 4
- Your agent survives 5 consecutive deliberate interruptions in one call without desyncing or talking over the user.
- Measured p50 round-trip latency under ~1s on your test calls, and you know which pipeline stage dominates it.
- A tool call happens mid-conversation and the agent verbally fills the gap (no dead air) while waiting for the result.
Phase 5 — Production, portfolio, specialization (Weeks 21–24)
Week 21 — Observability & deployment
- OpenTelemetry tracing on your agent calls (opentelemetry.io/docs/languages/go) — trace spans per turn, per tool call, per retrieval. Containerized deployment for your Go services, and cost tracking rolled up from the per-turn logging you've kept since Phase 1.
Week 22 — Harden the guardrails
- Harden the guardrails and prompt-injection defenses you sketched in Phase 3, now that your agents are exposed to real, messy input rather than your own test cases — tighten input sanitization, add adversarial test cases to your eval harness (promptfoo has a red-teaming mode built for exactly this), and stress-test the human-approval step for destructive actions.
Weeks 23–24 — Capstone
- Pick one capstone that serves all your goals at once — a niche voice+chat support agent, or a Go-based coding assistant (playing to Go's strengths) — deploy it, and write it up publicly. Open-sourcing an MCP server or Eino component is a legitimate, visible contribution that does double duty for a career pivot.
✅ Exit criteria for Phase 5
- Capstone is deployed and reachable by someone who isn't you.
- You can pull up a trace for any conversation and see every LLM call, tool call, and its cost.
- Public write-up published (blog post or detailed README) — the artifact that makes this whole plan legible to other people.
Ongoing after that
This space reorganizes itself monthly — Pipecat only hit v1.0 in April 2026, and new Go-native frameworks are still appearing. Budget an hour every couple of weeks just to skim what's changed rather than treating any of this as "done."
A rough gut-check on pacing: at a few hours/week, 24 weeks gets you to "can confidently ship both agent types and reason about tradeoffs" — genuine expertise after that is more about reps and staying current than a fixed finish line.