R3bl Open Core

Developer tools

Fully async Rust TUI engine . For powering AI/LLM coding agents, Cloud/SSH workflows & interactive CLIs: non-blocking readline, inline dialogs, React/Elm-style full-screen TUI, Markdown editor, PTY multiplexing & rust-analyzer MCP server.

Your AI app calls the R3bl Open Core MCP server, which does the developer tools work and sends the result back to the chat.

About R3bl Open Core

R3bl Open Core is a community MCP server from r3bl-org, filed in our directory under developer tools. Fully async Rust TUI engine . For powering AI/LLM coding agents, Cloud/SSH workflows & interactive CLIs: non-blocking readline, inline dialogs, React/Elm-style full-screen TUI, Markdown editor, PTY multiplexing & rust-analyzer MCP server.

At a glance

Publisher
r3bl-org (community)
Runs
See the README for setup
Written in
Rust
License
Apache-2.0
GitHub stars
489

How to set up R3bl Open Core

  1. Follow the install steps in the R3bl Open Core README; it is written in Rust, so have that toolchain ready.
  2. Check the R3bl Open Core README for keys or settings; the registry lists none that R3bl Open Core requires.
  3. Add R3bl Open Core to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the R3bl Open Core tools to confirm the connection.
  5. Run one read-only task with R3bl Open Core first, and keep your app asking before each tool call until the results look right.

R3bl Open Core compared with similar servers

  • Oracle by oracle has fewer GitHub stars than R3bl Open Core (488 against 489); Oracle is official while R3bl Open Core is a community server, and both run locally.
  • GrayMatter by angelnicolasc has more GitHub stars than R3bl Open Core (490 against 489); both are community servers, and both run locally.
  • Stitch (gemini-cli-extensions) by gemini-cli-extensions has fewer GitHub stars than R3bl Open Core (488 against 489); both are community servers, and both run locally.

Before you connect R3bl Open Core

  • Give R3bl Open Core its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each R3bl Open Core tool call until you trust what it does with them.
  • Treat text that R3bl Open Core fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for R3bl Open Core on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for R3bl Open Core

How marketing and sales teams put R3bl Open Core to work, by company size. Pick the size closest to yours and start R3bl Open Core on one use case.

Small business

  • A small business with a developer can use R3bl Open Core to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask R3bl Open Core to explain and fix a marketing site issue without context switching between tools.
  • R3bl Open Core runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use R3bl Open Core to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect R3bl Open Core to keep scripts and automations documented and versioned as they change.
  • Start R3bl Open Core on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out R3bl Open Core with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on R3bl Open Core so web and marketing engineering share one reviewed way of working with AI.
  • R3bl Open Core is a community server, so have security review the code and pin a version before R3bl Open Core touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

R3bl Open Core README

From r3bl-org/r3bl-open-core on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

r3bl-open-core

██████╗  ██████╗  ██████╗
██╔══██╗██╔═══██╗██╔════╝
██████╔╝██║   ██║██║
██╔══██╗██║   ██║██║
██║  ██║╚██████╔╝╚██████╗
╚═╝  ╚═╝ ╚═════╝  ╚═════╝

Modernizing the Terminal: Taking Inspiration From Web and Desktop Apps

Despite the massive rise of AI/LLM coding agents & execution harnesses and cloud VM administration over SSH, terminal UI innovation has largely stagnated since the 1970s. Most CLI tools still rely on blocking single-threaded I/O, curses-era APIs, and fragile platform hacks - or rely on the heavy, fragile workaround of layering web stacks like Node.js, React, and ink onto the console. This introduces unreasonable memory bloat, high latency, broken keyboard shortcuts, and unpredictable instability that breaks down during long-horizon agentic workflows and sub-process orchestration.

ROC (r3bl-open-core) moves the terminal forward (with love & respect) into 2026 and beyond. ❤️

R3BL brings modern web and desktop app design patterns to the terminal, turning it into a place of focused productivity to build delightful, ergonomic, and rich text user interface (TUI) experiences.

Representing years of systems programming, performance optimization, and production-grade infrastructure design in Rust, R3BL re-imagines the terminal for the modern era - making rich, reactive TUI applications accessible over SSH to any terminal emulator across Linux, macOS, Windows, and Unix/BSDs (such as FreeBSD).

