agentic-architecture

v2026.09.24

Architecture of LLM agent systems: orchestration topologies (single agent, supervisor/sub-agents, pipelines, networks), memory/context strategy, the tool layer, and human-in-the-loop/control. Architect-level system design, not prompt wording. USE WHEN: designing agentic/LLM-agent systems, "agent orchestration", "multi-agent", "supervisor", "sub-agents", "tool use", "agent memory", "human-in-the-loop", workflow vs autonomous agent, agent topology/control. DO NOT USE FOR: single prompt/RAG retrieval design (use rag skills); model serving (use `inference-serving-topology`); provider routing (use `model-gateway-routing`).

GitHub
安装命令
npx skhub add claude-dev-suite/agentic-architecture
Markdown
SKILL.md

Agentic System Architecture

First choice: workflow vs autonomous agent

  • Workflow (fixed, code-orchestrated steps with LLM calls): predictable, cheap, debuggable. Prefer this when the steps are known.
  • Autonomous agent (LLM decides the next action in a loop): flexible, handles open-ended tasks, but less predictable and costlier. Use only when the path genuinely can't be pre-defined.

Orchestration topologies

TopologyShapeFits
Single agent + toolsOne loop, a toolboxMost tasks; start here
Supervisor / sub-agentsOrchestrator delegates to specialists (own context)Decomposable tasks, context isolation
Pipeline / chainStaged hand-offsKnown multi-stage transforms
Network / peer agentsAgents message each otherRarely needed; high complexity/cost

Bias to the simplest topology that works; isolate context with sub-agents when a subtask would flood the main context.

Cross-cutting design concerns

  • Memory/context: short-term (conversation), long-term (vector/store), and scratch. Compaction/summarization to fit the window; what persists across runs?
  • Tool layer: typed tools with clear contracts; least-privilege; validate tool I/O; tools are the agent's blast radius — scope them.
  • Control & safety: human-in-the-loop approval for irreversible/outward actions; step/turn budgets; loop/termination conditions; guardrails.
  • Determinism & cost: cap iterations, cache, and prefer workflows for the deterministic parts. Observability: trace each step (tool calls, tokens, cost).
  • Failure handling: retries, fallbacks, and a defined "give up / escalate" path; don't let agents loop forever.

When to recommend what

  • Known steps → workflow. Open-ended + decomposable → supervisor + sub-agents.
  • One coherent task → single agent + tools. Reach for multi-agent networks only when simpler shapes demonstrably fail.
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/ai-systems/agentic-architecture

默认分支

main

最新提交

9496306

Tree SHA

fe4e2f1