Download the PHP package cagri/nexus without Composer
On this page you can find all versions of the php package cagri/nexus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor cagri
Package nexus
Short Description High-performance, provider-agnostic LLM agent framework for PHP. Supports OpenAI, Anthropic, Ollama, and any OpenAI-compatible API.
License MIT
Package nexus
Short Description High-performance, provider-agnostic LLM agent framework for PHP. Supports OpenAI, Anthropic, Ollama, and any OpenAI-compatible API.
License MIT
Please rate this library. Is it a good library?
Informations about the package nexus
Nexus
Provider-agnostic LLM agent framework for PHP. Works with OpenAI, Anthropic, Ollama, Groq, DeepSeek, Mistral AI, LM Studio, and any OpenAI-compatible API. All providers support tool calling and streaming.
Requirements
PHP 8.1+, ext-curl, ext-json
Installation
Quick Start
Switching providers:
Features
Streaming
Agents with Tools
Implement ToolInterface (see examples/03-agent-with-tools.php for a full example):
Attribute-Based Tools
Structured Output
Map LLM responses to typed PHP objects:
Prompt Templates
Middleware
Memory
Providers
- OpenAI -- GPT-4o, o1, etc.
- Anthropic -- Claude 4, Sonnet, Haiku
- Ollama -- Llama, Mistral, Gemma (local)
- Groq -- Llama, Mixtral
- DeepSeek
- Mistral AI
- LM Studio (local)
- Any OpenAI-compatible API
Architecture
Built with
Built with the assistance of Claude Code.
License
MIT
All versions of nexus with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package cagri/nexus contains the following files
Loading the files please wait ...