Under the hood

Three languages, four layers, three operating systems. Here are the tools, the exact versions, the tests, the decisions, and also what broke. The numbers on this page come from the repository and from CI.

642
automated tests
all green on the November 8, 2026 CI run
36,380
lines of code
interface, engine and core, blank lines included
13
published versions
from 0.5.0 to 1.5.1
51
public commits
from July 25 to November 8, 2026
01 · Architecture

Each layer has a role and a prohibition. This separation is the foundation of Elysium's security: a manipulated AI agent cannot exceed what the Rust core grants it.

Everything you see. The interface displays and asks, but holds no critical logic.

  • Conversation, plans, diff review
  • Memory graph and live preview
  • Three languages: French, English, Spanish
Talks to
The Rust core over Tauri IPC for anything touching the system, the engine over HTTP and SSE for AI.
Not allowed to
Access the file system or the shell. It must go through the core.
Size
98 files · 19,665 lines
02 · Stack

Interface and core versions are the ones pinned by the lockfiles of version 1.5.1. Engine versions are the required minimums.

Interface

  • React18.3.1Renders the whole interface
  • TypeScript5.7.3In strict mode
  • Vite6.4.3Dev server and bundler
  • Tailwind CSS4.3.3Styles and theme tokens
  • Zustand5.0.14Lightweight global state
  • React Router7.18.5Navigation between pages
  • react-markdown10.1.0Agent responses, with remark-gfm

Native core

  • Ruststable1.77 minimum, no unwrap() on fallible paths
  • Tauri2.12.5Native window, IPC, installers
  • Tokio1.53.1Asynchronous engine supervision
  • sha20.10.9Checks a file is the one you reviewed
  • same-file1.0.6Proves an opened file is the authorized one
  • plugin-updater2.14.1Signed in-app updates

AI engine

  • Python≥ 3.11Engine language
  • FastAPI≥ 0.110Local API, with Uvicorn
  • SQLAlchemy≥ 2.0Data access
  • Alembic≥ 1.13Schema migrations
  • Pydantic≥ 2.7Data validation
  • httpx≥ 0.27Provider calls
  • keyring≥ 24.3System keychain

Quality

  • Vitest2.1.9Interface tests
  • Testing Library16.3.3React component tests
  • ESLint9.39.5TypeScript analysis
  • pytest≥ 8.0Engine tests
  • Clippy-D warningsAny Rust warning blocks
  • rustfmt--checkVerified formatting

Delivery and tools

  • GitHub ActionsCI and ReleaseWindows, macOS and Linux machines
  • PyInstaller--onefilePython engine as a single executable
  • tauri-actionv0Installers and update files
  • minisignvia TauriUpdate signatures
  • pnpm and Node11 · 22Interface dependencies
  • Claude CodeCLIDevelopment assistant

And this website?

Static pages served by nginx, with no inline scripts or styles, under a strict CSP. On modest devices, 3D and heavy effects are turned off.

  • Astro7.4.7Static pages, JavaScript loaded island by island
  • React19.3.1Interactive islands
  • Three.js0.187.03D scenes, with React Three Fiber 9.8.2
  • Motion14.10.1Animations, respecting reduced motion
03 · Decisions

Structural choices are written down in Architecture Decision Records (ADRs), with their reasons and what they cost. They live in the repository, next to the code.

Read ARCHITECTURE.md

The original specification required PostgreSQL everywhere. But asking every user to install a database server would have put off beginners, the number one audience. SQLite is therefore the default, with nothing to install. PostgreSQL and pgvector remain available for team mode.

A 100% Rust program was considered: a single binary, simpler packaging. Python wins because the SDK, MCP and embeddings ecosystem moves there first. The price is packaging, solved by one PyInstaller executable per platform, started and supervised by the Rust core.

Agents, in Python, never directly touch the disk, the shell or the network. Every privileged action is a request sent to the Rust core, which checks the policy, asks the human if needed, executes and logs. An instruction injected into a prompt therefore cannot exceed the granted rights.

One interface covers chat, streaming, tools, embeddings and costs. Anthropic and OpenAI have native adapters, and an OpenAI-compatible adapter covers Ollama, LM Studio, OpenRouter, DeepSeek or Mistral. The Claude Code and Codex CLIs run in a folder private to Elysium, with no tools and no access to your files.

The project manager produces a task graph stored in the database, and every exchange between agents is an event in an append-only log. The interface displays this log, not the raw model output. The understanding percentage measures coverage of a requirements list, not a probability invented by a model.

No command crosses the API. The engine detects the framework by reading manifests, then builds the command from a fixed table, with no shell. The first launch of a Node project asks for your trust, and the address is published only once the server really responds.

Each cost is marked reported, estimated or absent. The exchange rate is dated and kept with the expense. Provider status is derived from real calls, and schema upgrades only add columns or tables, at every startup.

The file graph relies on static analysis only. A file whose size and date have not changed is not read again. The context given to agents has a bounded size, about 1,500 tokens for the project manager, and ranks files by how many files import them.

04 · Journey

The repository's public history, from the first commit on July 25, 2026 to the latest version. All 13 versions, in order.

The foundations, in one day

