A free, open-source COBOL IDE and modernization toolkit. Analyze, edit, explain, translate, and test legacy COBOL codebases — powered by AI through the Quantum AI SDK.
Built with Rust + Tauri 2 + Svelte. Runs on macOS, Windows, Linux, iOS, and Android.
gh auth credentials automatically11 built-in themes including 3 light modes:
| Theme | Style |
|---|---|
| Amber CRT | Classic phosphor amber terminal |
| Matrix | Digital rain green |
| Cyberpunk | Neon pink and cyan |
| Skynet | Cold blue machine |
| Fallout | Pip-Boy retro green |
| Synthwave | 80s purple sunset |
| Tron | Digital frontier blue |
| Blood | Dark crimson |
| Daylight | Clean white, blue accents |
| Paper | Warm sepia tones |
| Arctic | Cool blue-grey |
cobol-copilot/
├── src-tauri/ # Rust backend (Tauri 2)
│ ├── src/
│ │ ├── parser/ # COBOL lexer, AST, symbol table
│ │ ├── analyzer/ # Dependency graphs, impact analysis
│ │ ├── llm/ # AI providers (Quantum SDK + legacy)
│ │ ├── translator/ # COBOL → Rust/Python/Go code gen
│ │ ├── commands/ # Tauri IPC commands
│ │ │ ├── mod.rs # Core commands + LlmBackend
│ │ │ ├── git_commands.rs # Local git operations (qe-git)
│ │ │ ├── github_commands.rs # GitHub API integration
│ │ │ └── storage_commands.rs
│ │ ├── scanner/ # Batch COBOL scanning
│ │ ├── testing/ # Migration test harness
│ │ ├── storage/ # SQLite persistence
│ │ └── graph/ # SurrealDB knowledge base
│ └── Cargo.toml
└── ui/ # Svelte + TailwindCSS frontend
└── src/
├── lib/
│ ├── components/ # 30+ Svelte components
│ ├── stores.ts # Reactive state + themes
│ └── tauri.ts # TypeScript IPC wrappers
└── routes/
COBOL Copilot supports multiple AI backends through a unified LlmBackend:
Single API key for all models — Claude, Gemini, Grok, DeepSeek:
Settings → INIT_LLM → Quantum AI → Enter API key
Get a key at quantumencoding.ai/developers
Requires the summon_ai binary and per-provider environment variables:
| Provider | Env Variable | Models |
|---|---|---|
| Claude | ANTHROPIC_API_KEY |
claude-sonnet-4-6, claude-opus-4-6 |
| Gemini | GEMINI_API_KEY |
gemini-2.5-flash, gemini-2.5-pro |
| Grok | XAI_API_KEY |
grok-4-1-fast, grok-code-fast-1 |
| DeepSeek | DEEPSEEK_API_KEY |
deepseek-chat, deepseek-reasoner |
cd ui && npm install
cd ../src-tauri && cargo tauri dev
cd src-tauri && cargo tauri build
COBOL Copilot uses the GitHub CLI for authentication — no OAuth flow needed:
brew install gh
gh auth login
Once authenticated, the GIT tab shows your repos dashboard, search, and remote file browser.
| Layer | Technology |
|---|---|
| Backend | Rust + Tauri 2 |
| Frontend | Svelte 4 + SvelteKit + TailwindCSS |
| AI | Quantum SDK (reqwest-based, streaming) |
| Parsing | Custom regex-based COBOL lexer |
| Git | qe-git (CLI-based, zero libgit2) |
| Graphs | petgraph for dependency analysis |
| Knowledge | SurrealDB (in-memory graph DB) |
| Storage | SQLite (profiles, projects, scans) |
| Platforms | macOS, Windows, Linux, iOS, Android |
MIT