agent-contracts-interactive-flow
Build question/answer style agents using InteractiveNode, explicit routing, and workflow slices.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Build question/answer style agents using InteractiveNode, explicit routing, and workflow slices.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Build a production-minded AI agent using agent-contracts (contracts, slices, validation, graph, runtime, CLI tooling).
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.
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.
| name | agent-contracts-interactive-flow |
| description | Build question/answer style agents using InteractiveNode, explicit routing, and workflow slices. |
| metadata | {"short-description":"Interactive Q/A flows"} |
Use this skill when your agent needs multi-turn interaction (ask a question, receive an answer, continue).
InteractiveNode for standard ask/process/check lifecycleworkflow or interview) to store progressexplicit_routing_handler when answers must return to the node that askedworkflow/interview) and define the minimal fields you need.InteractiveNode:
prepare_context() reads domain sliceprocess_answer() updates domain slice from requestcheck_completion() decides when to stopgenerate_question() writes response (e.g., response_type="question")decide_with_trace() when the flow loops or stalls.context_builder summary when necessary.docs/core_concepts.md (InteractiveNode / Explicit routing)docs/skills/official/agent-contracts-interactive-flow/references/patterns.md