4 December 2026

AI and agents, every day. Straight to it.

AgentsQuick notes

The co-sh orchestrator coordinates external agents in split terminal panes

co-sh runs agents like Codex and Claude in one terminal, with a main agent dispatching tasks to each.

Lucas Ferraz

· 2 min read

Read in Portuguese

The /agents command is the core of co-sh. It opens external agents such as Gemini, Claude, Codex and Cline in split panes next to the main agent, all reachable from the same prompt. Each pane keeps its own session and model and can work in a separate git worktree. The main agent hands out tasks and gathers each agent's reports.

The co-sh repository, maintained by DiegoZaluski, was shared on Hacker News on November 10. Its terminal interface is written in Rust with Ratatui, modeled on OpenCode's user experience, and the code is licensed under Apache-2.0.

To drive graphical applications, co-sh reads the accessibility tree and falls back to screenshots only when it has to. According to the README, that cuts the number of images processed and the tokens spent.

The code is split into crates that can be reused outside the app:

  • cosh-tools: development tools and computer-use tools;
  • cosh-tui: terminal widgets, including markdown and diff rendering;
  • cosh-sdk: an SDK for building agents on top of co-sh;
  • cosh-recall: memory and context recall;
  • cosh-onnx: an ONNX decision engine, enabled through the onnx feature.
curl -fsSL https://raw.githubusercontent.com/DiegoZaluski/co-sh/main/download.sh | bash

That command downloads the repository's install script and runs it locally. The COSH_VARIANT variable picks between slim, the default, and slim-embed, which adds local retrieval-augmented generation (RAG) via fastembed. Per the README, installation has been tested on Linux and Windows; macOS has not been tested yet.

Lucas Ferraz

Code & open source.

Read articles by Lucas FerrazEditorial policy
Report an error

Use 10–1,000 characters; a reply email shares this space.

Next in your reading list