Picocode is an open-source, lightweight CLI coding agent built in Rust by Dotan Nahum (jondot). It provides a compact, native terminal harness for interacting with language models to execute code generation, scanning, and refactoring tasks directly from the command line. In daily use, Picocode operates through command-line inputs driven by declarative YAML configuration files. Developers can specify model providers, define tailored personas, pass file contents as contextual prompts, and run structured code inspection workflows without the overhead of heavy interactive environments. What differentiates Picocode from larger CLI frameworks is its minimalist Rust architecture and focus on customizable file-prompt workflows. Rather than packaging a complex TUI or heavy background runtime, it focuses on fast startup times, straightforward persona configurations, and reusable scanning skill definitions. Picocode is open-source software distributed via GitHub. It operates on a bring-your-own-key model where execution costs are determined entirely by your configured LLM API provider.
Tags: ai agent, cli, coding agent, developer tools, OpenSource
picocode.yaml for setting models, behaviors, and parameters. - Custom personas — Ability to define and swap system personas to tailor model responses for specific engineering tasks. - File-based prompting — Direct ingestion of local files and project context into model prompts from the CLI. - Scanner skill templates — Structured scanning capabilities using skill configuration files like picocode.scan-skills.yaml.Picocode is suited for developers and DevOps engineers who want a lightweight, scriptable, Rust-based CLI agent with minimal setup and customizable YAML configurations. It is not designed for users seeking complex graphical terminal interfaces (TUIs) or interactive multi-agent chat workspaces.
bash curl -sSf https://raw.githubusercontent.com/jondot/picocode/main/install.sh | sh Alternatively, build the native binary from source using Cargo: bash git clone https://github.com/jondot/picocode.git cd picocode cargo build --releasebash cp picocode.yaml.example picocode.yaml export OPENAI_API_KEY="your_api_key_here"bash picocode --config picocode.yaml "Analyze this file for potential memory leaks" src/main.rsPart of CLI Coding Agents
Categories: AI Coding Agents, Code Assistants, Developer Tools