Download the PHP package hyperf/odin without Composer
On this page you can find all versions of the php package hyperf/odin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package odin
English | 中文
Odin
Odin is a PHP-based LLM application development framework. Its naming is inspired by the chief god Odin from Norse mythology and his two ravens Huginn and Muninn, which represent thought and memory respectively. Every morning at dawn, they fly to the human world and return in the evening to bring back what they have seen and heard to Odin. This project aims to help developers create more intelligent and flexible applications using LLM technology, providing more possibilities for LLM technology implementation through a series of powerful and easy-to-use features.
Core Features
- Multi-Model Support: Supports various large language models including OpenAI, Azure OpenAI, AWS Bedrock, Doubao, ChatGLM, and more
- Unified Interface: Provides consistent API interface, simplifying integration with different LLM providers
- Tool Calling: Supports Function Calling, allowing models to invoke custom tools and functions
- MCP Integration: Based on dtyq/php-mcp to implement Model Context Protocol support, easily integrating external tools and services
- Memory Management: Provides flexible memory management system, supporting conversation context persistence
- Vector Storage: Integrates Qdrant vector database, supporting knowledge retrieval and semantic search
- Agent Development: Built-in Agent framework, supporting intelligent agent development
- High Performance: Optimized implementation, supporting streaming responses and efficient processing
System Requirements
- PHP >= 8.0
- PHP Extensions: bcmath, curl, mbstring
- Composer >= 2.0
- Hyperf Framework (2.2.x, 3.0.x or 3.1.x)
Installation
Quick Start
-
After installation, publish the configuration files:
-
Configure your API key in the
.env
file: - Set the default model in
config/autoload/odin.php
:
Documentation
Detailed documentation can be found in the doc/user-guide
directory:
- Installation and Configuration
- Core Concepts
- API Reference
- Model Providers
- Tool Development
- Memory Management
- Agent Development
- Example Projects
- MCP Integration
- Frequently Asked Questions
License
Odin is open-sourced software licensed under the MIT license.
All versions of odin with dependencies
ext-bcmath Version *
ext-mbstring Version *
aws/aws-sdk-php Version ^3.0
dtyq/php-mcp Version 0.1.*
guzzlehttp/guzzle Version ^7.0|^6.0
hyperf/cache Version ~2.2.0 || 3.0.* || 3.1.*
hyperf/config Version ~2.2.0 || 3.0.* || 3.1.*
hyperf/di Version ~2.2.0 || 3.0.* || 3.1.*
hyperf/logger Version ~2.2.0 || 3.0.* || 3.1.*
hyperf/retry Version ~2.2.0 || 3.0.* || 3.1.*
hyperf/qdrant-client Version *
justinrainbow/json-schema Version ^6.3
yethee/tiktoken Version ^0.1.2