Skip to content

About

Minimal Rust coding agent harness with external plugins and multi-wire LLM providers.

Topics

Resources

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

251 Commits

Folders and files

Repository files navigation

oxide-code

CI Coverage License: MIT WakaTime coding time for oxide-code

A minimal, extensible Rust coding agent harness (ox) built for experienced engineers who want direct control over models, gateways, configuration, and extensions in an open, customizable ecosystem.

Note

oxide-code is under active v0.2 development. v0.1 is archived at hakulattic/oxide-code-v0.1.

oxide-code terminal UI demo

Highlights

  • Minimal Rust core and language-agnostic extensions

    • Small, TUI-free Rust core (ox-core) with 4 built-in tools, SQLite session persistence, zero telemetry, and a workspace trust gate.
    • Process-isolated stdio JSON-RPC 2.0 plugins in any language for tools, commands, compaction, hooks, prompt sections, hints, and attachment converters (see Building Plugins).
    • Out-of-process MCP (ox-plugin-mcp), keeping ox-core MCP-agnostic.
  • Customizable permission gate, subagents, and deterministic skills

    • Minimal allow / deny / ask permission gate routed through PermissionRequest hooks, so users can customize or replace permission policies with their own handlers.
    • Unified subagent primitives with configurable depth caps and narrowing tool allowlists.
    • Always-active and matcher-triggered skills that load deterministically at session start or on matching tool calls without duplicate injection.
  • Open, reproducible configuration and package ecosystem

    • Layered, read-only declarative TOML configuration across config.toml, config.d/*.toml, per-kind drop-in directories, and CLI overrides.
    • Shareable package_roots bundling themes, skills, hooks, plugins, and prompts for Nix and Home Manager setups.
  • Provider-agnostic multi-wire client and model catalog

    • Direct Anthropic, OpenAI, and Google Gemini streaming wires with custom gateways, headers, and external credential commands.
    • Objective built-in model catalog with user and project overrides alongside named profiles.
  • Composable, declarative TUI

    • Mix TOML color palettes with glyph and layout presets (default, nerd, ascii, compact).
    • Configurable statusline styles (pill, plain, powerline) with external command segments.
  • Native ACP and headless modes

    • Native ox acp (Agent Client Protocol) server over stdio (ox-acp, with zero TUI dependency) for editor and IDE integrations.
    • Headless ox run alongside interactive ox chat.

Documentation

Browse the online documentation at ox.hakula.xyz, or read locally in the repository: start with the Getting Started guide, read Building Plugins to extend ox, or browse the documentation index for architecture, references, and contributor conventions.

Development

AGENTS.md is the contributor entry point for both people and coding agents.

License

Copyright (c) 2026 Hakula. Licensed under the MIT License.

About

Minimal Rust coding agent harness with external plugins and multi-wire LLM providers.

Topics

Resources

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages