diri

作者 cristicretu已验证

Native macOS orchestrator for coding agents — run Claude Code, Codex, Cursor, Gemini and shells in parallel across git worktrees and remote hosts

269
Stars
23
Forks
Rust
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/cristicretu/diri

快速入门

使用 diri 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

diri

CI License GitHub release

Native desktop orchestrator for coding agents on macOS and Linux. Run Claude Code, Codex, Cursor, Gemini and plain shells in parallel — across git worktrees or on remote hosts — each with a live status (working / needs-you / done) and tmux-like persistence: closing the app never kills a session, and a daemon restart brings conversations back.

diri

Install

macOS

brew install --cask cristicretu/diri/diri

Or download the latest DMG from Releases, open it, and drag diri to Applications. Either way it is the same universal build (Apple silicon and Intel), signed and notarized. diri updates itself from there.

Diri moving the app into the Applications folder

The tap has to be named in full — a bare diri resolves only against Homebrew's default taps. The cask lives in cristicretu/homebrew-diri rather than homebrew-cask, which requires a notability threshold diri does not meet yet.

macOS 15 or newer.

Linux beta

Download the x86_64 AppImage or Debian package from Releases. Ubuntu 22.04 and 24.04 are supported under X11 and Wayland with a Vulkan 1.3-capable GPU.

sudo apt install ./diri_<version>_amd64.deb
# or
chmod +x diri_<version>_amd64.AppImage && ./diri_<version>_amd64.AppImage

See the Linux beta guide for checksums, upgrade and uninstall steps, XDG paths, graphics troubleshooting, and current limitations.

60-second tour

  1. Add a project directory and create a session for Claude Code, Codex, another supported agent, or a plain shell.
  2. Start several sessions, ideally in separate git worktrees when they edit the same repository.
  3. Watch the sidebar instead of every terminal: it shows which agents are working, waiting for you, or done.
  4. Quit and reopen diri. The daemon keeps each PTY alive and replays the session when you return.

The getting-started guide covers remote hosts, MCP orchestration, diagnostics, local data, and uninstalling.

What it does

  • Many agents at once. Each session is a real terminal with a real PTY. Group them by project, split them across git worktrees, or run them on a remote host over ssh+tmux.
  • Status you can trust. diri reads what an agent actually painted on its screen and tells you which ones are working, which are waiting on you, and which are done — so you can watch ten sessions without reading ten terminals.
  • Sessions outlive the app. A background daemon owns the PTYs. Quit diri, reopen it, and everything is still there.
  • Agents can orchestrate agents. An MCP server lets a running agent spawn another one, watch it, read its output, and answer its prompts.

First-class status detection and resume are Claude Code and Codex. Cursor and Gemini run with partial support, and anything else runs as a terminal with running/exited status.

Claude Code, Codex, Cursor, Gemini, and shell agents

Architecture

Two processes, one wire protocol:

Diri architecture: app and CLI connect through the control socket to the engine, persistent PTY holders, and coding agents

  • diri — the desktop app: Rust + GPUI. Owns the window, sidebar, terminal renderer, command palette, and usage accounting. Lives in diri/.
  • dirijord-rs — the headless Rust engine, launched by the app and outliving it. Owns PTYs and child agent processes, an offset-addressed output log per session (for detach and replay), a headless terminal emulator for status detection, the session registry and persistence, worktrees, and the control socket.

dirijor is the automation CLI for hooks, notifications, status, and diagnostics; dirijor-mcp is the MCP stdio server injected into agents. diri-holder owns each PTY master so sessions survive an engine restart. Every shipped executable is built from the Rust workspace in diri/.

Adding an agent

Agent support is data, not code. Each agent is one JSON file in diri/crates/diri-engine/manifests/ describing how to spawn it, how to resume, which keys approve or deny a prompt, and the screen rules that decide whether it is working, waiting, or done. Copy the closest existing manifest and adjust it — no code changes required. The manifest-authoring guide explains the schema, safe capture workflow, examples, overrides, and validation. This is the easiest way to contribute.

Building from source

Needs Rust (pinned in diri/rust-toolchain.toml) plus the platform build dependencies. On macOS that means the Xcode command-line tools; Linux dependencies and packaging commands are listed in diri/LINUX.md. The first build compiles GPUI from a pinned Zed revision and takes a while.

(cd diri && cargo build)                   # app, engine, holder, CLI, MCP
(cd diri && cargo test --workspace)
(cd diri && cargo run -p diri-app)         # run the app from source

diri/scripts/package.sh                    # full bundle
diri/scripts/package-linux.sh              # AppImage + DEB, on x86_64 Linux
diri/scripts/install-local.sh

Run the same core checks as CI with one command:

./scripts/check.sh

diri/PACKAGING.md covers signing and notarization, diri/UPDATING.md the updater and release flow, diri/NODE.md running agents on a remote VPS node.

The documentation index links user and engineering guides.

Contributing

See CONTRIBUTING.md. Bug reports, fixes, docs, and new agent manifests are all welcome. New contributors can start with good first issue or help wanted.

Questions belong in Discussions, reproducible bugs in Issues, and vulnerabilities in private security reports. See the roadmap, support guide, privacy notice, and governance for project expectations.

License

Diri's original source is Apache 2.0. Builds also contain third-party software under its own licenses; see LICENSE, NOTICE, and the machine-checked dependency policy in license-policy.json.

常见问题

What is diri?

diri is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by cristicretu. Native macOS orchestrator for coding agents — run Claude Code, Codex, Cursor, Gemini and shells in parallel across git worktrees and remote hosts. It has 269 GitHub stars.

Is diri safe to use?

Yes. diri passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install diri?

Clone the repository with "git clone https://github.com/cristicretu/diri" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is diri written in?

diri is primarily written in Rust. It is open-source under cristicretu on GitHub, so you can review or fork the full source.

Are there alternatives to diri?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh diri against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情