Download the PHP package survos/ai-chat-bundle without Composer
On this page you can find all versions of the php package survos/ai-chat-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download survos/ai-chat-bundle
More information about survos/ai-chat-bundle
Files in survos/ai-chat-bundle
Package ai-chat-bundle
Short Description Expose Symfony AI agents over an OpenAI-compatible /v1/chat/completions endpoint so chat platforms (e.g. Mattermost Agents) can @-mention them. The bundle owns transport/auth/routing; each app supplies a thin ChatAgentResolver. Ships an mm:post demo command over the Symfony Mattermost notifier. MCP tools planned for v2.
License MIT
Informations about the package ai-chat-bundle
survos/ai-chat-bundle
Expose a Survos app's Symfony AI agents to chat platforms over an
OpenAI-compatible endpoint, so a chat client (first: Mattermost via its Agents
plugin) can @-mention them — no bot client, no chat UI to build. See PLAN.md.
The bundle owns the communications (OpenAI transport, auth, persona routing);
each app supplies one thin ChatAgentResolverInterface. Comms first — this release
ships the Mattermost wiring and an mm:post proof; the completions endpoint + agent
wiring come next.
Install
Extends Survos\Kit\AbstractSurvosBundle; the mm:post command auto-registers.
Demo — prove the chat plumbing (mm:post)
The demo lives in demo/ — a tiny console app that posts to a Mattermost
instance through the Symfony Mattermost notifier.
- Have a Mattermost over https. The notifier hardcodes
https://, so it can't reach a plain-http local docker. Use the deployed server:https://chat.survos.com(thesurvos-sites/mattermostrepo on Dokku). - In Mattermost: create a bot (or personal access token) and grab the target channel id (the 26-char id in the channel URL, or via the API).
-
Configure the demo:
- Post:
A cooler demo (later): a TUI that posts and listens, instead of a one-shot post.
Roadmap
- v1 (next):
POST /v1/chat/completionscontroller +ChatAgentResolverInterface(non-streaming;symfony/ai^0.10). - v2: MCP tools — watch
symfony/ai#2237(#[AsMcpApp]/#[AsMcpAppTool]); relates tosurvos/mcp-bundle.
See PLAN.md for the full design and decisions.
All versions of ai-chat-bundle with dependencies
survos/kit-bundle Version ^2.5
symfony/framework-bundle Version ^8.1
symfony/console Version ^8.1
symfony/http-client Version ^8.1
symfony/notifier Version ^8.1
symfony/mattermost-notifier Version ^8.0
symfony/ai-agent Version ^0.14
symfony/ai-chat Version ^0.14