R3BL TUI is fundamentally different from vim, neovim, and ratatui through its immediate mode reactive UI, clean separation between rendering and state mutation, and purely async architecture - it never blocks the main thread, and natively embraces multithreaded execution and multi-process orchestration.

Primary Use Cases

ROC is designed to power four primary use cases:

  • 🤖 AI/LLM Coding Agents & Execution Harnesses: Building fast, interactive terminal interfaces and execution harnesses for AI/LLM coding agents in pure Rust. While popular agent tools are written in Node.js and ink (see origin story), Node-based runtimes struggle with runaway memory consumption, fragile sub-process control, and unstable PTY session management when orchestrating heavy, long-running tools in sandboxed environments (containers, microVMs, systemd-nspawn machines, etc.). Furthermore, Node-based runtimes struggle with terminal input decoding, frequently dropping modifier keys, mangling keyboard chords, and introducing sluggish ESC key disambiguation lag. ROC provides a rock-solid, pure Rust foundation engineered for native PTY orchestration, zero-latency ANSI input decoding, deterministic process lifecycles, flicker-free diff rendering, and minimal resource overhead.

  • ☁️ DevOps & Cloud Workflows: Administering modern cloud infrastructure shouldn't feel like using stone-age tools to build a satellite. Juggling remote VMs, containers, and multi-process server environments through bare terminal sessions is slow and error-prone. ROC transforms terminal workflows into a rich, responsive workspace with in-memory virtual terminal emulation, virtual tabs, 2D horizontal panning across wide logs, and double-buffered diff rendering that stays lag-free even over high-latency SSH connections.

  • 📝 Interactive Document & Markdown Workflows: Rich interactive editing, syntax highlighting, and real-time code block execution directly inside Markdown documents in the terminal, bridging documentation directly with live operations.

  • 🛠️ Developer Productivity Infrastructure: High-efficiency developer tooling and composable terminal infrastructure to enhance knowledge capture, eliminate friction, and streamline everyday command-line workflows.

The framework supports the full spectrum from CLI to inline dialogs to full-screen TUI and terminal multiplexing experiences with deep systems integration.

ROC Workspace Architecture: Core Engine, Productivity Apps & Build Tools

With over 2.7M downloads across crates.io, ROC (r3bl-open-core) provides production-grade systems infrastructure across five specialized crates:

Crate Purpose
r3bl_tui Core foundational async TUI engine, reactive runtime & PTY primitives
r3bl-cmdr Suite of productivity apps (giti, edi, env-source)
r3bl-build-infra Developer infrastructure & build tools (cargo-rustdoc-fmt, spawny)
r3bl-rust-analyzer-mcp-server High-performance std-thread rust-analyzer MCP server for coding agents & IDEs
r3bl_analytics_schema Shared schema for privacy-first analytics & upgrade checks
Built-from-Scratch Primitives: The Four Pillars of r3bl_tui

At the heart of ROC is r3bl_tui, which provides four foundational interaction primitives designed from the ground up in pure Rust:

  1. 📟 CLI & REPLs (readline_async): Unlike GNU readline which is single-threaded and blocking, our implementation is fully async, interruptable, and non-blocking, allowing background spinners and tasks to print concurrently without pausing line editing or blocking your main thread.

  2. 📑 Inline / Partial TUI (choose): Single-shot interactive multi-select dialogs that enter raw mode and render inline in terminal scrollback without taking over the screen or disrupting the back buffer (similar to fzf in spirit).

  3. 🖥️ Full-Screen TUI: Complete raw mode with alternate screen support, fully async and panic-safe terminal restoration. Build React and Elm inspired apps with unidirectional data flow, responsive flexbox layouts, declarative CSS-like styling, reactive state architecture, reusable modal dialogs with asynchronous autocomplete, and a full-featured Markdown editor component with custom parser, custom syntax highlighter, and fast zero-copy gap buffer.

  4. 🔀 Terminal Multiplexing & PTY: In-memory virtual terminals, virtual terminal tabs, deterministic process orchestration, and multiplexing primitives (build your own tmux or sandboxed AI/LLM coding agent execution harness) featuring 2D horizontal viewport panning and decoupled throughput.

Power via Composition: Designed to be loosely coupled and strongly coherent, you can pick and choose only what you need or compose them seamlessly within a single application. Transition smoothly from a non-blocking readline_async prompt into an inline choose menu, launch a full-screen TUI for complex tasks, or orchestrate background PTY subprocesses, all sharing application state without process restarts.

