Search by

symfony / ai-mate

fabpot

AI development assistant CLI for Symfony projects

Package info

github.com/symfony/ai-mate

pkg:composer/symfony/ai-mate

Statistics

Installs: 688 054

Dependents: 24

Suggesters: 2

Stars: 42

v1.0.0-BETA1 2026-10-26 14:03 UTC

This package is auto-updated.

Last update: 2026-10-27 20:15:57 UTC


README

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:read symfony-profiler://profile/<token>

Add --format=json to the tools:*, resources:read, 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