sudoprivacy/sudocode

Rust-native CLI coding agent for hackers — terminal-native, pipe-composable, scrollback-safe. Built because Claude Code chose non-coders.

What it solves

Sudo Code provides a high-control, low-ceremony CLI coding agent for engineers who prefer working in the terminal. It aims to shorten the path from intent to verified work by offering a tool that is inspectable, composable, and model-agnostic, avoiding the "black box" feel of many AI dashboards.

How it works

Built with Rust, scode operates as an "agent unit" that can be used as a standalone CLI, a copilot, or a worker. It integrates with various model providers (Anthropic, OpenAI, xAI, Gemini) and supports multiple deployment modes via different filesystem backends (standard local FS, Nexus VFS for remote kernels, or in-process syscalls). It supports a REPL for interactive use, one-shot prompts that can be piped into other Unix tools, and a headless ACP server for integration with editors or web clients.

Who it’s for

It is designed for "hackers" and engineers who live in tmux, SSH, or IDE terminals, automate repeated tasks, and want full control over their models, credentials, and permissions.

Highlights

  • Model Agnostic: Supports a wide range of providers including Anthropic, OpenAI, xAI, and Gemini.
  • Unix-Native Design: Supports shell pipes, JSON output, and inline ANSI interaction rather than a complex TUI.
  • Composable: Can be driven by humans, orchestrators (like Hydra), or other agents via the nexus VFS plane.
  • Inspectable State: Uses file-based configuration and JSONL sessions to keep state portable and readable.
  • Extensible: Supports MCP servers, plugins, and a variety of built-in tools for bash, file editing, and web searching.

Related

  • Project
  • Project
  • Project
  • Project
  • Project