qwen-code-dev-bot/oh-my-cli
A minimal autonomous code-agent CLI built with Qwen Code
What it solves
oh-my-cli is a self-hosted code agent that allows users to read and edit files and execute shell commands via a terminal CLI. It addresses the need for a secure, inspectable way to let AI agents interact with a local codebase, providing strict safety boundaries and durable session management to prevent accidental or malicious workspace mutations.
How it works
The tool connects to any OpenAI-compatible endpoint. It operates under a "safety plane" that includes approval modes, folder-trust boundaries, and workspace path containment. It manages interactions as JSONL sessions, which can be resumed, compacted to save context, or undone turn-by-turn. It also provides a headless JSON event stream for automation and optional Electron-based desktop or web-based delivery boards for visualizing workflows.
Who it’s for
Developers who want an AI-powered coding assistant that runs in their terminal and can autonomously perform tasks on their local files and shell, but require high levels of control, safety, and session durability.
Highlights
- Safety-First Design: Features spoof-resistant approval previews, folder-trust boundaries, and a deterministic command policy where mutating tools fail closed by default.
- Durable Sessions: Supports resuming, compacting, exporting, and undoing/redoing specific turns without destroying unrelated work.
- Headless Automation: Provides a versioned JSON event stream, run summaries, and spend budgets to manage costs and execution.
- Multi-Interface Support: Includes a CLI, an Electron Desktop shell, and a local web delivery board for dynamic workflow visualization.
- Read-Only Side Questions: Allows users to ask clarifications about a session's context without interrupting the main task or mutating the workspace.
Related
- Project
- Project
- Project
- Project
- Project