⬡ Terminal AI Agent

aegiscode

A multi-model AI agent for the terminal. Works with Claude, DeepSeek, Groq and Ollama. Remembers everything across sessions. Council voting. Orchestration. BYOK — your keys, your cost.

Install now → Download binary View on GitHub

Free · Open source · AGPL-3.0 · Node.js 22+ required

aegiscode — terminal
$ aegis
┌─ aegiscode ─ v1.8.0
│ ÆGIS AI Agent · /help for commands
build a REST API for user management
◆ Delegating to Council...
✅ Claude · Architect — Flask with SQLAlchemy, JWT auth, rate limiting
✅ DeepSeek · Implementer — generating endpoints...
✅ Llama · Reviewer — security review passed
→ Writing api/ · 847 lines · 12 endpoints · tests included
/model deepseek
◆ Model → DeepSeek Chat
/council "should we use PostgreSQL or MongoDB?"
⬡ AEGIS COUNCIL deliberating...
Features

Built for real work

Everything you need to build, decide and remember — in the terminal.

Multi-model

Switch between Claude, DeepSeek, Groq and Ollama mid-session with /model. Each model remembers the same context.

Semantic memory

Cross-session memory stores context permanently. ÆGIS remembers your projects, preferences and past decisions.

Council voting

Use /council to send questions to Claude, DeepSeek and Llama simultaneously. They deliberate and vote. Consensus wins.

Orchestration

Delegate to specialized agents — architect, implementer, reviewer, debugger — working in parallel or in sequence.

⬡⬡

Skills

Build custom skills and tools. Extend aegiscode with your own SKILL.md files for domain-specific workflows.

Cloud sync

Connect to aegiscloud.org with /cloud. Sessions sync automatically on exit. Access your history anywhere.

🔑

BYOK

Bring your own API keys. You pay your model provider directly. No markup, no middleman.

🔒

Local first

Memory stored locally at ~/.aegiscode/. Cloud sync is opt-in. Your data stays yours.

Get started in minutes

01

Clone and install

Requires Node.js 22+. Check with node -v.

git clone https://github.com/aegisinfo/aegiscode
cd aegiscode
npm install
02

Add your API keys

Copy .env.example to .env and add at least one API key.

cp .env.example .env
# Edit .env and add your keys:
ANTHROPIC_API_KEY=sk-ant-...
DEEPSEEK_API_KEY=sk-...
GROQ_API_KEY=gsk_...
03

Build and install

Run the install script — builds the project and adds aegis to your PATH.

bash install.sh
04

Run

Start aegiscode from anywhere.

aegis
# or with a model:
aegis --model deepseek
05

Activate cross-session memory

Semantic memory lets aegiscode remember context across all your sessions — permanently. Activate with a token after subscribing at aegiscloud.org.

# Option 1 — activate in session:
/memory activate <your-token>

# Option 2 — add to .env for auto-activation:
AEGIS_MEMORY_TOKEN=your-token
💡 Get your token at aegiscloud.org → /memory → $2/month · Cancel anytime
Models

Your keys, your models

Switch model anytime with /model. All models share the same memory and session context.

Claude Sonnet

Anthropic · ANTHROPIC_API_KEY

DeepSeek Chat

DeepSeek · DEEPSEEK_API_KEY

Llama 3.3 70B

Groq · GROQ_API_KEY

Ollama (local)

Local · No API key needed

Download

Get aegiscode

Choose your platform or clone the repo directly.

Linux

Standalone binary

No Node.js required. Download, make executable and run.

Download for Linux →

All platforms

From source

Node.js 22+ required. Clone, install and build with one script.

View on GitHub →

Windows / Mac

Install script

Run install.sh (Mac/Linux) or install.bat (Windows) after cloning.

See install guide →