Skip to main content

Agent Supervisor for AI coding agents — a state-aware cockpit for managing multiple Claude Code, Codex, and Shell sessions in parallel.

Project description

Oragent

PyPI Python License: Free Use README EN README ZH README FR

An Agent Supervisor for AI coding agents — a state-aware cockpit so you see which agent needs you, auto-handle routine permissions, and stay in flow.

Oragent dashboard

Languages

✨ Features

  • Built-in Claude Code / Codex / Shell session support
  • In-dashboard permission handling
  • Vim-style modal operation
  • Working / Idle / Waiting / Stopped / Auto / Shell state display
  • High-performance line-level rendered preview (TerminalView) with Strip caching
  • Interactive cursor overlay in snapshot preview
  • Raw-stdin interactive input path with Shift+Enter / Alt+Enter newline compatibility
  • Preview cache and single-flight refresh to reduce repeated preview work
  • Typing-aware smart refresh: suppresses preview updates during rapid input
  • Preview truncation hint when pane history exceeds the current 1000-line preview window
  • WAITING auto-focus with FIFO queue processing
  • Per-session Auto Pilot
  • Home page, session panel toggle, and smoother session deletion flow
  • Read-only diagnostics for cursor stability and live-session latency profiling
  • macOS notifications

🚀 Installation

Quick Install (recommended)

curl -fsSL https://raw.githubusercontent.com/oragent-ai/oragent/main/install.sh | sh

Via pipx

pipx install oragent

Via pip

pip install oragent

Upgrade

pipx upgrade oragent

or:

pip install -U oragent

Prerequisites

  • Python >= 3.11
  • tmux (brew install tmux / apt install tmux)

▶️ Usage

oragent

⌨️ Keybindings

Normal Mode

Key Action
/ Navigate sessions
n New session
r Rename session
i Enter Interactive mode
a / d Approve / Deny permission request
1-9 Select numbered permission option
p Toggle Auto Pilot
c Select mode (text copy)
Ctrl+\ Toggle session panel
Ctrl+x Delete session
q Quit Oragent

Interactive Mode

All keystrokes pass through directly to the selected agent session.

Key Action
Ctrl-] Exit to Normal mode
Ctrl+\ Toggle session panel
Shift+Enter Newline (kitty protocol terminals)
Alt+Enter Newline (legacy terminals)
Mouse click on session list Switch session

🪟 Preview Behavior

  • Normal and interactive preview both keep a bounded 1000-line window.
  • When older content is omitted from the preview window, Oragent shows a truncation banner below the preview.
  • Waiting detection and Auto Pilot still use plain capture-pane, independent of preview truncation.

Environment variables:

  • ORAGENT_PREVIEW_HISTORY_LINES Current implementation clamps this to at least 1000.
  • ORAGENT_INTERACTIVE_PREVIEW_HISTORY_LINES Current implementation also clamps this to at least 1000.
  • ORAGENT_USE_LEGACY_INTERACTIVE_VIEW=1 Disables the interactive cursor overlay path and falls back to the legacy interactive preview behavior.
  • ORAGENT_OUTPUT_DEBOUNCE_MS Drain output debounce interval in ms (default 16, ≈60fps).
  • ORAGENT_TYPING_SUPPRESS_MS During interactive mode, defer preview refreshes while the user is typing faster than this threshold (default 0, disabled). The historical default 80 was calibrated to a pre-optimisation ~80 ms capture cost; since the one-shot capture path (~6 ms) there is nothing to coalesce. Set to 80 to restore the legacy behaviour if needed.

Migrating from CCT? All CCT_* env vars are still recognized in v0.3.x with a deprecation warning, and will be removed in v0.4.0.

🧪 Diagnostics

  • python tests/e2e_cursor_scope.py Verifies cursor position and mixed ASCII / Chinese input stability.
  • python tests/e2e_latency_scope_existing_sessions.py Reuses current live tmux sessions in read-only mode to profile preview, list, and polling costs.
  • python tests/e2e_interactive_latency.py Measures interactive mode latency: drain debounce, capture, parse, render, and end-to-end refresh cycle.

🖥️ Interface

+----------------------------------------------------------------+
| Oragent · Agent Supervisor                                     |
+----------------------------------------------------------------+
| Sessions           | Preview: frontend-refactor (claude)        |
|--------------------|---------------------------------------------|
| * frontend-refactor| > Analyzing src/components/Header.tsx...    |
|   proj/frontend    |                                             |
| * api-fix          |   I'll update the Header component to       |
|   proj/backend     |   use the new theme variables.              |
| ! test-fix         |---------------------------------------------|
|   proj/tests       | ! Permission: execute `npm test`            |
| o data-migration   |   [a:Allow] [d:Deny]                        |
|   proj/migration   |                                             |
+--------------------+---------------------------------------------+
| NORMAL — i:Interactive  n:New  a/d:Allow/Deny  p:Pilot         |
+----------------------------------------------------------------+

Status icons: * Working  ! Waiting  o Idle  x Stopped

📝 Notes

  • The current interactive preview is still tmux snapshot based, not a full terminal-buffer renderer.
  • v0.2.2 replaced RichLog with a line-level TerminalView (ScrollView + render_line), reducing preview render cost by ~61%. Combined with drain debounce reduction and typing-aware smart refresh, end-to-end interactive latency dropped from ~145ms to ~65ms.
  • v0.2.5 fixed interactive cursor off-by-one offset caused by trailing newline in tmux capture-pane output. Session names now truncate with ellipsis instead of disappearing when the panel is narrow.

