# Klaat Code

A terminal-native, open-source AI coding agent whose requests are routed by a hosted model called Klaatu to one of six cost tiers per message, so routine edits use cheap models and only hard tasks reach frontier-priced ones.

Klaat Code is a terminal coding agent, installed with npm, that reads code, edits files, runs commands and asks permission before risky actions — functionally similar to Claude Code, opencode, Codex CLI or Aider. What differs is that every message is routed by Klaatu, a hosted classifier service, through one of six cost tiers (nano, fast, code, reason, heavy, titan), escalating automatically if a task turns out harder than expected; tool calls within a request are not charged, only messages.

Because the routing intelligence, model health tracking, pricing and a code-graph index of the project live server-side at klaatai.com, the CLI itself can stay open source while the routing brain does not. KlaatAI also offers a browser chat product and an API built on the same router.

Website: https://klaatai.com
