gardenia
- 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 acrossClaude Code,Codex, andAntigravity.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 Linuxagcbroker, user-scoped plugins acrossClaude Code,Codex, andAntigravity, and host quota reserves.gardenia repo: Initializes or checks a repository'sAGENTS.mdguardrail block,CLAUDE.md -> AGENTS.mdsymlink, andgardenia.toml.gardenia repos: Manages your workstation repository list, runs read-only checks across all registered repos, and runs/var/tmpworktree upgrade sweeps.gardenia check: Runshost checkandrepo checktogether, 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/tmpfsusage, 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
- Quickstart — step-by-step workstation setup and repository onboarding.
- Host vs. repository boundary — complete side-by-side matrix of host state, tracked repo policy, and local
.git/state. - Full-stack architecture — end-to-end Coordinator vs. Leaf Worker runtime lifecycle.
- CLI and schema reference — subcommands, flags, exit codes,
gardenia.toml, andgardenia-check-v1JSON schema. - Contributor workflow and Packaging and release.
Licensed under the MIT License.
Metadata
Release files for gardenia 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gardenia-0.2.2.tar.gz | 98.3 kB | Without provenance | Details for gardenia-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gardenia-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for gardenia-0.2.2-py3-none-any.whl |
Total release size: 146.9 kB
Release files / gardenia-0.2.2.tar.gz
| Download URL | gardenia-0.2.2.tar.gz |
|---|---|
| Size | 98.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52eb12717b49596df4a07128ad02763abe9cb211cce6fefbb5ff1f730843cca2
|
|
BLAKE2b-256 checksum How to use checksums |
345e5a4306c508f4061e6d7f7f11d98fc092215084b88f65039ba23cadb41c02
|
| 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.2-py3-none-any.whl
| Download URL | gardenia-0.2.2-py3-none-any.whl |
|---|---|
| Size | 48.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12de4b9c264b742f34fc89415c47b0e17e609d17b5a163e6823b94d070a3ec78
|
|
BLAKE2b-256 checksum How to use checksums |
44e607d79a343806df2828ea559a1cee8cae73aa5965ddfc27f82825ae198cdb
|
| 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.2
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.