Automated Headless Testing & Benchmarking

The entire framework across all 4 pillars is testable across Linux, macOS, and Windows. Powered by our own PTY pillar, real production code runs headlessly in an isolated virtual terminal environment, enabling end-to-end testing of interactive apps without requiring human interaction:

  • PTY Automated Interactive Testing: Enables end-to-end testing of interactive apps via headless PTY subprocess orchestration with the generate_pty_test! macro. Automate key sequences, window resizing, and screen output verification in completely isolated child processes without someone having to sit and manually type at a keyboard.
  • Visual UI Snapshot Testing: Everything renders to an offscreen buffer (OfsBuf), providing built-in visual snapshot testing. Easily diff and assert the actual rendered terminal screen state headlessly generated in a real PTY environment.
  • Sans-IO In-Memory Terminal: Pure functional VT-100 parser verifying virtual terminal screen buffers directly in RAM with zero OS syscalls.
  • Decoupled I/O Devices: InputDevice and OutputDevice abstract terminal I/O away from physical stdin and stdout, allowing input events and output streams to be driven and inspected directly in tests without taking over your terminal.
  • Empirical Benchmarking & Flamegraph Profiling: Continuous performance measurement via Rust's built-in benchmarking suites and automated flamegraph profiling against established baselines rather than guesswork.
