Download the PHP package mauricioperera/php-a2e without Composer
On this page you can find all versions of the php package mauricioperera/php-a2e. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mauricioperera/php-a2e
More information about mauricioperera/php-a2e
Files in mauricioperera/php-a2e
Download mauricioperera/php-a2e
More information about mauricioperera/php-a2e
Files in mauricioperera/php-a2e
Vendor mauricioperera
Package php-a2e
Short Description Agent-to-Execution protocol for PHP — declarative workflow execution for AI agents
License MIT
Homepage https://github.com/MauricioPerera/php-a2e
Package php-a2e
Short Description Agent-to-Execution protocol for PHP — declarative workflow execution for AI agents
License MIT
Homepage https://github.com/MauricioPerera/php-a2e
Please rate this library. Is it a good library?
Informations about the package php-a2e
PHP A2E
Agent-to-Execution protocol for PHP — declarative workflow execution for AI agents. Port of the A2E protocol to native PHP.
Zero external dependencies. Only PHP 8.1+.
What is A2E?
A2E enables AI agents to execute complex workflows without arbitrary code execution. The agent describes what to do (declarative JSONL), the server validates and executes it from a catalog of pre-approved operations.
Quick Start
16 Built-in Operations
| Operation | Description |
|---|---|
| ApiCall | HTTP requests (GET/POST/PUT/DELETE/PATCH) with credential injection |
| FilterData | Array filtering with conditions (==, !=, >, <, contains, etc.) |
| TransformData | Data transformation: map, sort, group, aggregate, select |
| Conditional | If/else branching based on data model values |
| Loop | Array iteration with sub-operations |
| StoreData | Persist data to storage |
| Wait | Execution delay (ms) |
| MergeData | Combine data: concat, union, intersect, deepMerge |
| Calculate | Math: add, subtract, multiply, divide, sum, average, round, etc. |
| FormatText | String: upper, lower, title, template, replace |
| ExtractText | Regex extraction (single or all matches) |
| ValidateData | Validate: email, url, number, phone, date, custom regex |
| EncodeDecode | Base64, URL, HTML encode/decode |
| GetCurrentDateTime | Timezone-aware timestamps |
| ConvertTimezone | Timezone conversion |
| DateCalculation | Date math: add/subtract years, months, days, hours |
Security Model
- Catalog-based trust: Only registered operations can execute
- Credential isolation: Agents reference by ID, never see values (AES-256-CBC encrypted)
- Per-agent permissions: API whitelist, credential access, operation whitelist
- 6-stage validation: Structure, dependencies, types, API compatibility, credentials, patterns
- Rate limiting: Per-agent sliding window (requests/minute, hour, day)
- Audit trail: JSONL execution logs with sensitive data redaction
Validation Pipeline
Agent Authentication
Credentials Vault
HTTP API
| Method | Route | Description |
|---|---|---|
| GET | /health |
Health check |
| GET | /api/v1/capabilities |
Agent's available operations/APIs |
| POST | /api/v1/workflows/validate |
Validate JSONL workflow |
| POST | /api/v1/workflows/execute |
Execute JSONL workflow |
| GET | /api/v1/executions/{id} |
Execution timeline |
| GET | /api/v1/rate-limit/status |
Rate limit usage |
Custom Operations
The PHP AI Agent Ecosystem
| Package | Purpose |
|---|---|
| php-vector-store | Vector database (storage engine) |
| php-agent-memory | Agent memory + dream consolidation (the brain) |
| php-agent-shell (coming soon) | CLI execution + vector discovery (the hands) |
| php-a2e | Declarative workflow execution (the orchestrator) |
| Neuron AI | Agent framework (the body) |
Testing
License
MIT
All versions of php-a2e with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package mauricioperera/php-a2e contains the following files
Loading the files please wait ...