Skip to content
opencrudePublic

About

Open-source, cross-platform agentic development environment (ADE) for the terminal: agentic coding with subagents, LSP editor, persistent terminals, Git review, workspace memory and right-to-left text.

Topics

Resources

Stars

31 stars

Watchers

1 watching

Forks

Latest commit

 

History

827 Commits

Folders and files

Repository files navigation

Crude icon: a drop of crude oil with a terminal prompt

Crude

An open-source, cross-platform agentic development environment (ADE) for the terminal.
AI agents, a language-server editor, persistent terminals and Git review in one workspace.
Any model, hosted or local. Right-to-left text in every pane.

Latest release Checks License: Apache-2.0 Cross-platform: Linux, Windows and macOS Right-to-left: Arabic, Persian and Hebrew

Install  |  Get started  |  Features  |  Road to v1  |  Documentation  |  Website

crude-demo.mp4

Warning

Crude is beta software. Crude and its agents change files and run commands with your user permissions. Crude is not a security sandbox. Commit your work, keep backups and review what agents do.

Why Crude

Crude puts the whole development loop in one terminal window. You and the AI agents share one workspace: the same editor, terminals, Git and history.

  • Edit by hand or hand off a task. You do not have to choose. Agents work beside you with real tools, in the code you have open.
  • Every change stays reviewable. Agents report back with evidence. You review each diff, stage or discard hunks, and restore earlier versions from Local History.
  • Your work keeps running. A per-user core keeps sessions, agents and terminals alive when you close the window. Open Crude again, on the same computer or over SSH, and continue.
  • The harness is yours. Project guidance, prompts, tools, Skills and MCP servers stay editable. Choose a hosted or local model for each agent role.
  • Context survives long work. Compaction keeps the whole history, and workspace memory carries decisions and lessons into the next session.

Install

Platform Command
Linux x86-64 (glibc 2.35+) curl -fsSL https://opencrude.github.io/linux.sh | sh
Windows x64 (PowerShell 5.1+) irm https://opencrude.github.io/windows.ps1 | iex
macOS No release yet. Build from source.

Run the same command again to update. The installation guide covers the optional GUI window and manual installation. Release files are on the releases page.

Get started

Run crude. You do not need to learn any options first: Crude guides you from there.

  1. Choose a project. Run crude in your project folder. On first use, Crude shows a short introduction and then a folder picker that starts at that folder. Confirm it or choose another folder.
  2. Set up AI. Crude asks for a provider account and two models: one for the main agent, and a fast, low-cost one for Errand, the agent that does background work such as checkpoints, memory and language-server checks.
  3. Give a task. Type what you want and press Enter.

Press Ctrl+Alt+P at any time to see every command and its shortcut.

Ways to use Crude

Everything starts from crude. The table shows where each way of working lives.

Way of working How
A project workspace Run crude in the folder, or pick the folder in the project picker. The editor, terminals, Git and agents open for that project.
One file, fast Run crude path/to/file. The file opens in the full editor, with the folder tree closed and no project scan. Choose Open folder as workspace to get the whole project; your unsaved edits stay.
Several projects Open Recent Workspaces in the side rail, or Switch Workspace in the command palette. Work in the other projects keeps running.
Earlier sessions Open Workspace in the footer and choose Sessions. Previous sessions are listed by day.
A remote machine Open Remotes in the side rail, add an SSH connection and connect, or run crude --ssh build-host --workspace /srv/project. The window stays local. Agents, language servers and terminals run on the server, and SSH alone is enough.
Automation Run crude --mcp so that another agent or a script can control a running Crude as an MCP server. It is read-only unless you allow more with --mcp-effects.

For a remote machine, use the same Crude build on both computers, set up key-based SSH and verify the server's host key first. See remote sessions.

Features

Area What you get
Agents Parallel agents and subagents, each with an optional isolated Git worktree. Plan mode, goals, session forks, and reports with evidence. The Board shows what agents send each other.
Editor Completion, hover, rename, code actions, inlay hints, semantic highlighting and project-wide problems from language servers.
Terminals Embedded terminals built on the Ghostty terminal engine. They keep running when you close the window.
Git and review Stage or discard files and hunks, commit, and approve risky commands before they run. Restore earlier versions of files from Local History.
Context and memory Compaction keeps the whole history. Workspace memory keeps decisions, conventions and lessons, and you can search past sessions.
Models Hosted or local, open or closed. Choose a model for each agent role.
Skills and MCP Search for Agent Skills and MCP servers and install them from Settings.
Right-to-left text Arabic, Persian and Hebrew in every pane. See below.

