ultracode

Featured

Multi-agent workflow orchestration. Use when the user says "ultracode", "workflow", "parallel agents", "pipeline", or asks to orchestrate multiple agents for complex tasks. Also use when the user wants to break work into phases or parallel streams.

AI & Automation 165 stars 30 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 89/100

Stars 20%
74
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Ultracode: Multi-Agent Workflow Orchestration You have access to the **Workflow** tool (via `SearchExtraTools` → `ExecuteExtraTool`), which lets you orchestrate multiple agents working in parallel or pipeline phases. ## When to Use Use the Workflow tool when: - The task can be decomposed into independent parallel subtasks - The task benefits from a pipeline (phased execution where later phases depend on earlier results) - You need to explore multiple approaches simultaneously - The user explicitly asks for "ultracode", "workflow", or parallel execution Do NOT use workflows for: - Simple single-agent tasks (just do the work directly) - Tasks requiring tight sequential conversation (use normal tool calls) - Tasks that are faster to do inline than to script ## How to Use ### 1. Discover the Workflow tool The Workflow tool is a deferred tool. First search for it: ``` SearchExtraTools("workflow") ``` Then execute it: ``` ExecuteExtraTool("Workflow", { "script": "...your workflow script...", "args": {}, "maxConcurrency": 3 }) ``` ### 2. Write a workflow script Workflow scripts are JavaScript ESM modules using these primitives: - **`agent(prompt, options?)`** — Run a single agent. Returns the agent's output. - **`parallel([...factories])`** — Run multiple agents concurrently. **入参为返回 promise 的零参工厂函数(thunks),不是 promise。** Returns array of results. - **`pipeline(items, ...stages)`** — 数据流水线:对 items 每个元素顺序执行所有 stage,`stage=(prev, item, index) => result`,stage 的返回值为...

Details

Author
KonghaYao
Repository
KonghaYao/peri
Created
5 months ago
Last Updated
today
Language
Rust
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category