Skip to main content

AI Cockpit Reasoning CLI command reference

Run aic <command> --help to see every option supported by your installed version.

Shell commands​

CommandPurpose
aic [project]Start the interactive terminal interface.
aic --worktree <name>Create or reuse a Git worktree and start the terminal interface in it.
aic --continueContinue the last session.
aic run [message]Execute a task headlessly.
aic auth loginConnect a model provider.
aic auth listList configured provider credentials.
aic auth logoutRemove provider credentials.
aic profileShow the connected AI Cockpit account.
aic orgSelect an AI Cockpit organization.
aic models [provider]List available models, optionally filtered by provider.
aic mcp addAdd an MCP server.
aic mcp listInspect configured MCP servers.
aic mcp auth <name>Authenticate a remote MCP server.
aic mcp logout <name>Remove an MCP server authentication.
aic agent listList agents available in the project.
aic agent createCreate an agent interactively.
aic session listList recent sessions.
aic worktree create <name>Create or reuse a Git worktree for the current project.
aic worktree listList Git worktrees for the current project.
aic worktree remove <name>Remove a Git worktree and delete its branch.
aic plugin <module>Install a plugin in the project configuration.
aic plugin <module> --globalInstall a plugin in the global configuration.
aic export <session-id>Export a session.
aic import <file>Import a session.
aic statsShow token usage and cost statistics.
aic serveStart the local server and its browser interface.
aic attach <url>Attach the terminal interface to a running server.
aic config checkCheck the resolved configuration.
aic upgradeUpgrade AI Cockpit Reasoning CLI.
aic help [command]Show detailed help.

Interactive commands​

Run these commands from the TUI prompt:

CommandPurpose
/connectConnect a model provider.
/modelsSelect a model.
/agentsSelect a primary agent.
/sessionsOpen or resume a session.
/newStart a new session.
/renameRename the current session.
/forkBranch the current session.
/undo / /redoMove through reversible session changes.
/compactSummarize a long session to recover context.
/mcpsInspect and toggle MCP servers.
/skillsInspect available skills.
/statusShow provider, MCP, plugin, and project status.
/helpShow commands and keyboard shortcuts.
/exitClose the TUI.

See Use the interactive terminal for navigation, permission prompts, sessions, and keyboard shortcuts.

Project extensions​

Skills​

Place reusable workflows in .aicockpit/skills/<skill-name>/SKILL.md or .agents/skills/<skill-name>/SKILL.md. Start a new session after changing a skill, then use /skills to verify discovery. See Skills for authoring guidance.

Plugins​

Install an npm plugin with aic plugin <module>. Local TypeScript or JavaScript plugins can live under .aicockpit/plugin/ or .aicockpit/plugins/. Plugins execute code on your machine, so review their source before installation.

Agents and subagents​

Primary agents handle the main conversation. Subagents perform delegated work in isolated sessions and return the result to their parent. An agent mode can be primary, subagent, or all.

@code-reviewer review the authentication module

Create project agent files under .aicockpit/agent/, or configure their models, prompts, and permissions in .aicockpit/aicockpit.jsonc.

Permissions​

Permissions use three decisions: allow, ask, and deny. The last matching pattern wins:

{
"$schema": "https://app.aicockpit.ai/config.json",
"permission": {
"read": "allow",
"edit": "ask",
"bash": {
"*": "ask",
"git status *": "allow",
"git diff *": "allow",
"rm *": "deny"
}
}
}

Keep broad defaults first and specific exceptions after them.