Download the PHP package chen-zhanjie/hyperf-agentic without Composer
On this page you can find all versions of the php package chen-zhanjie/hyperf-agentic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chen-zhanjie/hyperf-agentic
More information about chen-zhanjie/hyperf-agentic
Files in chen-zhanjie/hyperf-agentic
Download chen-zhanjie/hyperf-agentic
More information about chen-zhanjie/hyperf-agentic
Files in chen-zhanjie/hyperf-agentic
Vendor chen-zhanjie
Package hyperf-agentic
Short Description Hyperf-native AI Agent SDK — config-driven, Hermes-inspired
License MIT
Package hyperf-agentic
Short Description Hyperf-native AI Agent SDK — config-driven, Hermes-inspired
License MIT
Please rate this library. Is it a good library?
Informations about the package hyperf-agentic
Hyperf Agentic SDK
简体中文 | English
A config-driven AI Agent SDK for Hyperf applications. Agent is a config, not a class.
Installation
Publish config files:
Quick Start
1. Configure LLM Provider
Edit config/autoload/agentic/providers.php:
2. Define an Agent
Edit config/autoload/agentic/agents.php:
3. Run the Agent
Database-Driven Agents (v0.4.0)
Create agents dynamically from database config:
Core API
| Method | Description |
|---|---|
run(name, messages) |
Execute a named agent |
runStream(name, messages, onEvent) |
Execute with SSE streaming |
runWithConfig(config, messages, options) |
Execute with dynamic config |
runStreamWithConfig(config, messages, onEvent, options) |
Dynamic config + streaming |
chat(messages) |
Pure LLM chat (no tools) |
chatStream(messages, onChunk) |
Pure LLM streaming |
resume(sessionId) |
Resume a suspended session |
approveTool(tool, sessionId) |
Approve a tool/pattern globally or per-session |
approveAll(sessionId) |
Approve all tools globally or per-session |
revokeTool(tool, sessionId) |
Revoke a tool approval |
revokeAll(sessionId) |
Revoke all approvals |
Documentation
| Document | Description |
|---|---|
| Getting Started | Installation and quick start |
| Configuration | Full configuration reference |
| API Reference | Agentic facade method reference |
| Tools | Tool system: registration, custom tools, built-ins |
| Skills | 3-level progressive disclosure skill system |
| Guardrails | Input/output safety checks |
| Conversations | Multi-turn conversation persistence |
| Database Agents | Database-driven dynamic agent creation |
| Architecture | 5-layer architecture overview |
| Changelog | Version history |
简体中文文档:docs/zh-CN/
Architecture
Testing
575 tests, 1146 assertions — all passing.
Note: Run
vendor/bin/phpunitafter install. Test count reflects latest version.
License
MIT
All versions of hyperf-agentic with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
psr/log Version ^2.0|^3.0
symfony/yaml Version ^6.0|^7.0
symfony/console Version ^6.0|^7.0
psr/log Version ^2.0|^3.0
symfony/yaml Version ^6.0|^7.0
symfony/console Version ^6.0|^7.0
The package chen-zhanjie/hyperf-agentic contains the following files
Loading the files please wait ...