Skip to content

docs: document dynamic workflows (budget overload, execute_loop, Workflow facade) + blog#8

Merged
ZhiXiao-Lin merged 2 commits into
mainfrom
docs/dynamic-workflow
Jun 7, 2026
Merged

docs: document dynamic workflows (budget overload, execute_loop, Workflow facade) + blog#8
ZhiXiao-Lin merged 2 commits into
mainfrom
docs/dynamic-workflow

Conversation

@ZhiXiao-Lin
Copy link
Copy Markdown
Contributor

Summary

Documentation for the new dynamic-workflow capabilities in crates/code (companion to AI45Lab/Code#64).

  • docs(code): orchestration reference + examples + tutorial (en + cn) — parallel(specs, budgetTokens?) shared-budget overload, execute_loop/LoopDecision, and the Rust Workflow facade (named resumable phases, WorkflowEvent, budget_snapshot()).
  • docs(blog): "Programmable, Budget-Bounded Multi-Agent Workflows" (en + cn) — a design deep-dive on composing the runtime from existing seams, with the honest soft-cap budget caveat.

Only apps/docs is touched; submodule pointers (crates/code, crates/gateway) are intentionally left unchanged.

Roy Lin added 2 commits June 7, 2026 14:55
…cade

Update the orchestration reference, examples, and tutorial (en + cn) for the new
capabilities:
- parallel(specs, budgetTokens?) — a shared token ledger across a fan-out, with
  the soft-cap caveat and the union/dict return shape.
- execute_loop / LoopDecision — bounded loop-until-done with a mandatory
  max_iterations hard cap.
- the Rust Workflow facade — session.workflow(), named resumable phases,
  WorkflowEvent milestones, and budget_snapshot().
…(en + cn)

A technical deep-dive on how A3S Code composes a Claude-Code-style dynamic
workflow runtime — fan-out, phases, loops, and a shared token budget — from the
existing AgentExecutor, WorkflowCheckpoint, and BudgetGuard seams rather than a
new subsystem. Includes the honest soft-cap budget caveat.
@ZhiXiao-Lin ZhiXiao-Lin merged commit 9b2686c into main Jun 7, 2026
@ZhiXiao-Lin ZhiXiao-Lin deleted the docs/dynamic-workflow branch June 7, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant