Skip to main content

SUBGEMI: Gemini Sub-Agent Orchestration

The industrial-grade parallel engine for Gemini.

subgemi is a standalone CLI tool designed for high-agency, autonomous task execution. It allows you to delegate complex, tedious, or parallel tasks to Gemini sub-agents while you maintain focus on project architecture.

🚀 Key Features

  • Atomic Parallelism: Dispatch dozens of background tasks simultaneously.
  • Isolated Sandboxing: Every agent runs in its own isolated git worktree with read-only metadata protection.
  • Distributed State: High-performance, lock-free architecture using atomic JSON artifacts.
  • Live Dashboard: Real-time tree visualization (DAG) of all active and historical sessions.
  • Usage Metrics: Built-in token burn tracking and spend estimation (USD) via subgemi metrics.
  • Active Health Checks: Built-in "Dead Man's Switch" detects and reaps zombie processes automatically.

📦 Installation

pip install gemini-subagent

Requirements: Python 3.10+, Gemini CLI, Tmux.

🛠️ Usage

1. Delegate (The Fork)

Dispatch a task organized by lanes or personas:

subgemi task delegate "Audit all endpoints in src/api/" --lane security --persona security_lead

2. Monitor (The Board)

Track execution progress across the swarm:

subgemi session board

3. Analyze (The Metrics)

Track your ROI and token efficiency:

subgemi metrics board

4. Cleanup (The Reaper)

Purge orphaned monitors and dangling processes:

subgemi session prune --hard

🏗️ Architecture

subgemi follows the One-Shot Context principle. When a task is delegated, the engine:

  1. Creates an isolated Git Worktree.
  2. Bundles project Rules, Roles, and Workflows.
  3. Packs the repository context into a high-density Repomix bundle.
  4. Spawns a Tmux monitor for background visibility.
  5. Executes the task via an FSM (Finite State Machine) to ensure robust lifecycle tracking.

Built by NLanN.

Metadata

Release files for gemini-subagent 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gemini-subagent 0.1.9
File Size Uploaded Provenance
gemini_subagent-0.1.9.tar.gz 38.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gemini-subagent 0.1.9
File Interpreter ABI Platform
gemini_subagent-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 89.7 kB

Release files / gemini_subagent-0.1.9.tar.gz

Download URL gemini_subagent-0.1.9.tar.gz
Size 38.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d70bf4f572e5c455e375f26e6a21fd76e97cf9bcd9ed342c319d3df39662618b
BLAKE2b-256 checksum
How to use checksums
f0cc7a1160fdb3b7081b1e49c03e0140e24598e1f2cf8ea396f683e5ce17eb3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.12 Darwin/25.1.0

Release files / gemini_subagent-0.1.9-py3-none-any.whl

Download URL gemini_subagent-0.1.9-py3-none-any.whl
Size 51.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c8ce62fead5fac647a9667e0b85c9971811a69e2700b9123ac59d9b59a060bf
BLAKE2b-256 checksum
How to use checksums
2560bb1bcddf2496f3e2be0208ee348fa225eeb50be01e0f4f232c62d665bff1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.12 Darwin/25.1.0

Security for gemini-subagent 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page