docs: Add dedicated page for multi agent docs#11279
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
julian-risch
left a comment
There was a problem hiding this comment.
Two small suggestions how to improve. All in all looks quite good to me already! 👍
| ### `ComponentTool` | ||
|
|
||
| `ComponentTool` wraps an agent directly without a wrapper function. | ||
| Choose it when you want **declarative configuration**: the full specialist setup (model, tools, system prompt) lives in one serializable object alongside the coordinator. |
There was a problem hiding this comment.
What do you think about listing a declarative configuration example here too? A YAML file showing a Multi Agent System configured with ComponentTool? I suggest we add it but maybe you already thought about that and have a good reason against it?
I'd argue that it's particularly useful to show a YAML here because the recommended way differs for Python code (@tool decorator) and YAML (ComponentTool) here. Might be good for LLMs that look into our docs too.
…-agent-systems.mdx Co-authored-by: Julian Risch <julian.risch@deepset.ai>
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
Related Issues
Proposed Changes:
Add a dedicated Multi-Agent Systems docs page to better highlight how Haystack supports multi agent architectures and provide some guidance on how to set it up.
How did you test it?
Ran the code blocks locally to make sure they work.
Notes for the reviewer
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:and added!in case the PR includes breaking changes.