Skip to content

feat: multi-agent routing and multi-tool call support - #65

Merged
SimoneBottoni merged 29 commits into
mainfrom
feat/multi-tool-calls
Jul 8, 2026
Merged

feat: multi-agent routing and multi-tool call support#65
SimoneBottoni merged 29 commits into
mainfrom
feat/multi-tool-calls

Conversation

@SimoneBottoni

Copy link
Copy Markdown
Contributor

This PR introduces support for multi-agent workflows and multi-tool execution by standardizing on call_ref and sourcerykit_ref for intercept resolution, automating handoff payloads, and adding mock testing utilities.

Breaking changes

  • take_last_intercept_row_id removedcall_ref is now the sole intercept resolution mechanism.
  • call_ref required — claims without a call_ref (or sourcerykit_ref in claimed_value) now raise.

Features

  • Multi-tool-call supportcall_ref column on intercepts + sourcerykit_ref on ClaimedValue enable correct mapping when the same tool is called multiple times.
  • Auto-groupingbuild_handoff_payload splits claimed_value entries by sourcerykit_ref automatically. No manual grouping or call_ref mapping needed.
  • Mock HTTP server — lightweight test utility for local endpoint testing.

Bug fixes

  • Improved evaluate_claim value comparison with JSON parsing for arrays and dicts.

Refactoring

  • Implemented locking mechanism for concurrent preprocessing.
  • Updated claim evaluation and error handling for sourcerykit_ref.

Documentation

  • Added multi-agent cookbook examples (LangGraph, CrewAI, OpenAI).

@SimoneBottoni
SimoneBottoni merged commit 5933e67 into main Jul 8, 2026
3 checks passed
aural-psynapse added a commit that referenced this pull request Jul 8, 2026
…rykit_ref (#68)

## Changes
- **AGENTS.md** — list the multi-agent / multi-tool cookbooks that
shipped in #65 but were never added to the agent landing page. Split the
Cookbooks section into **Single-agent** (existing 3) and **Multi-agent /
multi-tool** (`openai_agents_multi_agent`, `crewai_multi_agent`,
`langgraph_multi_agent`, `claude_agent_multi_tool`).
- Reframed the section intro around `sourcerykit_ref` (each claim maps
to its recorded call, so the same tool can be called repeatedly and
agents can split stages).
- Fixed the outdated contract line: the join key is now
`sourcerykit_ref`, not `action_name`.

## Why
#65 added the multi-agent examples under `cookbooks/` but AGENTS.md
still listed only the three single-agent examples and stated the old
`action_name`-is-the-join-key rule. Main was left self-inconsistent —
the example files exist but the landing page neither lists them nor
describes the contract they rely on. This aligns AGENTS.md with what
actually shipped.
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