Christopher Hertel 89aa84bbe0 bug #1748 [AI Bundle][Profiler] Fix all tools listing duplicates for each agent (DZunke)
This PR was squashed before being merged into the main branch.

Discussion
----------

[AI Bundle][Profiler] Fix all tools listing duplicates for each agent

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Docs?         | no
| Issues        |
| License       | MIT

If one is registering multiple agents the tools listing in the profiler is getting full of duplicates. So, for example, there is a `search_entries` tool and a `entry_detail` tool but you have two different agents and both get all tools, then the "Tools" section in the profiler which should just be a list of all tools available shows each of these tools in double.

I first deduplicated by taking the execution class and method as a unique selling point but had to take also the name into account as, with the names, it is also possible to have multiple tools with the same execution reference but just different names. That popped up as i thought about the subagent tool.

So hopefully `__name__::__class__::__method__` is unique enough for deduplication in the profiler all tools listing in any case.

Commits
-------

75077c5d [AI Bundle][Profiler] Fix all tools listing duplicates for each agent
2026-03-23 00:07:18 +01:00
2025-11-21 10:58:54 +01:00
2025-05-26 18:10:22 +02:00
2026-01-23 13:49:59 +01:00
2025-05-29 15:40:43 +02:00
2026-03-16 00:07:49 +01:00
2025-05-29 12:54:29 +02:00
2025-11-22 22:11:37 +01:00
2025-11-19 22:42:03 +01:00
2026-03-16 00:07:49 +01:00

Symfony AI Logo

Symfony AI is a set of components that integrate AI capabilities into PHP applications.

Components & Bundles

Symfony AI consists of several lower and higher level components and the respective integration bundles:

  • Components
    • Agent: Framework for building AI agents that can interact with users and perform tasks.
    • Chat: A unified interface to send messages to agents and store long-term context.
    • Mate: MCP development server enabling AI assistants to interact with PHP applications through standardized tools.
    • Platform: A unified interface to various AI platforms like OpenAI, Anthropic, Azure, Gemini, VertexAI, and more.
    • Store: Data storage abstraction with indexing and retrieval for AI applications.
  • Bundles
    • AI Bundle: Symfony integration for AI Platform, Store and Agent components.
    • MCP Bundle: Symfony integration for official MCP SDK, allowing them to act as MCP servers or clients.

Examples & Demo

To get started with Symfony AI, you can either check out the examples to see how to use the components in smaller snippets, or you can run the demo application to see the components work together in a full Symfony web application.

Resources

Sponsor

Help Symfony by sponsoring its development!

Contributing

Thank you for considering contributing to Symfony AI! You can find the contribution guide here.

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:26:56.179Z
Readme MIT 21 MiB
Languages
PHP 97.4%
Twig 1.9%
CSS 0.4%
JavaScript 0.3%