Skip to content

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Sep 17, 2025

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

Needs

  • A new repo symfony/ai-tools
  • Packagist configuration
  • A new label Tools
  • A recipe in symfony/recipes

@OskarStark OskarStark self-assigned this Sep 17, 2025
@carsonbot carsonbot changed the title Create new package symfony/ai-toolbox for third-party tools Create new package symfony/ai-toolbox for third-party tools Sep 17, 2025
@OskarStark OskarStark force-pushed the feature/ai-toolbox-package branch from 6da2471 to a368a54 Compare September 17, 2025 14:05
@OskarStark OskarStark force-pushed the feature/ai-toolbox-package branch 2 times, most recently from 36b27c3 to 8fb56c8 Compare September 17, 2025 20:06
Move third-party tools from agent component to new dedicated package:
- Brave Search, Firecrawl, Mapbox, OpenMeteo, SerpApi, Tavily, Wikipedia, YouTube Transcriber
- Create new package structure with composer.json, tests, documentation
- Update namespaces from Symfony\AI\Agent\Toolbox\Tool to Symfony\AI\Toolbox\Tool
- Reorganize test fixtures into tool-specific subdirectories
- Update examples and demo configurations to use new package
- Clean up agent component by removing moved tools and fixtures
@OskarStark OskarStark force-pushed the feature/ai-toolbox-package branch from 84491bb to 993d11b Compare September 18, 2025 06:20
- Update PSR-4 autoloading configuration in composer.json
- Update all PHP source files and test files to use new namespace
- Update documentation titles and examples
- Update example files and demo configuration
- Fix agent documentation to use correct AsTool attribute namespace
@OskarStark OskarStark changed the title Create new package symfony/ai-toolbox for third-party tools Create new package symfony/ai-tools for third-party tools Sep 18, 2025
OskarStark and others added 6 commits September 18, 2025 08:31
Update tool service references from Symfony\AI\Agent\Toolbox\Tool to
Symfony\AI\Tools\Tool for moved third-party tools:
- Wikipedia, OpenMeteo, SerpApi, Tavily, YouTubeTranscriber, Firecrawl, Brave

Keep agent-specific tools (Clock, SimilaritySearch) in original namespace.
Remove references to tools that have been moved to symfony/ai-tools:
- Wikipedia, OpenMeteo, SerpApi, Tavily, YouTubeTranscriber, Firecrawl, Brave, Mapbox

Keep only agent-provided tools:
- Clock, SimilaritySearch

Update example to use SimilaritySearch instead of Wikipedia tool.
- Remove Tool subnamespace from Symfony\AI\Tools\Tool to Symfony\AI\Tools
- Move tool classes from src/Tool/ to src/ directory
- Move test files from tests/Tool/ to tests/ directory
- Flatten fixture directory structure by removing tool subdirectories
- Update all use statements and fixture paths across codebase
- Update examples, documentation, and configuration files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@OskarStark
Copy link
Contributor Author

Lets proceed in #634

@OskarStark OskarStark closed this Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants