Documentation
KosmoKrator is a terminal coding agent first, with matching headless surfaces for automation, wrappers, and other coding tools. Start with installation if you want the CLI, or jump to the runtime surface you are embedding.
Getting StartedInstall, configure a provider, and make your first code change.InstallationStatic binaries, PHAR, source checkout, and Termux.Headless ModeRun KosmoKrator from scripts, CI, and other coding CLIs.CLI ReferenceEvery shell command, option family, JSON surface, and automation helper.Settings ReferenceComplete schema with defaults, effect timing, scopes, and setting IDs.Agent SDKEmbed the headless runtime in PHP applications.ACPWrap KosmoKrator from editors, IDEs, and desktop apps.Integrations CLICall OpenCompany integrations directly or from Lua.MCPUse portable MCP server configs headlessly and in Lua.LuaCompose tools, integrations, and MCP calls in code mode.Web ProvidersConfigure search, fetch, extract, crawl, and native provider web search.Telegram GatewayRun KosmoKrator from Telegram with routing and access controls.SubagentsParallel child agents, dependencies, groups, and status trees.PermissionsGuardian, Argus, Prometheus, headless policy, and force flags.Sessions & MemoryPersistence, resume, compaction, memories, and cross-session recall.SkillsReusable prompt packages with project/user discovery and dollar commands.ToolsBuilt-in file, shell, search, task, memory, and Lua tools.ArchitectureRuntime path, renderers, sessions, context, ACP, SDK, MCP.ChangelogRelease history and user-facing changes from the canonical changelog.TroubleshootingDiagnosis for setup, credentials, permissions, integrations, MCP, web, and UI.