Skip to content
aidreamyPublic

About

Open source agent and multi-agent orchestrator built in Rust. Fast TUI, computer use, and integrations with external agents like Codex and Goose.

Topics

Resources

Stars

18 stars

Watchers

0 watching

Forks

Repository files navigation

Morpheus

English | Português | Español | Русский | 中文 | 日本語

ASCIITerminal

Morpheus is a general-purpose coding agent for the terminal. It ships software engineering tools plus computer tools that let it interact with graphical applications.

Why Morpheus?

Morpheus is not meant to replace established coding agents. It is designed to work alongside them as an orchestration layer. Here is why you might want to use it:

  • Multi-agent collaboration: run different state-of-the-art agents (Claude, Gemini, Codex, Cline, etc.) in the same TUI, creating a shared workspace where they can communicate through a single interface.
  • Experimentation-friendly: perfect for developers who like trying different agents and combining their strengths instead of committing to a single ecosystem.
  • Manager mode: keep using your existing agent harnesses while adding orchestration on top, especially useful when working on several smaller tasks at once.
  • Native TUI experience: configure providers, models and operating modes directly in the interface with minimal manual setup.
  • Modular architecture: independent, reusable crates for development tools, TUI components, the SDK and memory recall.

How it differs from other TUI orchestrators

Feature Morpheus Other TUI orchestrators
Multi-agent split panes Run several external agents at once in split panes, each with its own session, model and optional git worktree Usually single-agent only, or require switching contexts
Computer tools via accessibility tree Reads and drives graphical interfaces through a structured tree, falling back to screenshots only when needed Usually screenshot-only, or no GUI interaction
Rust-based TUI Built from scratch with Ratatui, inspired by OpenCode's UX Often web-based terminals or less optimized interfaces
Configured in-app Providers, models and modes configured directly in the TUI Often require external config files or CLI flags
Modular crates Development tools, TUI widgets, SDK and memory recall as independent, reusable libraries Monolithic architecture with tightly coupled components
Shared workspace Multiple agents collaborate through one interface with coordinated task dispatch Agents typically work in isolation

Highlights

  • Multi-agent mode (/agents): run external agents (Gemini, Claude, Codex, Cline, and others) 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 with almost zero manual setup.
  • Independent crates: the development tools live in crates decoupled from the application and can be reused as libraries outside Morpheus.

Installation

Tested on Linux and Windows. macOS has not been tested yet; if anything fails, open an issue with as much detail as possible.

Linux and macOS (also works on Windows via Git Bash / WSL):

curl -fsSL https://raw.githubusercontent.com/aidreamy/morpheus/main/download.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/aidreamy/morpheus/main/download.ps1 | iex

Note: the curl | bash command does not work in PowerShell or CMD, because Windows has no native bash. Use the PowerShell script above instead; Git Bash and WSL also work.

Optional variables: MORPHEUS_BIN_DIR (install directory), MORPHEUS_VERSION (specific version) and MORPHEUS_VARIANT (slim, the default, slim-embed, with local RAG via fastembed, or slim-speak, the complete voice build). slim-embed builds are currently published for Linux x64 and Windows x64 only; macOS receives slim and slim-speak. On PowerShell, set them as $env:MORPHEUS_VERSION = "v0.1.0" before running the command.

Voice output

slim-speak is the complete voice build: local speech through Kokoro with the speak-phonemize frontend enabled, so Portuguese (Brazil) and the other languages without a bundled lexicon work — not just English and Chinese.

export MORPHEUS_VARIANT=slim-speak
curl -fsSL https://raw.githubusercontent.com/aidreamy/morpheus/main/download.sh | bash

The archive ships an extra morpheus-ttsd binary, which the app spawns as a sibling; keep it in the same directory as morpheus. On Linux, playback needs one of paplay, pw-play, aplay, play or ffplay; macOS uses the built-in afplay.

The speech model is not bundled: download a Kokoro bundle from the sherpa-onnx model releases and extract it under ~/.cache/morpheus/models/ (or point MORPHEUS_KOKORO_MODEL_DIR at the extracted directory) — v1.1 for the default voices, v1.0 for the Brazilian Portuguese voice.

Windows: voice output is not supported yet. The voice daemon communicates over a Unix domain socket and uses Unix process APIs, so slim-speak is published for Linux x64 and macOS (x64 and arm64) only. Windows ships slim and slim-embed.

After installing, run morpheus in your terminal. If the install directory is not on your PATH, the script prints the command to add it. If anything goes wrong during installation, open an issue and we will be glad to help.

Crates

Crate Description
morpheus-tools Development tools and computer tools
morpheus-tui TUI widget library: markdown/diff rendering and layout, the components behind the terminal UI
morpheus-sdk Reusable agent primitives: patch engine, tool-call parsing, LSP client and AST intelligence
morpheus-recall Memory and context recall
morpheus-whatsapp WhatsApp Web (multi-device) integration: pairing, normalized events and typed sends
morpheus-onnx ONNX decision engine (behind the onnx feature)

Roadmap

  • Laya/ONNX decision engine: optional onnx feature backed by the morpheus-onnx crate; see the crate guide.
  • Graph-based harness orchestration: a new session mode for coordinating multiple harnesses.

License

GPL-3.0.

About

Open source agent and multi-agent orchestrator built in Rust. Fast TUI, computer use, and integrations with external agents like Codex and Goose.

Topics

Resources

Stars

18 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages