agent-contracts-app-builder
Build a production-minded AI agent using agent-contracts (contracts, slices, validation, graph, runtime, CLI tooling).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build a production-minded AI agent using agent-contracts (contracts, slices, validation, graph, runtime, CLI tooling).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Build an API-oriented agent using AgentRuntime/StreamingRuntime with predictable request/response slices and session support.
Make contract-driven agents safe to change with strict validation, architecture docs, and contract diffs in CI.
Build question/answer style agents using InteractiveNode, explicit routing, and workflow slices.
Tune routing with TriggerCondition priorities, LLM hints, context_builder, and traceable decisions.
Implement tool-using or retrieval-style nodes with services, dependency injection, and safe LLM context building.
基于 SOC 职业分类
| name | agent-contracts-app-builder |
| description | Build a production-minded AI agent using agent-contracts (contracts, slices, validation, graph, runtime, CLI tooling). |
| metadata | {"short-description":"Build agents with agent-contracts"} |
Use this skill when you are implementing an AI agent using agent-contracts (not modifying the library itself).
ContractValidator(strict=True) + agent-contracts validate --strict)agent-contracts visualize) and contract change review (agent-contracts diff)examples/05_backend_runtime.py as the default backend-shaped reference.request, response, _internal as the core.ticket, orders, workflow) and register them via NodeRegistry.add_valid_slice(...).NodeContract(name, description, reads, writes, supervisor, trigger_conditions, requires_llm, services, is_terminal).writes=["request"] out of your design (discouraged).NodeRegistry.build_graph_from_registry(...), set entry point, compile.AgentRuntime (or StreamingRuntime when you need SSE-style progress events).ContractValidator(strict=True) in tests/CI.agent-contracts diff to review breaking contract changes across versions.agent-contracts visualize.pytestpytest --cov=agent_contracts --cov-report=term-missingagent-contracts validate --strict --module <your.nodes.module>agent-contracts visualize --module <your.nodes.module> --output ARCHITECTURE.mdRequestContext + AgentRuntime for API handlers.response.response_type as your API “type”, and keep payload in response.response_data.workflow) + _internal flags to drive steps (see examples/04_multi_step_workflow.py).InteractiveNode for ask/process/check loops (see docs/core_concepts.md).docs/getting_started.mddocs/core_concepts.mddocs/best_practices.mddocs/cli.mdexamples/