Skip to main content

gardenia

gardenia fractal mark

Read the documentation

  • A digital artifact factory in a box.
  • Standardized workflow that addresses common agentic coding pitfalls.
  • Agent-agnostic and supports routing between different agents (Claude Code, Codex, Antigravity).
  • Automatically learns and picks the agent, model, and effort level for tasks.
  • Manages host and remote resources for CPU- and memory-intensive jobs.
  • Merge queue for landing concurrent pull requests.

You run gardenia to set up your machine and repositories. gardenia installs four tools for your coding agents to use on their own:

  • agrein: Workflow skills for agents (issue tracking, isolated git worktrees, bug reproduction, epic queues, and owner escalations).
  • agroute: Checks live usage limits and routes tasks across Claude Code, Codex, and Antigravity.
  • howhard: Picks the model and effort level for each task from past results and repo memory.
  • agcoord: Schedules CPU- and memory-heavy jobs (locally or on remote runners) and runs the merge queue.

See the documentation (or docs/index.md and docs/architecture.md) for details on how the agents coordinate.

What you run

  • gardenia host: Sets up or checks workstation tools, the Linux agc broker, user-scoped plugins across Claude Code, Codex, and Antigravity, and host quota reserves.
  • gardenia repo: Initializes or checks a repository's AGENTS.md guardrail block, CLAUDE.md -> AGENTS.md symlink, and gardenia.toml.
  • gardenia repos: Manages your workstation repository list, runs read-only checks across all registered repos, and runs /var/tmp worktree upgrade sweeps.
  • gardenia check: Runs host check and repo check together, tagging each finding with "scope": "host" or "scope": "repo".
  • agr tui: Live terminal UI for model routing and subscription usage limits.
  • agc tui: Live terminal UI for the machine job queue, CPU/memory/tmpfs usage, and the merge queue.

Quickstart

Install gardenia (Python 3.11+, zero third-party runtime dependencies):

uv tool install gardenia
gardenia --version

Step 1 — Once per workstation (gardenia host)

Preview and apply host CLIs, safe Linux broker setup (preserving any existing cgroup-v2 enforced broker), user-scoped plugins across detected clients, and optional quota reserves:

gardenia host setup --dry-run
gardenia host setup --reserve-pct 5 --host-reserve-credit 20 --min-remaining-credit 5
gardenia host check

Step 2 — Once per repository (gardenia repo)

Inside your repository's primary checkout, insert the delimited <!-- gardenia:begin --> ... <!-- gardenia:end --> guardrail block into AGENTS.md (preserving every surrounding project-specific line), link CLAUDE.md -> AGENTS.md, and persist your profile to gardenia.toml:

gardenia repo init --gate "bash scripts/check" --cpu 4 --memory-gb 4 --save-config
gardenia repo check

Step 3 — Across your managed repositories (gardenia repos)

Register existing primary checkouts once (new gardenia repo init runs register primary checkouts automatically while skipping linked worktrees), verify every repository in one command, and run isolated-worktree policy or dependency upgrade sweeps:

gardenia repos scan --root ~/git
gardenia repos list
gardenia repos check --strict
gardenia repos upgrade --dry-run
gardenia repos upgrade --package howhard --file-issues

Unified diagnostic

gardenia check --json

Live monitoring

agr tui   # realtime model-route and subscription quota view
agc tui   # realtime machine job queue, resource usage, and merge queue

Documentation

Licensed under the MIT License.

Metadata

Release files for gardenia 0.2.4

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

Source distribution (sdist)

Source distribution for gardenia 0.2.4
File Size Uploaded Provenance Actions
gardenia-0.2.4.tar.gz 99.5 kB Without provenance Details for gardenia-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gardenia 0.2.4
File Interpreter ABI Platform Actions
gardenia-0.2.4-py3-none-any.whl Python 3 none any Details for gardenia-0.2.4-py3-none-any.whl

Total release size: 148.1 kB

Release files / gardenia-0.2.4.tar.gz

Download URL gardenia-0.2.4.tar.gz
Size 99.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9b209b20c3a40143396bdc8d400c6a3fb5f38d7da4e0f1f8e63e530993cfde1c
BLAKE2b-256 checksum
How to use checksums
2471cd3c92e13fda03af43c3442744fca1073b4ec6df9875745d97d129be1baf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / gardenia-0.2.4-py3-none-any.whl

Download URL gardenia-0.2.4-py3-none-any.whl
Size 48.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80aa5c85ecfdb9960d01de70f238952f5f83dad40976924832ec213546f9cbf4
BLAKE2b-256 checksum
How to use checksums
a2b3b8e1eaa52d22c0e0264a38171b937efe7c336be603a4c14189a3849b7d0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for gardenia 0.2.4

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