Adoption means one production agent becomes observable, measurable, and safely improvable through shared packages.
Select capabilities by product need and prove each on the real path.
-
Read current truth. Inspect the real entrypoint, lockfile, installed package READMEs, types, and exports before designing changes.
Never copy versions or API names from this skill.
Reconcile existing wiring before creating anything.
-
Compose one profile. One function returns the complete AgentProfile: prompt, resources, skills, tools, MCP, hooks, subagents, model, permissions, budgets, and identity.
Production, evaluation, optimization, and materialization consume that function.
A profile is a recipe that materializes into a sandbox, not a prompt template: skills, knowledge, and any large or static content are resources.files mounts that materialization writes as real files, and prompt.systemPrompt carries only what the agent must obey without a tool call plus a short index of the mounted resources.
See build-with-agent-runtime for the full materialization contract before adding anything to a system prompt.
-
Use one execution path. Instrument and evaluate the exact production call.
Do not add a direct-router shortcut, fake worker, eval-only profile, or legacy implementation.
Backend errors, zero model usage, and missing expected tool events fail loudly.
-
Preserve complete evidence. Normalize provider data only at the adapter boundary.
Keep unknown fields, provenance, tenant, project, repo, run, profile, calls, results, outcomes, feedback, tokens, cost, and latency.
Redact secrets before export and flush durable writes.
-
Respect package ownership. agent-interface owns contracts; profile materialization owns workspace files; runtime owns execution, delegation, and candidate activation; eval owns cases, judges, search, comparisons, and uncertainty; knowledge owns research, retrieval, memory, citations, and knowledge candidates.
The product owns domain cases, credentials, policy, approvals, storage transactions, and UI.
Move generally reusable missing behavior upstream.
-
Produce candidates, never silent mutations. Improvement may propose exact diffs for prompts, skills, tools, MCP, hooks, subagents, workflow, code, research, retrieval, memory, or knowledge.
Every result remains detached and reviewable until authorized.
-
Prove improvement. Build cases from real user jobs and production failures.
Calibrate scoring with known weak and strong outputs.
Compare baseline and candidate on the same unseen cases, with paired uncertainty, per-dimension regressions, critical failures, cost, and latency.
-
Require authority. Billing, writes, dispatch, promotion, pull requests, and messages require explicit customer approval unless stored tenant policy authorizes them.
Persist approve, reject, edit, and outcome feedback.
-
Close the loop. One customer-like run proves request to profile to execution to trace to analysis to proposal to exact candidate to fresh comparison to decision to promoted delivery or correctly blocked side effect.
File presence and mocked-only tests do not count.
Any omission means partial adoption.