Skip to content

feat(core): add model-callable agent orchestration - #503

Merged
mohitranka merged 4 commits into
mainfrom
feat/issue-217-agent-tools
Sep 4, 2026
Merged

mohitranka merged 4 commits into
mainfrom
feat/issue-217-agent-tools

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • add model-callable spawn_agent, send_message, followup_task, wait_agent, list_agents, and interrupt_agent tools
  • run children in isolated Git worktrees with shared model/governance and configurable limits
  • retain child actors, statuses, summaries, worktree metadata, and restart recovery
  • add durable replay metadata, activity events, regression tests, and README configuration guidance

Validation

  • cargo fmt --all -- --check
  • cargo check --workspace --locked
  • cargo test --package forge-core --lib --locked
  • cargo test --package forge-tools --lib --locked
  • cargo test --package forge-durable --lib --locked
  • cargo test --package forge-config --lib --locked
  • clippy skipped per sandbox limitation/request

Closes #217

dispatch_agent_tool inlines spawn_subagent and coordinator wait
futures into every tool-dispatch future, overflowing the 2MB
test-thread stack on Linux. Box it at both call sites.
@mohitranka
mohitranka merged commit b3b4789 into main Sep 4, 2026
3 checks passed
mohitranka added a commit that referenced this pull request Sep 11, 2026
feat(core): add model-callable agent orchestration
mohitranka added a commit that referenced this pull request Sep 11, 2026
feat(core): add model-callable agent orchestration
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.

Add multi-agent subagent tools (spawn/wait/interrupt)

1 participant