Sandbox
Start from a known design
Each template opens in the sandbox. Trace a request, inject failures, read the review — then change it and watch the numbers move. Two are deliberately flawed so you can fix them.
Naive RAG chatbot
Embed the question, take the top 5 chunks, paste them into a big model. Where everyone starts.
- One retriever, no reranking, no budget
- Fixed-size chunks imported once
- No guardrails, evals or tracing — the linter will tell you
Production RAG assistant
Hybrid search with ACL pre-filters, reranking, a budgeted assembler, guardrails, a per-tenant semantic cache, fallbacks, and incremental ingestion.
- Hybrid + rerank + rewrite: measured on the bundled corpus
- Gateway with two providers, retries and timeouts
- Incremental ingestion through a queue and worker
Enterprise search (permissioned)
Connectors sync content and ACLs; every query is pre-filtered by the employee’s groups.
- ACL pre-filter on both retrievers
- Content + permission sync, incremental
- Citations through the assembler
Support agent with refunds
An agent with read tools, a capped refund tool behind a permission layer with approvals, and a handoff to people.
- Permission layer with validation, allow-list and approval for irreversible actions
- Budgets and max steps on the agent
- Idempotent refunds with timeouts
Document extraction pipeline
A durable workflow: parse → extract to schema → validate → human review for low confidence → system of record.
- Durable workflow with checkpoints
- Validation as an output guard
- Idempotent writes to the system of record
Voice agent
STT → small fast model with one tool → TTS. Plain turns fit the ~1 s budget; tool turns need a filler line.
- Small model with a cached prefix
- Two-step agent cap
- Transfer to staff as a tool
Coding assistant
A large-model agent with code search and a sandbox for running tests, checkpoints and compaction for long runs.
- Sandbox with no network
- Compaction for long runs
- Evals on tasks with hidden tests
Text-to-SQL agent
Schema retrieval, validated read-only SQL through a permission layer, result explained.
- Read-only role and validation
- Schema/semantic layer as retrieval
- Evals on question → result pairs
Deep research
Queued jobs; an orchestrator plans, three worker agents search in parallel through an egress allow-list, then it synthesises.
- Async: the user gets a job, not a spinner
- Parallel workers on a small model
- Allow-listed web access
Ticket triage router
A small-model router sends easy tickets down a cheap path and escalates the rest.
- Routing cuts cost on the easy majority
- Escalation to humans
- Idempotent ticket updates
Email assistant (unsafe on purpose)
Reads your inbox, sees your CRM, can send email — with nothing in between. Run the injection failure.
- Untrusted input + private data + outbound channel
- No permission layer, budgets or tracing
- Fix it with the linter’s moves