Download the PHP package anwar/agent-orchestrator without Composer
On this page you can find all versions of the php package anwar/agent-orchestrator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download anwar/agent-orchestrator
More information about anwar/agent-orchestrator
Files in anwar/agent-orchestrator
Package agent-orchestrator
Short Description Core Brain to receive webhooks from n8n and orchestrate OpenAI Tool calling.
License MIT
Informations about the package agent-orchestrator
AI Agent Orchestrator for Laravel
A powerful AI-driven core for Laravel applications that orchestrates OpenAI tool calling, local vector embeddings via Ollama, and semantic search via Qdrant. Specifically designed to handle complex "Neighbor Chef" personas with HTML-rich responses and direct cart integration.
🎨 Features
- 🚀 Hybrid Semantic Search: Integrated with Qdrant for high-performance vector search.
- 🧠 Local Embeddings: Support for local Ollama (
nomic-embed-text) to save costs and ensure privacy. - 🛠️ OpenAI Tool Calling: Seamlessly handle tool calls for order tracking, recipe consultation, and cart management.
- 🍱 Branded HTML Responses: Enforces strict HTML formatting (no Markdown) for premium UI rendering.
- 🛒 Cart Integration: Automatic generation of
[Add to Cart]links and batch ingredient buttons. - 🔌 Webhook Ready: Built-in endpoint for n8n or other automation platform orchestration.
📦 Installation
You can install the package via composer:
The service provider will automatically register itself.
Publish Configuration
⚙️ Configuration
Add the following variables to your .env file:
🚀 Usage
1. Synchronize Data to Qdrant
To populate the vector database with your products and recipes:
2. Using the Service
You can resolve and use the AiAgentService anywhere in your application:
3. Webhook Integration
The package provides a standard webhook endpoint:
Endpoint: POST /api/v1/agent/webhook
Payload Example:
👨🍳 Persona: Gunma Neighbor Chef
The agent is pre-configured to behave as a Friendly, Bengali-Japanese neighbor.
- Tone: Uses phrases like "Itadakimasu Bhai", "Ja-matod", and "Salam!".
- Formatting: Strictly uses
<b>,<ul>,<li>, and<br>. - E-commerce: Integrates product images and cart buttons directly into the chat flow.
🏗️ Dependencies
- OpenAI PHP SDK
- Qdrant
- Ollama (Optional for local embeddings)
🔗 Repository
https://github.com/ringkubd/agent-orchestrator
📄 License
The MIT License (MIT). Please see License File for more information.
Developed with ❤️ for Gunma Halal Food.
All versions of agent-orchestrator with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
openai-php/laravel Version ^0.8.0
meilisearch/meilisearch-php Version *