Latest commit
History
Folders and files
Repository files navigation
co-sh
English | Português | Español | Русский | 中文 | 日本語
Cosh is a general-purpose coding agent for the terminal, with software engineering tools and computer tools that let it interact with graphical applications.
Multi-agent mode ( /agents ) — run external agents (Gemini, Claude, Codex, Cline, …) alongside the main agent in split panes, all reachable from the same prompt. Each agent keeps its own session, model and optional git worktree, and the main agent coordinates them — dispatching tasks and collecting reports as one team.
Computer tools via accessibility tree — the agent reads and operates graphical interfaces through a structured, compact representation, falling back to screenshots only when needed. Fewer images processed, fewer tokens consumed.
TUI built from scratch in Rust (Ratatui), inspired by OpenCode's UX. Providers, models and operating modes are configured right in the interface — almost zero manual setup.
Independent crates — the development tools live in crates decoupled from the application, reusable as libraries outside Cosh.
Installation
Tested on Linux and Windows. macOS hasn't been tested yet — if anything fails, open an issue with as much detail as possible.
Linux & macOS (also works on Windows via Git Bash / WSL):
curl -fsSL https://raw.githubusercontent.com/DiegoZaluski/co-sh/main/download.sh | bash
irm https: // raw.githubusercontent.com / DiegoZaluski / co - sh / main / download.ps1 | iex
Note: the curl | bash command does not work in PowerShell or CMD — Windows has no native bash . Use the PowerShell script above instead (Git Bash and WSL also work).
Optional variables: COSH_BIN_DIR (install directory), COSH_VERSION (specific version) and COSH_VARIANT ( slim , the default, or slim-embed , with local RAG via fastembed). On PowerShell, set them as $env:COSH_VERSION = "v0.1.0" before running the command.
After installing, run cosh in your terminal. If the install directory isn't on your PATH , the script prints the command to add it. If anything goes wrong during installation, open an issue — I'll be glad to help!
Crates
Roadmap
Laya/ONNX decision engine — optional onnx feature backed by the cosh-onnx crate; see the crate guide .
Graph-based harness orchestration — a new session mode for coordinating multiple harnesses.
License
About
Open-source agent and multi-agent orchestrator built in Rust. Fast TUI, computer use, and integrations with external agents like Codex and Goose.