feat: multi-agent routing and multi-tool call support - #65
Merged
Conversation
… arrays and dicts
…d documentation for multi-agent support
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_idremoved —call_refis now the sole intercept resolution mechanism.call_refrequired — claims without acall_ref(orsourcerykit_refinclaimed_value) now raise.Features
call_refcolumn onintercepts+sourcerykit_refonClaimedValueenable correct mapping when the same tool is called multiple times.build_handoff_payloadsplitsclaimed_valueentries bysourcerykit_refautomatically. No manual grouping orcall_refmapping needed.Bug fixes
evaluate_claimvalue comparison with JSON parsing for arrays and dicts.Refactoring
sourcerykit_ref.Documentation