# Kubic

> Open-source terminal coding agent from Konic that works with any model, journals every file change for undo, and asks before risky actions.

Kubic is Konic Labs' open-source coding agent that runs in the terminal with a model the user chooses. It journals every file change so a turn can be reviewed and undone, and it asks for approval before risky actions run. For teams, it adds managed policy, an audit ledger and spend caps. It is released under the MIT license and installs through npm.

## What It Is

Kubic is a terminal-based (TUI) agentic coding tool. A user describes a task, the agent reads and edits files and runs commands such as tests, and the user reviews the diff with Ctrl+O. The `/undo` command restores a turn's changes, with or without git. Kubic requires Node 22.19 or later, and the README says it runs on the Pi agent harness.

## Model Choice and Sessions

The README lists Anthropic, OpenAI, Google, Bedrock, OpenRouter or a custom endpoint as supported model sources. Sessions are durable, and `/tree` branches a session from any prompt. A built-in faux provider opens the TUI without an API key, using a model that echoes prompts.

## Safety and Control

Risky actions ask for approval in the TUI or through a broker. Users can opt in to a bash sandbox using Seatbelt or bubblewrap to confine commands. Documentation covers a threat model, configuration and security policy.

## Team and Enterprise Use

Teams get managed policy, an audit ledger, spend caps and OIDC. Konic positions Kubic as agentic coding under enterprise control, alongside its on-prem LLM offerings.

## Features
- Terminal TUI coding agent
- Works with any model provider or custom endpoint
- Journaled file changes with /undo, with or without git
- Approval prompts for risky actions
- Durable sessions with /tree branching
- Opt-in bash sandbox via Seatbelt or bubblewrap
- Managed policy, audit ledger, spend caps and OIDC for teams
- Keyless faux provider for trying the TUI

## Integrations
Anthropic, OpenAI, Google, Amazon Bedrock, OpenRouter, npm

## Platforms
MACOS, LINUX, API, CLI

## Pricing
Open Source

## Version
0.1.3

## Links
- Website: https://konic.io
- Documentation: https://github.com/konic-labs/kubic/blob/main/docs/getting-started.md
- Repository: https://github.com/konic-labs/kubic
- EveryDev.ai: https://www.everydev.ai/tools/kubic
