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 Distribution

oragent-0.3.11.tar.gz (57.6 MB view details)

Uploaded Source

Built Distributions

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

oragent-0.3.11-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.11-cp313-cp313-manylinux_2_28_aarch64.whl (10.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

oragent-0.3.11-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.11-cp312-cp312-manylinux_2_28_aarch64.whl (10.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

oragent-0.3.11-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.11-cp311-cp311-manylinux_2_28_aarch64.whl (10.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

oragent-0.3.11-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.11.tar.gz.

File metadata

  • Download URL: oragent-0.3.11.tar.gz
  • Upload date:
  • Size: 57.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for oragent-0.3.11.tar.gz
Algorithm Hash digest
SHA256 1cc873089e655f4d7d151f629e2f9f0e2922046b6b4d1e85ae73c44fc7fa06f0
MD5 d18c412be8a9ba348c64fb44a2501b36
BLAKE2b-256 b415cd1fc7d720b218fd3f33b829b6175971437b9c7259172376985252ae40b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11.tar.gz:

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.11-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for oragent-0.3.11-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e2014f4f4afb4130a3fef4095fa166bcabf77d7297528ecba03a886f9e81cde7
MD5 c87d9b28ae79900ee1c12e5d475ad3ec
BLAKE2b-256 5c470b84e60b90b511d1a7eebfd901a488977760c41beb03a4b91389d1219c0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11-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.11-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for oragent-0.3.11-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 92e2b74a01633979ac7faee6ade93e49009c16ef16766aa07d5d1c212bfed96c
MD5 83f75bffd7ee03130aff95517573ca32
BLAKE2b-256 fd1bc87ea1f47cc7f0489199da5309aebc78f7ac130c07d802b1b6ea47fe9fb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11-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.11-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for oragent-0.3.11-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c7abd039a301658af4956f67d538dad334f551f64334b822619c356d80942b66
MD5 3d3535000e2d88dbbeb89eda974d95e8
BLAKE2b-256 92e253466ba6be040e2c5333dc9988595dc4f69ea9efc84565a9069880076b16

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11-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.11-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for oragent-0.3.11-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a562a73e8335e5032e6902420d2c86f797046fa3d0bae458e0980781014f8d65
MD5 63e94e2062b9bbf0d6554df73a7eff58
BLAKE2b-256 97269ab5d2da4851959688393443b1f54402b9cb0e6cb0cdc38180b4a1a998ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11-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.11-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for oragent-0.3.11-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e007f87924464c9800bb687c127706db96a0f790911e930fd38596972e9af307
MD5 11bfa747e44cbd6abbf99a25d578ac20
BLAKE2b-256 8fbeddc743ade2dc9bf651aa4d55b96d06523124f98ee0e89c6d0299091782bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11-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.11-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for oragent-0.3.11-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2dc882b0fd7a56a93d04d99a88c21ea31dd3d69db135bdc2a79677ed8e14b1bb
MD5 6a74888d8b2f8be39c01a6b631789fe8
BLAKE2b-256 7afb890c4c6ea60f134b53b9923685e9efd53b476390d2fcf93bf05cbbb98510

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11-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.11-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for oragent-0.3.11-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5ed0ea38665107908d3a3a344e47f4b413fb14b93b4fd21319e47b38c8c3b556
MD5 9e5d503b36864a110d65456bd1399f22
BLAKE2b-256 f428c6d73b4c0278e973f701c0ad8b377977759c06d0d2911ab2d3d94a9864d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11-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.11-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for oragent-0.3.11-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5906bdcf3cd8ebc179ea13dc1f79198647a0d8ef8ea264d34c581980c8e68dd8
MD5 ad13335e8356137143474e38172352b2
BLAKE2b-256 23a506682bb0d8d815fbe6dc29bcf5cafadee49c4a70c308802e2e422c8ad9e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11-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.11-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for oragent-0.3.11-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d5591143eddf508f47aab4dd88c2fb44f784cc871cdac0f9ff11cec76f6f41b3
MD5 0fb230a0d5b896d80437ac14aff21b83
BLAKE2b-256 e31a0ab806982ebe451e0b4d771b910ce52e73b7a6f2b2f7b6342a6f4d5b5be6

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.11-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