Engineered for Performance, Correctness & Reliability
  • 📐 Zero-Cost Type-Proof Architecture & Mathematical Correctness: Rather than relying on ambiguous primitive integers (usize, u16) and runtime assertions, formal type theory and trait hierarchies make illegal states unrepresentable:

    • The Newtype Pattern for Domain Separation & Coordinate Safety: Replaces raw primitive integers with zero-cost newtypes (CRow, VPRow, CHeight), eliminating primitive obsession and transposition bugs with zero runtime memory or performance overhead:
      • 0-Index vs 1-Index Separation: Strongly types the distinction between 0-based buffer positions (IndexOps: VPRow, VPCol, CRow, CCol), 1-based terminal coordinates (TermRow, TermCol), and 1-based lengths (LengthOps: VPHeight, VPWidth, CHeight, CWidth).
      • Safe Bidirectional Conversions: Pairing traits provide explicit conversions between 0-based and 1-based domains (to_zero_based(), from_zero_based(), convert_to_length()).
      • Algebraic Identities & CSI Zero Protection: Enforces algebraic laws (Index + Length = Index, Index - Index = Length) to eliminate dangerous manual arithmetic on raw integers, preventing off-by-one errors (< vs <=), negative underflow, and CSI zero-index terminal crashes (TermRowDelta, TermColDelta).
      • Empirically Proven Zero-Cost Layout: Newtypes share the identical memory layout, size, and ABI of raw primitives (passed in CPU registers with zero heap allocation or indirection) and are completely erased during LLVM compilation; Criterion benchmarks confirm execution differences remain strictly within the +/- 2% noise margin (FUNARCH 2026).
    • Dual-Domain Coordinate Trait Hierarchy: Strict trait boundaries isolate 64-bit memory coordinates (StorageCoordinate, usize: CPos) from 16-bit visual coordinates (ScreenCoordinate, u16: VPPos), requiring explicit camera viewport transformations.
    • Explicit Narrowing/Widening Traits & Zero Raw as Casts: Replaces dangerous, silent primitive as casting across the codebase with explicit, type-safe traits (WideningCastTo for lossless promotions and NarrowingCastTo for checked/clamped reductions), preventing accidental truncations and sign-loss bugs.
    • Eliminating Boolean Blindness with Witness Enums: Grounded in ACM research (FUNARCH 2023 and Parse, don't validate), boundary and bounds checks never return uninformative bool flags. Instead, they return structured witness enums (ArrayOverflowResult, RangeBoundsResult), forcing callers to exhaustively handle all boundary states at compile time.
  • 🦄 First-Class Unicode & Complex Emoji Engine (GCString): Most terminal emulators and TUI libraries break when handling "jumbo emojis", zero-width joiners (ZWJ), skin tone modifiers, and wide characters (display width > 1), causing visual tearing, misaligned borders, and string-slicing panics. ROC solves this from the ground up via GCStringOwned:

    • Three Distinct Coordinate Spaces: Strictly decouples memory position (ByteIndex, UTF-8 offset), logical editing position (SegIndex, user-perceived grapheme clusters), and visual column position (VPCol, actual terminal display width).
    • Complex Emoji & Modifier Support: Correctly measures and renders multi-codepoint sequences (e.g., 👨🏾‍🤝‍👨🏿 spans 5 codepoints and 7 code units, but resolves to 1 logical grapheme segment and 2 visual columns).
    • Panic-Proof Slicing & Boundary Safety: Guarantees cursor navigation, backspace, and substring slicing never split UTF-8 codepoints or mid-grapheme clusters, eliminating runtime slicing panics across editors, line inputs, and diff rendering.
  • 🔒 Supply-Chain Integrity & Owning Our BOM: In an era of software supply-chain attacks, maintainer burnout, and abandonware, our explicit architectural goal is to own our Bill of Materials (BOM). Critical primitives (including our custom direct_to_ansi terminal I/O backend, VT-100/ANSI parser, zero-copy gap buffer, and Markdown parser) are engineered in-house in pure Rust. We strictly limit external dependencies to actively funded, strongly supported, and battle-tested industry foundations (such as tokio, mio, and mimalloc), safeguarding production applications against transitive bloat, sudden deprecations, and upstream vulnerabilities.

  • 🌍 Multi-Backend Architecture (Linux, macOS, Windows, Unix/BSDs): Native, first-class support across platforms using the best backend for each OS:

    • Linux: Our custom high-performance, Linux-native direct_to_ansi engine (talking directly to the terminal device via mio/epoll for minimal latency and maximum throughput, without the use of crossterm).
    • macOS, Windows & Unix/BSDs: Currently powered by crossterm. We plan to expand direct_to_ansi in the future to replace crossterm across all platforms.
  • 🚀 SIMD Contiguous Memory Layout (Flat2DArray): Single contiguous 1D allocation indexed as 2D, delivering 2.3x rendering speedups, SIMD chunk batching, and eliminating pointer indirection (implementation deep dive and memory latency theory).

  • 🧑‍🤝‍🧑 Double-Buffered SSH-Optimized Diff Rendering: Double-buffered compositor computes minimal cell-level diffs between frames, painting only what changed for smooth, flicker-free performance over high-latency SSH connections, with multi-layer Z-order compositing for modal overlays and popups.

  • 🔀 Terminal Multiplexing & PTY Architecture (PTYMux): Decouples physical display constraints from subprocess execution via virtual terminals and process orchestration:

    • 2D Viewport Panning in PTY Sessions (Horizontal Scrolling without Wrapping): Traditional terminal emulators (like xterm, Alacritty, Kitty) lack horizontal panning for standard CLI tools (like cat, grep, git log, dmesg), forcibly hard-wrapping wide lines across rows and mangling tabular data, JSON, or stack traces into unreadable spaghetti. When running any CLI program inside a ROC PTY session (a concrete manifestation of which is pty_mux_example, powered by GrowableBuffer and PTYMux), ROC decouples the physical viewport from the virtual terminal canvas width (e.g., 1,000+ columns). The child process writes into this wide virtual canvas without line wrapping, allowing users to smoothly pan horizontally (Shift + Mouse Wheel or trackpad gestures) across the output without layout destruction.
    • Decoupled Throughput vs. Terminal Bottlenecks (Faster Than Bare xterm): In traditional terminal emulators (like xterm), running a command that dumps megabytes of text (e.g., cat large.log) blocks the process on stdout I/O while the terminal synchronously parses escape codes, recalculates line wrapping, and rasterizes every glyph. Counter-intuitively, running that same command inside a ROC PTY session (such as pty_mux_example) running inside xterm is often significantly faster than running the command directly in bare xterm. ROC's headless VT-100 parser (OfsBufVT100) acts as an in-memory shock absorber, ingesting raw subprocess output at memory bus speeds, while double-buffered diff rendering paints only the visible viewport to the host terminal at controlled display intervals. Subprocesses drain stdout without stalling on terminal drawing or network I/O backpressure.
  • 🕊️ Terminfo Liberation: Completely frees your applications from legacy terminfo / termcap databases and ncurses baggage by querying modern ANSI protocols directly at runtime.

  • 📜 CSS-Like Styling & Declarative Layouts: Responsive flexbox layouts and declarative CSS-like styling inspired by React and Elm.

  • 🎨 Intelligent Color Degradation: Automatically detects terminal capabilities and gracefully degrades colors: 24-bit Truecolor -> 256 colors -> 16 ANSI colors -> Monochrome (black & white). Gracefully handles environments lacking truecolor support (such as pre-macOS 26 Tahoe Terminal.app, Linux virtual consoles, or headless CI runners), complete with dynamic lolcat rainbow color-wheel palettes that automatically adapt to terminal color capability.

  • ⌨️ Modern Terminal Input & Keyboard Protocol Architecture: Combines Linux-native kernel TTY polling via direct_to_ansi with an IO-free Sans-IO protocol state machine for robust, zero-latency input handling across local terminals and SSH:

    • Linux-Native direct_to_ansi Driver: Bypasses crossterm and libc FFI wrappers on Linux by talking directly to /dev/tty via mio/epoll(7), eliminating thread-blocking reads and CPU-spinning loops.
    • Disambiguating Modifier Chords & Key Collisions: Reliably decodes chords and combinations that traditional terminal runtimes mangle or drop - such as Shift+Enter, Ctrl+Enter, Ctrl+Tab, Ctrl+Number/Punctuation, Ctrl+I vs Tab, and Alt+[ collisions.
    • Kitty Keyboard Protocol (CSI u) Progressive Enhancement: Negotiates advanced keyboard protocols with modern terminals (Kitty keyboard protocol), enabling full modifier reporting, key-release events, and unambiguous key sequences with graceful legacy fallback.
    • Zero-Latency ESC Disambiguation (MaybeMore): Replaces brittle 50-100ms timeout heuristics with an internal state machine (KernelDrained, KernelMayHaveMore), achieving 0ms zero-latency ESC handling while correctly reassembling multi-packet escape sequences across SSH.
    • OSC Terminal Query Absorption & SGR Mouse Reporting: Frames and absorbs background terminal responses (such as OSC 10/11 color queries and OSC 52 clipboard) on stdin to prevent terminal text leakage, while supporting full SGR mouse tracking (clicks, drags, scroll wheel).
  • 🧩 Composable "Applet" Architecture & Shared State: Enables multiple integrated TUI experiences ("applets") to run within the same process and terminal window. Supports shared application state across sub-apps alongside local view state, allowing seamless transitions and routing between Full-Screen TUI views and inline Partial-TUI dialogs without process restarts or lost context.

Welcome to the monorepo and workspace

All the crates in the r3bl-open-core monorepo provide lots of useful functionality to help you build TUI (text user interface) apps, along with general niceties & ergonomics that all Rustaceans 🦀 can enjoy 🎉.

Any top-level folder in this repository that contains a Cargo.toml file is a Rust project, also known as a crate. These crates are likely published to crates.io. Together, they form a Rust workspace.

Here's the changelog for this monorepo containing a Rust workspace. The changelog is a great place to start to get familiar with what has changed recently in each of the crates in this Rust workspace.

This workspace contains crates for building TUI, CLI, TTY apps

The r3bl_tui crate is the main crate that contains the core functionality for building TUI apps. It allows you to build apps that range from "full" TUI to "partial" TUI, and everything in the middle.

Here are some videos that you can watch to get a better understanding of TTY programming.

This crate provides five entry points for building interactive terminal applications. Each internalizes terminal availability and size checks, and returns a TuiAvailability<T> enum:

Entry Point Purpose Best For
TerminalWindow::main_event_loop() Full TUI framework Complex, multi-component apps with layouts, dialogs, and custom logic.
ReadlineAsyncContext::try_new() Async Readline CLI-style line input, REPLs, and background logging.
choose() Interactive Selection Prompting user to select one or more items from a list.
PTYMuxBuilder::build() Terminal Multiplexer Wrapping existing CLI tools (like htop, bash) in a multi-pane TUI.
Spinner::try_start() Indeterminate Progress Long-running tasks needing visual feedback (standalone or embedded).
Full TUI (async, raw mode, full screen) for immersive TUI apps

tui gives you "raw mode", "alternate screen" and "full screen" support, while being totally async. It provides a full-featured framework with:

  • App trait: Unidirectional data flow architecture.
  • FlexBox: Responsive layout engine.
  • Component System: Reusable UI elements (editors, dialogs, etc.).

An example of this is the "Full TUI" app edi in the r3bl-cmdr crate. You can install & run this with the following command:

cargo install r3bl-cmdr
edi
Partial TUI (async, partial raw mode, async readline) for choice based user interaction

choose allows you to build less interactive apps that ask a user to make choices from a list of options and then use a decision tree to perform actions.

An example of this is this "Partial TUI" app giti in the r3bl-cmdr crate. You can install & run this with the following command:

cargo install r3bl-cmdr
giti
Partial TUI (async, partial raw mode, async readline) for async REPL

readline_async gives you the ability to easily ask for user input in a line editor. You can customize the prompt, and other behaviors, like input history.

Using this, you can build your own async shell programs using "async readline & stdout". Use advanced features like showing indeterminate progress spinners, and even write to stdout in an async manner, without clobbering the prompt / async readline, or the spinner. When the spinner is active, it pauses output to stdout, and resumes it when the spinner is stopped.

An example of this is this "Partial TUI" app giti in the r3bl-cmdr crate. You can install & run this with the following command:

cargo install r3bl-cmdr
giti

Here are other examples of this:

  1. tcp-api-server: An interactive async REPL client demonstrating readline_async with concurrent background tasks and progress spinners.
  2. tui/examples: Standalone examples in this workspace demonstrating async readline (readline_async.rs), spinners (spinner.rs), shell (shell_async.rs), and PTY orchestration.
Terminal multiplexer

PTYMux::run() lets you build a terminal multiplexer similar to tmux. It manages multiple child processes (each in its own PTY) with per-process virtual terminal buffers and instant switching. See the pty_mux_example for a working example that wraps bash, htop, and other CLI tools.

Power via composition

You can mix and match "Full TUI" with "Partial TUI" to build for whatever use case you need. r3bl_tui allows you to create application state that can be moved between various "applets", where each "applet" can be "Full TUI" or "Partial TUI".

Main library crate

There is just one main library crate in this workspace: r3bl_tui.

To add r3bl_tui to your own Rust project:

Option 1: crates.io (stable release)

Use this if you prefer stable, versioned releases:

cargo add r3bl_tui

Or in your Cargo.toml:

[dependencies]
r3bl_tui = "0.7.8"

Option 2: GitHub main branch (bleeding edge)

Bug fixes and patches land on main immediately before being published to crates.io. If you need the latest fixes or rapid iteration:

cargo add r3bl_tui --git https://github.com/r3bl-org/r3bl-open-core.git --branch main

Or in your Cargo.toml:

[dependencies]
r3bl_tui = { git = "https://github.com/r3bl-org/r3bl-open-core.git", branch = "main" }
Main binary crate

There is just one main binary crate that contains user facing apps that are built using the library crates: r3bl-cmdr. This crate contains these apps:

  • giti: Interactive git workflows made easy.
  • edi: Beautiful Markdown editor with advanced rendering and editing features.
  • env-source: Fast cross-platform environment loader evaluating scripts across POSIX sh, Fish, PowerShell, and cmd.exe.

You can install & run this with the following command:

cargo install r3bl-cmdr
# Interactive git workflows made easy.
giti --version
# Beautiful Markdown editor with advanced rendering and editing features.
edi --version
# Fast cross-platform environment loader.
env-source --version
Build infrastructure and developer tooling crate

The r3bl-build-infra crate provides developer productivity tools:

  • cargo-rustdoc-fmt: Formats markdown tables and converts inline links to reference-style links in rustdoc comments.

You can install this binary with:

cargo install r3bl-build-infra
# Or from local source within this workspace:
fish run.fish install-build-infra

Project Task Organization

This project uses a task management system for organizing day-to-day development work using detailed task files with implementation plans in the ./task/ directory.

Task Management Files
  • ./task/ - Directory containing detailed task management files:
    • Active tasks: task_*.md files in root of ./task/ - Complex tasks currently in progress
    • pending/: Tasks queued for later work
    • done/: Completed task files moved from root after all steps are marked [COMPLETE]
    • archive/: Abandoned tasks retained for historical reference
    • AGENTS.md: Rules and format specifications for creating and maintaining task files
Task File Format

Detailed task files follow a structured format defined in ./task/AGENTS.md:

Structure:

# Task Overview

High-level description, architecture, context, and the "why"

# Implementation Plan

## Step 0: Do Something [STATUS]

Detailed instructions for this step

### Step 0.0: Do Subtask [STATUS]

Details about subtask

### Step 0.1: Do Another Subtask [STATUS]

Details about another subtask

## Step 1: Do Something Else [STATUS]

More detailed steps...

Hierarchical organization:

  • Steps are numbered (Step 0, Step 1, Step 2, etc.)
  • Substeps use decimal notation (Step 0.0, Step 0.1, etc.)
  • Table of contents automatically generated and maintained using doctoc
  • Formatting standardized with prettier

Status markers:

  • [COMPLETE] - Step finished and verified
  • [WORK_IN_PROGRESS] - Currently working on this step
  • [BLOCKED] - Cannot proceed (waiting for dependency)
  • [DEFERRED] - Postponed to later
Task Workflow Commands

The /r3bl-task slash command (defined in AGENTS.md: task-tracking-system) manages the task lifecycle:

Create a new task:

/r3bl-task create my_feature_name
  • Creates ./task/task_my_feature_name.md from your detailed plan
  • Use after you have a comprehensive plan in your todo list
  • Initializes structure with steps and status markers

Update an existing task:

/r3bl-task update my_feature_name
  • Updates progress markers in ./task/task_my_feature_name.md
  • Moves completed task files to ./task/done/ when all steps are [COMPLETE]

Resume working on a task:

/r3bl-task load my_feature_name
  • Loads ./task/task_my_feature_name.md for continued work
  • Resumes from the last step marked [WORK_IN_PROGRESS]
  • If none found, asks which incomplete step to start with
Workflow Connection

The task organization workflow connects strategic planning with tactical execution:

  • Strategic Planning (docs/ folder): Feature roadmaps, architectural decisions, design documents
  • Planning to Active Work: Complex features are documented in docs/ first.
  • Tactical Execution:
    1. Complex tasks get detailed planning → /r3bl-task create → ./task/task_*.md
    2. Work progresses through hierarchical steps with /r3bl-task update marking progress
    3. Completion → Task moved to ./task/done/ via /r3bl-task update

This approach (docs → ./task/) ensures strategic planning, tactical planning, and detailed execution are well-organized and connected.

Development Tools Integration

R3BL provides IDE extensions to enhance your development workflow:

For VSCode Users

R3BL provides custom VSCode extensions including Task Spaces (organize editor tabs by context), theme, and enhanced syntax highlighting. See the R3BL VSCode Extensions section below for installation and detailed feature descriptions.

Workflow Integration:

The R3BL Task Spaces extension helps you organize editor tabs by context (e.g., one space for features, one for docs, one for debugging) while the ./task/ files track your implementation progress.

Documentation and Planning

We invest heavily in documentation quality because it is the right thing to do. Also, research shows it is the single most important factor developers consider when evaluating open source projects. In the Rust ecosystem specifically, documentation is the #1 crate evaluation criterion (RFC 1824), and 91% of practitioners depend on documentation for adoption decisions (2024 study). Every public API has rustdoc comments with usage examples, and doc tests verify that every example compiles and runs.

Our documentation standards are not aspirational - they are machine-enforced. Conventions for voice, structure, links, and formatting are codified as an AI (LLM) skill that runs during development, not a style guide that sits in a wiki collecting dust. We also operationalize inclusivity at the documentation level: our Pedagogical Links for Inclusivity rule requires linking domain-specific terms to external references so no reader is excluded by assumed knowledge - a concrete, measurable practice rather than a vague aspiration.

The docs/ folder contains comprehensive documentation for this project, including:

Documentation Philosophy

Read the rest of the R3bl Open Core README on GitHub

Questions about R3bl Open Core

What is the R3bl Open Core MCP server?

Fully async Rust TUI engine . For powering AI/LLM coding agents, Cloud/SSH workflows & interactive CLIs: non-blocking readline, inline dialogs, React/Elm-style full-screen TUI, Markdown editor, PTY multiplexing & rust-analyzer MCP server. R3bl Open Core is maintained by r3bl-org on GitHub at r3bl-org/r3bl-open-core, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the R3bl Open Core MCP server?

R3bl Open Core doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (r3bl-org/r3bl-open-core). Like most servers, R3bl Open Core ends with a command or URL you paste into your AI app's MCP config.

Does R3bl Open Core need an API key?

The registry lists no required keys for R3bl Open Core. Check the R3bl Open Core README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is R3bl Open Core an official MCP server?

No. R3bl Open Core is a community server maintained by r3bl-org. Community servers can be excellent; read the code and the open issues before you give R3bl Open Core access to company data.

What license is R3bl Open Core under?

R3bl Open Core is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of R3bl Open Core; the service it connects to has its own terms.