# Empryo

> A graph-powered coding agent that edits symbols, not strings

- Category: AI Coding / Autonomous Coding Agents
- Language: TypeScript
- Licence: BUSL-1.1 for the public SoulForge v2 core (converts to Apache-2.0 on 2030-03-15); Empryo v3 under its own license, free for personal and internal business use
- Repository: https://github.com/proxysoul/Empryo
- Website: https://empryo.com/
- Canonical page: https://ai-tldr.dev/tools/empryo/
- Updated: 2026-07-12

## In short

Empryo is an AI coding agent built around a live map of your repository, which the project calls the Genome. It sits in the Autonomous Coding Agents category of the AI Coding tools and is open-source, written in TypeScript and licensed BUSL-1.1 for the public SoulForge v2 core (converts to Apache-2.0 on 2030-03-15); Empryo v3 under its own license, free for personal and internal business use.

## Overview

Empryo is an AI coding agent built around a live map of your repository, which the project calls the Genome. On startup it parses the codebase into a SQLite-backed graph of files, symbols and import edges, ranks files with PageRank, mines git history for files that usually change together, and estimates the blast radius of an edit before making it. Instead of matching and replacing raw text, it edits functions and classes by name, then runs typecheck, lint and tests and fixes what breaks in the same turn.

The project started as SoulForge and was renamed Empryo in v2.20.24 (July 2026); the old proxysoul/soulforge repository redirects here. This repository holds the public SoulForge v2 core and engine under the Business Source License 1.1, which allows any use except offering the software to third parties commercially and converts to Apache-2.0 on March 15, 2030. The Empryo v3 desktop app and its features are developed privately and distributed only through empryo.com; v3 is free for personal and internal business use, including paid client work and headless CI.

The engine is written in TypeScript on Bun, uses OpenTUI for its terminal interface, the Vercel AI SDK for models, and embeds a real Neovim instance so your own config, plugins and language servers work inside it. It ships built-in providers for Anthropic, OpenAI, Google, xAI, Ollama, OpenRouter, LLM Gateway and Vercel AI Gateway, plus any OpenAI-compatible endpoint, and a task router that sends exploration, coding, cleanup, review and compaction work to different models.

## What it does

- Genome repo map: tree-sitter parsing for 30+ languages, PageRank file ranking, co-change analysis from git log, blast-radius estimation, clone detection and FTS5 symbol search
- Symbol-level edit tools (rename_symbol, move_symbol, refactor) backed by an LSP, ts-morph and tree-sitter fallback chain
- Desktop app, terminal UI with an embedded Neovim editor, and a headless CLI with JSON and JSONL event output for scripts and CI
- Task router that assigns separate models to explore agents, code agents, web search, de-sloppify cleanup, adversarial verify passes and context compaction
- SQLite-backed memory for decisions and patterns, scoped to session, project or global
- Modes for architect, plan, socratic and challenge work, a plan-then-approve flow, skills from skills.sh, web search and a git menu with AI commit messages

## Getting started

The project's GETTING_STARTED guide covers installing Empryo, adding a model key and finding your way around the terminal interface. Official builds come only from empryo.com, not Homebrew, npm or GitHub Releases.

1. Install

   Run the verified installer for your platform, or download the desktop app or a prebuilt terminal binary from empryo.com/download. On first launch Empryo creates its config under ~/.empryo/ and offers to install optional editor and font integrations.

```bash
curl -fsSL https://empryo.com/install.sh | bash   # macOS, Linux
irm https://empryo.com/install.ps1 | iex          # Windows
```

2. Add a model provider key

   You need at least one provider key, or a local Ollama model. Export it in your shell profile; a single Vercel AI Gateway key also covers all providers.

```bash
export ANTHROPIC_API_KEY=sk-ant-...
# or one gateway key for every provider
export AI_GATEWAY_API_KEY=...
```

3. Pick models and route tasks

   Press Ctrl+L to open the model picker. Use /router to give different task slots their own model, for example a strong model for ember (code agents) and a fast, cheap one for spark (read-only exploration) and desloppify.

```text
/router
```

4. Plan a change before running it

   Plan mode researches the codebase, writes a structured plan and waits for you to approve, revise or cancel before it edits anything. Ctrl+D cycles the other modes, and Ctrl+E opens the embedded Neovim editor beside the chat.

```text
/plan refactor the auth system
```

5. Run it headless

   The v2 core's CLI runs without the TUI and streams to stdout. Flags documented in the repository include --json for a structured result, --events for a JSONL stream, --model, --mode, --max-steps and --diff; piped input works too. Exit codes are 0 for success, 1 for error, 2 for timeout and 130 for abort.

```bash
echo "prompt" | soulforge --headless
soulforge --headless --json --diff "your task"
```

## When to use it

- Reach for it on large repositories where an agent needs to know what an edit will touch before it makes it
- Use it when you want refactors and renames done by symbol name rather than by fragile string replacement
- Good for splitting cost across models: a strong model for code edits, cheap ones for exploration, cleanup and compaction
- Useful in CI or scripts through the headless mode's JSON and JSONL output

## Version history

- 2026-07-12 v2.20.24: Renamed the SoulForge repository to Empryo, with a one-time announcement in the terminal UI.
