100% free — no API key required

Your terminal.
Your coding agent.

Cipher is an autonomous AI agent that runs in your terminal. It reads your codebase, writes files, runs commands, searches the web — and ships working code.

Install Cipher Read the docs →
cipher — ~/myproject
──────────────────────────────────────────
Cipher AI · ~/myproject
──────────────────────────────────────────
 
10+
AI Providers
Free
No API Key Needed
100%
Changes You Approve
MIT
Open Source
Features

Everything you need to ship

Cipher handles the full development loop — from understanding your request to writing, running, and fixing code.

Terminal-native TUI

A beautiful, full-screen terminal interface with a persistent chat sidebar, live tool output, and session history. Works in any terminal on Mac, Linux, and Windows.

Autonomous agent loop

Send a task in plain English. Cipher plans, executes tools, reads results, self-corrects on errors, and only stops when the task is done — no hand-holding required.

🛡

Approval gates

Every file change is shown as a unified diff before it's applied, and every shell command is shown before it runs. Allow once, always allow, or deny — you stay in control.

🔌

10+ AI providers

Works with OpenAI, Anthropic, Groq, Gemini, DeepSeek, SambaNova, OpenRouter, Ollama, or any OpenAI-compatible endpoint. Swap providers in seconds with Ctrl+P.

🛠

Full tool suite

Read and write files, run shell commands, edit with surgical precision, search with grep and glob, fetch web pages, search the web, manage git, and track todos.

💬

Persistent sessions

Every conversation is saved with an AI-generated title. Resume any session, browse history, and maintain context across multiple coding sessions on the same project.

How it works

From request to shipped code

Cipher breaks every task into a clear, automated workflow. You describe what you want — Cipher handles the rest.

01

You describe the task

Type your request in natural language. "Build a REST API", "fix the bug in auth.py", "add tests for the payment module" — anything works.

02

Cipher plans and executes

The agent reads your codebase, then proposes changes. Every diff and every command is shown to you for approval before it touches your machine.

03

You get working code

Cipher reports back when done. If tests fail, it retries. If something breaks, it self-corrects. You review the diff and ship.

Architecture

One agent. Your approval.

Cipher is a single agent loop with approval gates. The model acts through tool tags, the runtime executes them, and anything that touches your machine goes through you first.

Read-only tools run freely — reading files, grep, glob, directory listings, and web lookups never prompt. The agent orients itself in your codebase without friction.

Mutations need your approval — every <write> and <edit> shows a unified diff before it's applied; every <run> shows the command before it executes. Allow once, always allow, or deny.

Tool results feed straight back into the loop. The agent reads errors, self-corrects, and finishes with <done> — a summary of exactly what changed.

You

"Build a REST API with authentication and tests"

Agent — Llama 4 Maverick → 70B → Gemini fallback

Reads the codebase, plans, and emits tool tags

<read> <grep> <write> <edit> <run> <git>
Approval gate

File changes show a diff, commands show the exact command — allow once, always, or deny

+ added line - removed line
<done>

Results feed back into the loop until the task is finished — then you get a summary of what changed

Tools

Every tool it needs

Cipher's Coding AI has access to a complete set of tools for working with your codebase and the outside world.

<read>
Read any file in the project
<write>
Create or overwrite a file
<edit>
Surgical find-and-replace edits
<run>
Execute shell / PowerShell commands
<grep>
Search file contents by pattern
<glob>
Find files by name pattern
<ls>
List directory contents
<git>
Run git commands
<web-fetch>
Fetch a URL and read its content
<web-search>
Search the web for information
<tree>
Project structure overview
<done>
Finish with a summary of changes
Providers

Works with every AI

Connect Cipher to the model you already use — or use Cipher Proxy for a free, zero-configuration experience.

Cipher Proxy Free · No key Llama 4 Maverick, Llama 3.3 70B, Gemini 2.0 Flash + fallback chain
OpenAI API key GPT-4o, GPT-4o Mini, o1, o3
Anthropic API key Claude 3.5 Sonnet, Claude 3 Haiku
Google Gemini API key Gemini 2.0 Flash, Gemini 1.5 Pro
Groq API key Llama 3.3 70B, Llama 3.1 8B, Mixtral
DeepSeek API key DeepSeek Chat, DeepSeek Coder
SambaNova API key · free tier Llama 4 Maverick, Llama 3.3 70B
OpenRouter API key 200+ models from all providers
Ollama Local Any model you've pulled locally
Custom Any endpoint Point Cipher at any OpenAI-compatible URL
Install

Get started in 30 seconds

Install Cipher your way. It's available via pip, npm, or a one-line installer script.

terminal
pip install cipher-agent --upgrade

Requires Python 3.9+. After install, run cipher or cip to launch.

terminal
npm install -g cipher-agent

Requires Node.js 14+. Installs the cipher and cip commands globally.

PowerShell (Run as Administrator)
irm https://cipher.elevenpct.com/install.ps1 | iex

One-line Windows installer. Sets up Python, installs Cipher, and adds it to your PATH.

terminal
curl -fsSL https://cipher.elevenpct.com/install.sh | bash

Works on macOS and Linux. Installs via pip and configures your shell.

After installing

launch
# Launch from any project directory
cd ~/my-project
cipher
# or the short alias:
cip

On first launch, Cipher opens a setup screen where you choose a provider. Select Cipher Proxy to start immediately — no API key needed.

You can also pass a directory: cipher /path/to/project, or start with a task: cipher -p "add tests"

Uninstall

Remove Cipher

Session history is stored in ~/.cipher/ — delete that folder to remove all data.

Windows (one-liner)

irm https://cipher.elevenpct.com/uninstall.ps1 | iex

Mac / Linux (one-liner)

curl -fsSL https://cipher.elevenpct.com/uninstall.sh | bash

Manual

pip uninstall cipher-agent -y
# then delete data:
# Windows: Remove-Item -Recurse ~\.cipher
# Mac/Linux: rm -rf ~/.cipher