Right-to-left text

Crude has full support for Arabic, Persian and Hebrew in every pane: the editor, the chat, the terminals and every dialog.

Most terminal programs leave right-to-left text to the terminal, and many terminals show it reversed or with unjoined letters. Crude arranges the text itself and sends finished cells, so the text reads correctly in Windows Terminal and on Linux.

  • Correct order and shape. Crude applies the Unicode Bidirectional Algorithm (UAX #9) and Arabic letter joining.
  • Logical editing. The caret, selections, search matches, diagnostics and copied text follow the source order, not the screen order.
  • Readable mixed text. Code tokens keep their own direction inside right-to-left sentences.
  • A font with the glyphs. The Windows installer and the Linux GUI install add Crude RTL, a monospace font for Arabic and Hebrew script.

Right-to-left support is a v1 gate: it must not regress. See the bidi reference.

The road to v1

Crude is beta and ships often; see the releases. A version number alone does not make a release stable, so v1 has six gates. Each gate needs evidence on real hardware. The stable v1 plan holds the criteria, the order of work and what already ships.

Gate What v1 requires Status
1. Weak-machine smoothness No visible slowdown on a ThinkPad T450-class laptop: dual-core CPU, 8 GiB RAM, SSD. Input-to-paint stays at 16 ms or less (p95), with no stall over 32 ms. Open
2. Trampoline sandbox Two Crude cores. The workspace runs in a throwaway microsandbox microVM. The master core on the host hides host details and audits every message in and out. Open
3. History import Browse, search and import sessions from widely used coding agents (Claude Code, Codex, Cursor, Gemini CLI, OpenCode and more) in a visual browser like agent-dump. Open
4. Native ACP Run vendor agents over the Agent Client Protocol under your own login and subscription, within the vendor's terms. Crude does not copy, store or proxy your credentials. Open
5. Bidirectional text Arabic, Persian and Hebrew ship today. They must not regress. Shipped
6. Plugins A plugin platform in Lua or WebAssembly that gives plugins Crude's own TUI components, a registry with a browser in the product, and three complete plugins: an HTTP client in the class of the JetBrains HTTP Client and Postman, a database browser, and a notebook in the style of NotebookLM. Each core has its own plugins, and switching between local and remote cores never breaks the TUI. Open

Build from source

You need the Go version in go.mod, Zig 0.16.0 and Git. Linux also needs a C compiler, libc headers and tic from ncurses.

Linux
make libghostty
. scripts/libghostty_env.sh
go run .

Run make build for a standalone binary.

macOS

Install the Xcode Command Line Tools (xcode-select --install), then run:

make libghostty
make build
./crude

This builds Crude and its embedded terminal library natively. You do not need the Ghostty app, full Xcode or a Metal device.

Windows
scripts/bootstrap_libghostty.ps1
. scripts/libghostty_env.ps1
go run .

Source builds use the ~/.crude-dev profile, separate from the installed release in ~/.crude. Set CRUDE_HOME to use another profile.

Documentation

Contributing

Report a problem or suggest an improvement. For a display bug, attach a screenshot. For an interaction or animation bug, show what happens before and after the input. Remove private content before posting.

Pull requests are welcome. Read AGENTS.md first: it holds the rules for every change and a map to the detailed contracts. Run make hooks once per clone so that git push runs the same convention checks as CI. The validation guide lists the other checks.

If Crude is useful to you, star the repository. It helps other developers find it.

Contributors

See all contributors.

License

Crude's original code is licensed under Apache-2.0. This is not a dual license. Third-party code keeps its own license; see NOTICE and Codex attribution. LICENSE-MIT applies only to included third-party material.

About

Open-source, cross-platform agentic development environment (ADE) for the terminal: agentic coding with subagents, LSP editor, persistent terminals, Git review, workspace memory and right-to-left text.

Topics

Resources

Stars

31 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages