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: MIT 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

MIT

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.4.tar.gz (492.5 kB 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.4-cp313-cp313-manylinux_2_28_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

oragent-0.3.4-cp313-cp313-manylinux_2_28_aarch64.whl (9.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

oragent-0.3.4-cp313-cp313-macosx_14_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

oragent-0.3.4-cp312-cp312-manylinux_2_28_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

oragent-0.3.4-cp312-cp312-manylinux_2_28_aarch64.whl (9.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

oragent-0.3.4-cp312-cp312-macosx_14_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

oragent-0.3.4-cp311-cp311-manylinux_2_28_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

oragent-0.3.4-cp311-cp311-manylinux_2_28_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

oragent-0.3.4-cp311-cp311-macosx_14_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

Details for the file oragent-0.3.4.tar.gz.

File metadata

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

File hashes

Hashes for oragent-0.3.4.tar.gz
Algorithm Hash digest
SHA256 c82a14136a35a062a033f442cd5f9e84a243dc1782a0b6e01cc3c5e6c4e6f87c
MD5 f4ff73e979b0dab9bd9447ff69730103
BLAKE2b-256 fbedf2fa1cd914642300d80c16002834f18c9ce541bdb6b30406df287228c9ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for oragent-0.3.4.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.4-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for oragent-0.3.4-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bacea89c392ae9dacb6b00d56b50cbfe333fd6c127acc5767138f6617dce2e9c
MD5 fc342cb5f2e27beb4d00535b0d4ec94b
BLAKE2b-256 d1cc0e1b32a926575676a5921c08dc6dade9fda4f460d1a08f4bb9e665cef8c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.4-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 17bb468894927d2213828ffef9c7afa1f3eb98bcea0221861e3dba7ccbf9a0ed
MD5 e5a4e0fa0aadc463a82c27156b06cd43
BLAKE2b-256 b206bb5d56886cb4be17e416c20bd979df5413c9e3ccbdf6e6552d634018cb04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 19b9d327e9c30fd9ec49d9919ad9ac3d13d228598c43ac294dd6c90a72fd2054
MD5 b2bc4bb1a097347cba5477cb9cb79bec
BLAKE2b-256 0b0d24c3c065ace248248a9136d851398e6c0678c73a18646477f789044a24bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.4-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0998f799a2f48c9cf9d869b9cc039339d19ad149b8d02790d9ffe9a944988339
MD5 5a442dbda5ad8f43d0aa6fd2bc032d46
BLAKE2b-256 0452adb17bc10f2d84e239d6940d598723b20ddc59015ebfa0f98fc449f8974d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.4-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 28aca61fb8d3852888a7bf2a9bf5649dbb72e4e156c1a4fa280a55906c4dac93
MD5 2a4cea2204af3c8e069f3f0bee60b9a5
BLAKE2b-256 01e17ea070af367eb1f30b32f2efbeb60fdb41c3caa52d708e2461861b400151

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2ee015aa8030d7125baec1a9be7ecdbdd17069e1ecaa9b7b1700913d3cc8b2fc
MD5 d37e938aa0d13900f43dd5cb51bf2a77
BLAKE2b-256 220a9399a24dbfcd262cde6b62ba98c212494ada3c41a5b9ccf63b85b504b63c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.4-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0beae3fbd7edb0aaa791730735bd4834765bc341eb40378ddf7a7238a8e4f609
MD5 381a1e9a73e140873f78d2997bcdbc35
BLAKE2b-256 006d46e96a88d73b109356c5d2e5c9e7a0dc22c55fccc023894b837d8a6e3752

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.4-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 25846ad3d5657dffb174dd0bb913eb912b9618af2132119437208b6ce012d5df
MD5 dc119cfe8a44cf0fd35e883f928dd24b
BLAKE2b-256 643288889a077d388af3ff7efbcec704e803c4fd0d999271d8d11f86e2d01dc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9a136544d7e3dc4d8641fd6a43b3ed085a7347b3bf07c98d2818b067dbe1d108
MD5 f92fe739bf11809bc42cb552cd7c4ec7
BLAKE2b-256 03a1050d1ee8ad3f7832e287ba4fb0f36b16f0c25e4f0097f4a12e4385ed6ab4

See more details on using hashes here.

Provenance

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