The first commit lays down the documentation, the interface, the engine and the Rust core. The first public versions follow right away.

  • 0.5.0In-app automatic updates
  • 0.6.0Multi-agent orchestrator and Expert Analyse mode
  • 0.6.1No more chat stuck on "thinking"
  • 0.6.2Agent permissions finally save

Making what exists reliable

Two fix releases for what real use had just revealed.

  • 0.6.3Model catalog corrected
  • 0.6.4Real Markdown rendering in chat
104 days without a published version
05 · Tests

On every push to the main branch, CI reruns all three suites and static analysis. Here is the real run from November 8, 2026, replayed as is.

PassedCI · main · run 42490167903
# Interface · 42 s · ubuntu-22.04
pnpm lint
pnpm test
 Test Files  11 passed (11)
      Tests  72 passed (72)
pnpm build
# AI engine · 2 min 29 · ubuntu-22.04
pytest -q
543 passed, 16 warnings in 124.68s (0:02:04)
# Rust core · 1 min 24 · ubuntu-22.04
cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test
test result: ok. 27 passed; 0 failed; 0 ignored
View this run on GitHub Actions
  • 72InterfaceVitest
  • 543AI enginepytest
  • 27Rust corecargo test
  • No real model is called. Responses are simulated and the CLIs are replaced by fake processes.
  • Your keychain is never touched. The tests use an in-memory keychain.
  • The preview is tested for real. These tests start real Node processes on real ports.
  • All three suites are blocking. If one fails, CI turns red, and the release procedure waits for it to go green again.
06 · Delivery

Windows and macOS cannot be built from Linux. So each release runs on three machines, in parallel. Real durations from version 1.5.1.

  • Step 1

    Push to main

    The version number is updated everywhere, then the code is pushed.

  • Step 2 · blocking

    CI

    • Interface
    • AI engine
    • Rust core
  • Step 3

    Version tag

    The procedure waits for green CI. The tag then triggers the build.

  • Step 4 · parallel

    Build

    • Windows
    • macOS
    • Linux
  • Step 5 · manual

    Publication

    A draft of 14 files waits, including signatures and latest.json. It is only published after verification.

On each machine, the Python engine becomes an executable with PyInstaller, Tauri bundles it, then the update files are signed. The app refuses an update whose signature does not match.

07 · Systems

"Built" and "tested" do not mean the same thing. This table separates the two. Development and local packaging happen on Windows 11, which is so far the only system tried by hand. The repository also documents installing on Fedora.

SystemRendering engineTried by handAutomated testsInstaller builtFiles
Linuxubuntu-22.04 · x64WebKitGTK 4.1 No Yes, on every push Yes.deb, .rpm, .AppImage
Windowswindows-latest · x64WebView2 Yes No, build only Yes.exe, .msi
macOS Apple Siliconmacos-latest · arm64WKWebView No No, build only Yes.dmg
macOS Intelrunner retired by GitHubWKWebView No No NoFrom source
08 · Incidents

Software also tells its story through its bugs. Six real problems, taken from the repository's history.

0.6.1

Chat stuck on "thinking"

Cause
The SSE stream was not reopened after the first response.
Fix
The stream now reconnects after every turn.
0.6.2

Permissions were never saved

Cause
Changes to agent permissions were not saved, and a status badge displayed false information.
Fix
Saving repaired, fake badge removed.
0.6.3

Models that did not exist

Cause
The catalog contained wrong identifiers for Google, Anthropic, xAI, DeepSeek and Mistral.
Fix
The entire catalog was redone.
0.6.0

The engine outlived the app

Cause
A PyInstaller executable starts a second process: killing the first left the interpreter orphaned.
Fix
The whole process tree is now stopped.
CI

Intel Macs waiting forever

Cause
GitHub retired the macos-13 image: the Intel build stayed queued and never started.
Fix
Target removed and limit stated on the site.
1.5.1

A race caught by CI

Cause
The preview announced "failed" before clearing its process ID.
Fix
The code was fixed, and the test was left unchanged.
09 · Method

Elysium is also built with agents. Part of the code was written with Claude Code, and those commits say so in their history. The project's rules apply to "every contributor, human or AI agent".

22of 51
commits declare Claude as co-author. Only those carrying the mention are counted.
  • Analyze first: architecture, impact, security and required tests, before any significant development.
  • No dependency without justification: size, maintenance, attack surface.
  • Never a plaintext secret, whether in the database, configuration, logs or test fixtures.
  • Content given to a model is data, never instructions.
  • Never remove a security check "to make it work".
  • Errors are understood and explained, never silently swallowed.

Read the full rules

What is not there yet

  • Only Windows has been tried by hand. On macOS and Linux, the installers are built, but nobody has launched them yet to check the app end to end.
  • The 642 tests run on Linux. Windows and macOS are built for every release, but CI runs no tests there: Windows-specific code is only checked at compile time.
  • The installers are not signed with a code-signing certificate, so Microsoft Defender may wrongly flag them. Updates, however, are signed.
  • No installer for Intel Macs. You need to build from source.
  • The quality of model responses is not tested: the tests replace models with simulated responses.

The code is there to be read.

Elysium's code is open on GitHub, under the MIT license.