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.6.tar.gz (503.0 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.6-cp313-cp313-manylinux_2_28_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

oragent-0.3.6-cp313-cp313-manylinux_2_28_aarch64.whl (9.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

oragent-0.3.6-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.6-cp312-cp312-manylinux_2_28_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

oragent-0.3.6-cp311-cp311-manylinux_2_28_x86_64.whl (10.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

oragent-0.3.6-cp311-cp311-manylinux_2_28_aarch64.whl (10.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

oragent-0.3.6-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.6.tar.gz.

File metadata

  • Download URL: oragent-0.3.6.tar.gz
  • Upload date:
  • Size: 503.0 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.6.tar.gz
Algorithm Hash digest
SHA256 0ee01f3ecdafe186f56b8e765e63452f1af1e670985480bce61e1f5907a62287
MD5 215e7276eae4d20152cb53d05b92f36d
BLAKE2b-256 7a7a9286ddf83e7bedcdac305a1f24b0353ea9ae682085e97a766eb90d56ae37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.6-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 274cc41f91997ef4370aa69440d65ebf6eecbb597acad0ba093fb79be1ed3f5f
MD5 33f3e738fd8bd2ae6dab336379d52dfc
BLAKE2b-256 4872a5f174be808bef211db1b16be29eac7436c1f20e7df9fc8c4c62e5d86e94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.6-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 264ba1c5be3fe93504c34f564f742d3dab0698e807194b0e360c113b2d6a3ceb
MD5 f7f784db5aa833ba3fc53b93225de536
BLAKE2b-256 50416418d23129065374ab975b37e7d06353423973049f92fd12194de71343a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.6-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 336889ee27dc46b4c4f21f64515c6648a41cf94ce8b1646cec47c5bb0a2d09ee
MD5 261691c7302bccd09e6b8e26effdad32
BLAKE2b-256 1b83affaae8d0286b235d84fec16993eb629361c608daed6bfa5dbacaadaa74e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.6-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 78a5bcc2c5a2144fda492683b3bb12d91f38046de38317d90f455395b19685bf
MD5 d310b91fa322ee85060f749e8b12a9f6
BLAKE2b-256 7f30d81833871c8bdf8ab8e3f454737e9c76185992b8116197120cd7825d0311

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.6-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4535c1af9146f5b9dc4e39dcc4af758b27b58fd18dcf47bb05423c2cb12fd0e9
MD5 bbc82422286c7fb42af8959f5a429bbe
BLAKE2b-256 c1d82128e6757fdc60af7d45186bd9e647a62e79f1b8261eab50b84b380b6346

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.6-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 191cd6423c22769c54b85fe04e2488d52a471d3786568730992bb2de4ff6310d
MD5 bb1fc6a2e8965c9b5405b91518df6149
BLAKE2b-256 0b850b26a968cfa1e3cfcc513977d7fed7486925227b0a39b85901a704773c3e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.6-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c07222786eca615f73402468747e570924ac62828eafb311e887233d7b033359
MD5 8a3edc3dcde52312c154b5fc5dc78fd0
BLAKE2b-256 5c689cbc8f22e8641edc5bd8663054d210808f3ec2c43ce9af62863869918733

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.6-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 deb9c858836aa2f0396e535bc9ee01c199e40c544e89de40965825f852781491
MD5 0fd8ca77363d40871c8bf4b5996ab4c4
BLAKE2b-256 dabd0c16d0c1cfb630e02b9d7fea85bfdb0194c17bf72a38ac37eb78fbfba7d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for oragent-0.3.6-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ca7e5fc12504d29b45ee0c105b8ec7618d47c11ec2f587bebd4c66186e552977
MD5 8f78a1df92c6ed97409cfa968dc0c1df
BLAKE2b-256 ed846ccd85311b7d395efa4d2a98ae907d4b96250159c0ef287718853ce5130b

See more details on using hashes here.

Provenance

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