Reference — examples by number

This page is the completeness surface — every shipped example listed by number, with a one-line summary. It exists so a reader who knows the file number can find it. It is not the primary discovery surface; for that, go to Lighthouse or Foundation.

There are 47 shipped examples. The first 32 are entry-level demonstrations of single SDK capabilities. The last 15 are lighthouse-grade walkthroughs with sibling READMEs. The example catalogue and positioning doc is the canonical contract.


Tier 1 — Quickstart

#ExampleTier
01hello_agentpip install && python → working agent1 (Quickstart)

Tier 2 — Foundation

#ExampleCapability
02tool_agentTool calling
03multi_modelAnthropic ↔ OpenAI swap
04memory_agentMemory basics
05workflowMulti-step workflows
06guardrailsSafety filters
07mcp_toolsMCP integration
08directivesDirective library
13model_routingRouting rules
18local_llm_routingOllama / LM Studio
27app_factoryApp-factory pattern

Tier 3 — Integrations

#ExampleTool
09proxy_claude_codeClaude Code CLI
10proxy_cursorCursor IDE
11proxy_codexOpenAI Codex
14register_agentRegistry — publish
15discover_agentsRegistry — consume
23harness_proxyHarness proxy primitives
24harness_agentHarness agent integration

Tier 4 — Production patterns

#ExampleProblem solved
12budget_enforcementPer-user/team/project budget caps
16agent_governanceApproval flows + audit
19domain_modelDomain-modelled agent state
20fleet_workersDistributed worker registration
21full_stackEnd-to-end SDK + workflow + fleet
22memory_holds_across_llmsMemory portability across LLMs
25training_data_pipelineCurator-style data capture
26fleet_scoped_dispatchCapability-based dispatch
28autopilot_quickstartAutopilot without an LLM key
29memory_strategiesStrategy-based memory extraction
31grounded_multi_modelMulti-LLM grounded retrieval
32global_shared_memoryCross-agent shared knowledge
35autopilot_hosted_serviceAutopilot via hosted blueprint service

Tier 5 — Lighthouse

#ExampleReal-world problemLighthouse page
30oncall_agentThe v1.0 lighthouse — incident response(cross-cutting)
33fleet_sealed_integrationMulti-tenant production with isolated tenantsProduction multitenancy
34observatory_cost_trackingShow my CFO where the AI money goesObservability and cost
36autopilot_training_loopCapture → fine-tune triggerTrain your own model
37semantic_checkpoint_recallWeak LLMs feel like Opus on long contextMemory and retrieval
38unsloth_finetuneReal LoRA fine-tune, dual-backendTrain your own model
38amlx_lm_server_deployApple Silicon deploy via mlx_lm.serverInference deployment
39sandbox_scoped_credentialsSandbox + scoped credentialsProduction multitenancy
40fleet_under_load20+ workers, Iron Man HUD live stateObservability and cost
41graph_memory_incident_dependencyGraph beats vector for multi-hopMemory and retrieval
42support_triage_agentDrop-in customer-support triageModeration and classification
43observatory_liveReal telemetry → live dashboardsObservability and cost
44colab_free_cudaFree Tesla T4 via Drive-syncInference deployment
45vastai_marketplace_bidBid-cheapest with reliability scoringInference deployment
46custom_inference_as_toolBring-your-own endpointInference deployment
47runpod_finetune_orchestrationRunPod reliable rentalInference deployment
48modal_serverless_inferencePer-second serverlessInference deployment
49community_moderationThree classifiers + LLM judgeModeration and classification

Notes

  • Example 17 — unsloth_finetune (legacy stub): superseded by Example 38 (real fine-tune). Marked deprecated in its docstring; left in place for backward compatibility.
  • No example numbered 02-08 in the _factory, _perf_*, _soaks, or notebooks subdirectories — those are dev tools, not user-facing examples.
  • Numbering gaps and sibling-suffixes (e.g. 38a) follow the example-build-conventions — when two PRs collide on a number, the later one gets a lowercase-letter sibling suffix to preserve numeric reservations.
  • Lighthouse — the production-grade examples organised by intent.
  • Foundation — the SDK basics organised by capability.
  • Patterns — Tier 4 reference examples organised by pillar.
  • Integrations — Tier 3 examples organised by tool.