🛣️ Roadmap

Version Goal Status
v0.2 (as CCT) Claude Code / Codex / Shell sessions, Auto Pilot, bounded preview, TerminalView performance, cursor fix, diagnostics ✅ released
v0.3 (Oragent) Rename to Oragent, more tools (Aider/Open Claw), session groups, fuzzy search 🚧 current
v0.4 Web version, diff view, Docker isolation 📋 planned

📄 License

Oragent is free, closed-source software distributed under the Oragent Free Use License v1.0 — free for personal and commercial use; no redistribution, reverse engineering, or paid forks. See LICENSE for the full text.

This is not an OSI-approved open-source license. The source code, build scripts, and internal documents are not part of the distribution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

oragent-0.3.12-cp313-cp313-manylinux_2_28_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

oragent-0.3.12-cp313-cp313-manylinux_2_28_aarch64.whl (10.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

oragent-0.3.12-cp313-cp313-macosx_14_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

oragent-0.3.12-cp312-cp312-manylinux_2_28_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

oragent-0.3.12-cp312-cp312-manylinux_2_28_aarch64.whl (10.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

oragent-0.3.12-cp312-cp312-macosx_14_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

oragent-0.3.12-cp311-cp311-manylinux_2_28_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

oragent-0.3.12-cp311-cp311-manylinux_2_28_aarch64.whl (10.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

oragent-0.3.12-cp311-cp311-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

Details for the file oragent-0.3.12-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for oragent-0.3.12-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3570ce7d853083cb06ab15f9c162d7ad1635076f0b2cbe1c0d037e0c85f3944f
MD5 6066ace215858dba704ffbb7787b3be8
BLAKE2b-256 4807b797637f3fc821f3ab0e1258b154b28a4a3a95fb296e1e971911fe7e5297

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.12-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: release.yml on Phinease/claude-code-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oragent-0.3.12-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for oragent-0.3.12-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9eeaa0a60c7584c708375a4beb4c5f3665b0cbfb6a0456d4df784e7e77e5ac11
MD5 2251e61e55343e6d6b6e3767a7c41444
BLAKE2b-256 2377f423c893bb493bfd05aa52811ee1d3bfe723eb61112707154a092ff2433b

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.12-cp313-cp313-manylinux_2_28_aarch64.whl:

Publisher: release.yml on Phinease/claude-code-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oragent-0.3.12-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for oragent-0.3.12-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cdd360c3eb6811313653a1c81b816629fb9419c39a63d8075921dc8b3a711ed2
MD5 595ab79b85c3156da2a01a3b000d16c3
BLAKE2b-256 c6bddc3309e7537cc82186e0818f802a6c167fc1ae51c8f3fc22b7ff2b76f144

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.12-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: release.yml on Phinease/claude-code-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oragent-0.3.12-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for oragent-0.3.12-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e4d8abe122923c95c6fe75322bc4c960cebc0c7451589a135fa349a34e347601
MD5 e8086e70e988f0052857987068540ea1
BLAKE2b-256 e7d38a2b8ad70434f7883d4d7544505751e2b5384b9db6f6242e8cde00b446b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.12-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: release.yml on Phinease/claude-code-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oragent-0.3.12-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for oragent-0.3.12-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 12c0bdff33127e44b42855aa6f72e1e66897e3066aec144871463118e9e3cad9
MD5 945117e6efe587aed0a010756520dbb3
BLAKE2b-256 917b2f8dfa16b1500a19f72c17769e317ac1b8a742a79385983da4c2613b3099

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.12-cp312-cp312-manylinux_2_28_aarch64.whl:

Publisher: release.yml on Phinease/claude-code-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oragent-0.3.12-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for oragent-0.3.12-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 182b62f0d5712dceb5442565d0aa2cd416225ad7b3da2e6b92cbec13d6427488
MD5 2e43cb6ddd5869f80d7ecef8179c2d4c
BLAKE2b-256 000f06be924fd402b33a91172a5efbf924672e8d31227a6159ab57e51d4e8f64

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.12-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: release.yml on Phinease/claude-code-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oragent-0.3.12-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for oragent-0.3.12-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ba2f51f47599c40766756449fbd2c5292821b736b183e8b0299f8c102968ff5
MD5 fb0c54f6b5b1d46075bbc40a358bb0b7
BLAKE2b-256 7474fe96dff688644ca606a8218442e6827d6f291fa482ee303071b944b58fe5

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.12-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: release.yml on Phinease/claude-code-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oragent-0.3.12-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for oragent-0.3.12-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 65152a4dc22b6f7f5714383629e4ebfa04b03631d0e180c4a4f6c6aba4fabae6
MD5 cb5db1367d1b6808b0267d71a0b0dad6
BLAKE2b-256 73e46cb5b3fe91f5bcfd411b3edbe4bfe58ae7c14adac3c2058b1956086644ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.12-cp311-cp311-manylinux_2_28_aarch64.whl:

Publisher: release.yml on Phinease/claude-code-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oragent-0.3.12-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for oragent-0.3.12-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b7738f8d130d5e65fcba287a1189dad5f9a822b783703f6aa9ec855f28fb31ae
MD5 b9ea4b858e78e00aea3f02e25c6dc564
BLAKE2b-256 61c86765dd3856161cbb9b21588bb62ee482c65e3bd5fe750de8cd4b02056bc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.12-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: release.yml on Phinease/claude-code-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page