← 返回
未分类

iii-agentic-backend

Creates and orchestrates multi-agent pipelines on the iii engine. Use when building AI agent collaboration, agent orchestration, research/review/synthesis ch...
在 iii 引擎上创建并编排多智能体流水线。适用于构建 AI 智能体协作、智能体编排、研究/评审/综合等场景。
rohitg00 rohitg00 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 350
下载
💾 0
安装
1
版本
#latest

概述

Agentic Backend

Comparable to: LangGraph, CrewAI, AutoGen, Letta

Key Concepts

Use the concepts below when they fit the task. Not every agentic workflow needs all of them.

  • Each agent is a registered function with a single responsibility
  • Agents communicate via named queues (ordered handoffs) and shared state (accumulated context)
  • Approval gates are explicit checks in the producing agent before enqueuing the next step
  • An HTTP trigger provides the entry point; agents chain from there
  • Pubsub broadcasts completion events for downstream listeners

Architecture

HTTP request
  → Enqueue(agent-tasks) → Agent 1 (researcher) → writes state
    → Enqueue(agent-tasks) → Agent 2 (critic) → reads/updates state
      → explicit approval check (is-approved?)
        → Enqueue(agent-tasks) → Agent 3 (synthesizer) → final state update
          → publish(research.complete)

iii Primitives Used

PrimitivePurpose
------------------------------------------------------------------------------------------------------------------------
registerWorkerInitialize the worker and connect to iii
registerFunctionDefine each agent
trigger state::set, state::get, state::updateShared context between agents
trigger({ ..., action: TriggerAction.Enqueue({ queue }) })Async handoff between agents via named queue
trigger({ function_id, payload })Explicit condition check before enqueuing
trigger({ function_id: 'publish', payload, action: TriggerAction.Void() })Broadcast completion to any listeners
registerTrigger({ type: 'http' })Entry point

Reference Implementation

See ../references/agentic-backend.js for the full working example — a multi-agent research pipeline

where a researcher gathers findings, a critic reviews them, and a synthesizer produces a final report.

Common Patterns

Code using this pattern commonly includes, when relevant:

  • registerWorker(url, { workerName }) — worker initialization
  • trigger({ function_id, payload, action: TriggerAction.Enqueue({ queue }) }) — async handoff between agents
  • trigger state::set, state::get, state::update — shared context between agents
  • Explicit condition check via await iii.trigger({ function_id: 'condition-fn', payload }) before enqueuing next agent
  • trigger({ function_id: 'publish', payload: { topic, data }, action: TriggerAction.Void() }) — completion broadcast
  • Each agent as its own registerFunction with agents:: prefix IDs
  • const logger = new Logger() — structured logging per agent

Adapting This Pattern

Use the adaptations below when they apply to the task.

  • Replace simulated logic in each agent with real work (API calls, LLM inference, etc.)
  • Add more agents by registering functions and enqueuing to them with TriggerAction.Enqueue({ queue })
  • For approval gates, call a condition function explicitly before enqueuing the next agent
  • Define queue configs (retries, concurrency) in iii-config.yaml under queue_configs
  • State scope should be named for your domain (e.g. research-tasks, support-tickets)
  • functionId segments should reflect your agent hierarchy (e.g. agents::researcher, agents::critic)

Engine Configuration

Named queues for agent handoffs are declared in iii-config.yaml under queue_configs. See ../references/iii-config.yaml for the full annotated config reference.

Pattern Boundaries

  • If a request is about adapting existing HTTP endpoints into registerFunction (including prompts asking for { path, id } endpoint maps + loops), prefer iii-http-invoked-functions.
  • Stay with iii-agentic-backend when the primary problem is multi-agent orchestration, queue handoffs, approval gates, and shared context.

When to Use

  • Use this skill when the task is primarily about iii-agentic-backend in the iii engine.
  • Triggers when the request directly asks for this pattern or an equivalent implementation.

Boundaries

  • Never use this skill as a generic fallback for unrelated tasks.
  • You must not apply this skill when a more specific iii skill is a better fit.
  • Always verify environment and safety constraints before applying examples from this skill.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 18:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 873 📥 350,176
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,526 📥 581,980
it-ops-security

Kubernetes Skills

rohitg00
针对 Kubernetes 仪表板和 Web UI 的浏览器自动化。适用于与 Kubernetes Dashboard、Grafana、ArgoCD UI 或其他 Web 界面交互。需要设置 MCP_BROWSER_ENABLED=true
★ 1 📥 3,226