Key Fit for TPM:
synapse:doctor CLI handles entity generation, security, and routing, reducing manual configuration.Conversation, Message) allow alignment with existing DB schemas.ChatService) for programmatic use, while Admin/Chat offer UI hooks.Technical Risks:
Key Questions for TPM:
laravel-ai, php-ai) or headless solutions (e.g., LangServe).spatie/laravel-ai or custom integration via HTTP clients.Migration Path:
synapse-core in a Symfony microservice or submodule.synapse-admin for monitoring.synapse-chat via API or embed in a Symfony frontend.| Component | Compatibility Notes |
|---|---|
| Symfony 7/8 | Full support; test for breaking changes in minor versions. |
| Doctrine ORM | Custom entities required; validate with existing DB schema. |
| LLM Providers | OpenAI-compatible; test with target providers (e.g., OVH, Vertex AI). |
| Frontend | Twig/Stimulus for Chat; React/Vue would need API consumption. |
| Queues | Symfony Messenger; Laravel would need separate queue setup. |
| Caching | Symfony Cache component; Laravel would need PSR-16 adapter. |
Sequencing:
synapse-core for agent logic and cost tracking.synapse_core.yaml with provider credentials and fallbacks.Conversation/Message entities for product-specific fields (e.g., user metadata).AgentInterface) and test workflows.synapse:doctor helps diagnose issues, but complex agent logic may need custom logging.Support:
Conversation).Failure Modes:
Message entity queries (e.g., paginate conversations).AgentInterface and tool integration.Pilot Recommendation:
synapse:doctor to automate setup and focus on custom logic.How can I help you explore Laravel packages today?