Download the PHP package ririkana/agent-framework without Composer

On this page you can find all versions of the php package ririkana/agent-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package agent-framework

Ririkana Agent Framework

A reusable, governed, tenant-safe Laravel 13 package for building business AI agents.

[Tests]() [Coverage]() [PHP]() [Laravel]() [License]()

Overview

Ririkana Agent Framework provides the infrastructure layer for building production AI agents in Laravel. It handles governance, multi-tenancy, tool authorization, budgets, approvals, memory, and observability — freeing application developers to focus on domain-specific agent behavior.

Key principles:

Installation

Publish the configuration:

Run the framework migrations:

Quick Start

1. Define an agent manifest

2. Register the agent

3. Register tools

4. Execute the agent

Core Contracts

Contract Purpose
AgentRuntime Execute, stream, and queue agent runs
AgentRegistry Register and query agent manifests
ToolRegistry Register governed tools
ToolExecutor Validate, authorize, and execute tool calls
PolicyEngine Evaluate guardrail and policy decisions
ModelRouter Select provider/model by capability and profile
BudgetLedger Track and enforce usage budgets
ConversationStore Store and retrieve conversation messages
ApprovalGateway Request and resolve human approvals
AuditSink Record audit events for every operation
KnowledgeRetriever Retrieve evidence from RAG service
WorkflowOrchestrator Dispatch n8n workflows
RunRepository Persist agent runs with optimistic concurrency
ContextResolver Resolve tenant/actor from HTTP request
ContextSerializer Serialize/deserialize execution context

Capabilities

Text / Chat

The primary agent capability. Agents receive prompts, execute tools, and return text or structured output.

Sub-Agent Delegation

Parent agents can delegate tasks to child agents through an allowlisted delegation policy.

Image Generation

Text-to-Speech

Speech Transcription

Architecture

Configuration

All configuration lives in config/ririkana-agent.php. Key sections:

Section Purpose
database Connection and table prefix
persistence Driver: memory (dev) or database (production)
runtime Default runtime: fake or laravel-ai
openrouter OpenRouter API key and default models
rag Ririkana RAG service credentials
n8n n8n workflow engine credentials
routes Optional headless HTTP routes
limits Tool result size and timeout defaults
budgets Daily usage budget

Environment variables are documented in .env.example.

AI Provider Setup

The package works with any provider supported by Laravel AI SDK. OpenRouter is recommended — one API key covers text, image, TTS, and transcription.

See docs/implementation/integrations/OPENROUTER-SETUP.md for detailed setup instructions.

Console Commands

Testing

Architecture Decisions

The framework follows 24 Architecture Decision Records (ADRs) in docs/09-adrs/. Key decisions:

Full documentation at docs/.

Requirements

License

MIT License. See LICENSE for details.


All versions of agent-framework with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
illuminate/console Version ^13.0
illuminate/contracts Version ^13.0
illuminate/database Version ^13.0
illuminate/http Version ^13.0
illuminate/support Version ^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ririkana/agent-framework contains the following files

Loading the files please wait ...