Loading...
Loading...
Creates and orchestrates multi-agent pipelines on the iii engine. Use when building AI agent collaboration, agent orchestration, research/review/synthesis chains, or any system where specialized agents hand off work through queues and shared state.
npx skill4agent add iii-hq/skills iii-agentic-backendHTTP 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)| Primitive | Purpose |
|---|---|
| Initialize the worker and connect to iii |
| Define each agent |
| Shared context between agents |
| Async handoff between agents via named queue |
| Explicit condition check before enqueuing |
| Broadcast completion to any listeners |
| Entry point |
registerWorker(url, { workerName })trigger({ function_id, payload, action: TriggerAction.Enqueue({ queue }) })trigger({ function_id: 'state::set/get/update', payload: { scope, key } })await iii.trigger({ function_id: 'condition-fn', payload })trigger({ function_id: 'publish', payload: { topic, data }, action: TriggerAction.Void() })registerFunctionagents::const logger = new Logger()TriggerAction.Enqueue({ queue })iii-config.yamlqueue_configsresearch-taskssupport-ticketsfunctionIdagents::researcheragents::criticqueue_configsregisterFunction{ path, id }iii-http-invoked-functionsiii-agentic-backendiii-agentic-backend