Download the PHP package myctobot/aoe-php without Composer
On this page you can find all versions of the php package myctobot/aoe-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download myctobot/aoe-php
More information about myctobot/aoe-php
Files in myctobot/aoe-php
Package aoe-php
Short Description AI Agent Session Manager - PHP port of agent-of-empires with multi-tenancy support
License MIT
Informations about the package aoe-php
AOE-PHP - AI Agent Session Manager
A PHP port of agent-of-empires - a terminal session manager for AI coding agents (Claude Code, OpenCode) using tmux.
Features
- Multi-tenant support - Isolated sessions per tenant, integrated with myctobot config
- Session management - Create, list, remove, and manage AI agent sessions
- tmux integration - Each session runs in its own tmux session
- WebSocket server - Real-time terminal streaming via OpenSwoole (planned)
- CLI interface - Full command-line interface using Symfony Console
Requirements
- PHP 8.1+
- Composer
- tmux
- OpenSwoole extension (for WebSocket features)
Installation
Or clone and install locally:
Configuration
Default Configuration
The default configuration is in config/aoe.php:
Tenant Configuration
Tenants are discovered from myctobot config files (conf/config.{tenant}.ini). Add an [aoe] section for tenant-specific overrides:
Usage
All session commands require a tenant specified via --tenant flag or AOE_TENANT environment variable.
List Available Tenants
Output:
Add a Session
List Sessions
Output:
Show Status Summary
Output:
Remove a Session
Using Environment Variable
Start a Session
Stop a Session
Restart a Session
Attach to a Session
Session Status Detail
Project Structure
Data Storage
Sessions are stored in JSON files, isolated per tenant:
Implementation Status
Phase 1: Core Session Management ✅
- [x] Project structure and composer.json
- [x] Multi-tenancy support (TenantContext, TenantResolver)
- [x] Configuration with myctobot INI integration
- [x] Session entities (Instance, Status, WorktreeInfo, Group)
- [x] JSON storage (tenant-scoped)
- [x] CLI commands:
tenant:list,add,sessions,remove,status
Phase 2: Tmux Integration ✅
- [x] TmuxService wrapper (tenant-prefixed sessions)
- [x] StatusDetector (analyze pane content for Running/Waiting/Idle/Error)
- [x] CLI commands:
session:start,session:stop,session:restart,session:attach,session:status - [x] Instance class integration:
start(),stop(),restart(),captureOutput(),sendKeys(),refreshStatus()
Phase 3: WebSocket Server (Planned)
- [ ] OpenSwoole WebSocket server
- [ ] ClientManager (tenant-scoped connections)
- [ ] MessageHandler with tenant authentication
- [ ] Commands:
server:start,server:stop
Phase 4: Terminal Proxy (Planned)
- [ ] TerminalProxy with polling loop
- [ ] Output diffing
- [ ] ANSI handling
- [ ] Real-time streaming to WebSocket clients
Phase 5: Advanced Features (Planned)
- [ ] Git worktree support
- [ ] Claude session ID detection
- [ ] Session forking
- [ ] Group management commands
Integration with myctobot
As a Composer package:
Usage in controllers:
WebSocket Protocol (Planned)
License
MIT
All versions of aoe-php with dependencies
symfony/console Version ^6.0
ramsey/uuid Version ^4.0
nesbot/carbon Version ^3.0