Skip to content
项目

关于

AI development assistant CLI for Symfony projects

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Symfony AI - Mate Component

The Mate component provides a command-line assistant (vendor/bin/mate) that exposes project-aware development tools to coding agents (Claude Code, Codex, Cursor, …) and developers. Agents run the mate commands directly, so tool schemas are read on demand via --help/tools:inspect instead of being loaded up front. This is a development tool, not intended for production use.

Install it in your project with:

composer require --dev symfony/ai-mate
vendor/bin/mate init
composer dump-autoload

Point your coding agent at the CLI (see the generated mate/AGENT_INSTRUCTIONS.md):

vendor/bin/mate tools:list                          # list available tools
vendor/bin/mate tools:inspect symfony-profiler-list # show a tool's parameters/schema
vendor/bin/mate tools:call symfony-profiler-list --limit=1
vendor/bin/mate resources:list                      # list resources and resource templates
vendor/bin/mate resources:inspect symfony-profile-data # show a resource's URI parameters
vendor/bin/mate resources:read symfony-profiler://profile/<token>

Add --format=json to the tools:*, resources:*, debug:*, skills:install, skills:list and skills:validate commands for machine-readable output.

The package ships with the symfony/ai-mate-composer-plugin, which automatically refreshes Mate extension discovery after composer install and composer update once the project has been initialized.

Backward Compatibility

Mate is a development tool, so its backward compatibility promise is narrower than the one of the other components. Covered are the CLI interface (commands, arguments, options), the definition of tools and resources (name, parameters, input schema), the user-facing customization (mate/config.php, mate/extensions.php, extra.ai-mate) and the extension points (#[MateTool], #[MateResource], #[MateResourceTemplate]). Not covered are the content of tool responses, agent instructions, skills and everything marked @internal. See the documentation.

Installation

composer require --dev symfony/ai-mate

This repository is a READ-ONLY sub-tree split. See https://github.com/symfony/ai to create issues or submit pull requests.

Resources

探索相关项目

加载中…