KosmoKrator
██╗  ██╗ ██████╗ ███████╗███╗   ███╗ ██████╗ ██╗  ██╗██████╗  █████╗ ████████╗ ██████╗ ██████╗
██║ ██╔╝██╔═══██╗██╔════╝████╗ ████║██╔═══██╗██║ ██╔╝██╔══██╗██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗
█████╔╝ ██║   ██║███████╗██╔████╔██║██║   ██║█████╔╝ ██████╔╝███████║   ██║   ██║   ██║██████╔╝
██╔═██╗ ██║   ██║╚════██║██║╚██╔╝██║██║   ██║██╔═██╗ ██╔══██╗██╔══██║   ██║   ██║   ██║██╔══██╗
██║  ██╗╚██████╔╝███████║██║ ╚═╝ ██║╚██████╔╝██║  ██╗██║  ██║██║  ██║   ██║   ╚██████╔╝██║  ██║
╚═╝  ╚═╝ ╚═════╝ ╚══════╝╚═╝     ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝    ╚═════╝ ╚═╝  ╚═╝

Terminal AI coding agent for real repositories

Local coding agents, MCP gateways, and swarms from one terminal.

Written in PHP 8.4, KosmoKrator gives you a shell-first agent with TUI and ANSI renderers, permissions, persistent sessions, context management, Lua code mode, integrations, MCP, ACP, a PHP SDK, and parallel subagents.

Written in PHP 8.4
kosmo

> fix the failing tests and explain the change

 reading failing test output
 editing src/Auth/TokenVerifier.php
 running vendor/bin/phpunit --filter TokenVerifierTest

Done. 2 files changed, tests passing.

Install

Choose the runtime package that matches the machine.

Static binary

No PHP dependency. Recommended for normal terminal use on macOS and Linux.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

Runtime surfaces

One agent core, several ways to operate it.