cognesy/agent-ctrl

Unified CLI bridge for code agents (Claude Code, OpenAI Codex, OpenCode)

Maintainers

Package info

github.com/cognesy/instructor-agent-ctrl

Homepage

Issues

pkg:composer/cognesy/agent-ctrl

Statistics

Installs: 0

Dependents: 1

Suggesters: 0

Stars: 0

v2.0.0 2026-03-13 19:48 UTC

This package is auto-updated.

Last update: 2026-03-13 19:49:02 UTC


README

Unified CLI bridge for code agents (Claude Code, OpenAI Codex, OpenCode) with one API and a normalized response type.

use Cognesy\AgentCtrl\AgentCtrl;
use Cognesy\AgentCtrl\Config\AgentCtrlConfig;

$response = AgentCtrl::codex()
    ->withConfig(new AgentCtrlConfig(
        timeout: 300,
        workingDirectory: getcwd() ?: null,
    ))
    ->execute('Summarize this repository.');

echo $response->text();