Skip to main content

gardenia

gardenia fractal mark

Where the grain (agrein), gourd (agcoord), root (agroute), and howhard grow together.

Read the documentation.

gardenia is the zero-dependency bootstrapper, repository initializer, verifier, and canonical full-stack guide for the four-tool coding-agent ecosystem:

Layer Role Scope
agrein (“a grain”) Contributor & epic/subagent skills (ticket-delivery, epic-queue, bug-investigation, owner-escalation) Host plugin + repo policy trigger
agcoord (agc, “a gourd”) Linux local resource/cgroup-v2 broker and atomic agc land merge gate Host CLI + broker + plugin; repo check/land command
howhard Bayesian model/effort selector, outcome accounting, and writable semantic memory (>= 4.0.0) Host CLI + plugin; per-clone .git/howhard store
agroute (agr, “a root”) Cross-agent (codex, claude, agy) live quota filtering and execution-plan resolution (>= 0.6.0) Host CLI + plugin + ~/.config/agroute/config.toml; per-clone .git/agroute store

gardenia enforces an explicit boundary between per-host workstation setup and per-repository policy and local .git/ state across every CLI subcommand, JSON schema, and documentation page:

  • gardenia host ... inspects or configures only workstation / OS-user state (PATH CLIs, Linux agc broker, user-scoped plugins across Codex/Claude Code/Antigravity, and ~/.config/agroute/config.toml). It never inspects or mutates a Git repository.
  • gardenia repo ... inspects, renders, or updates only a target Git repository, distinguishing tracked repository settings (AGENTS.md managed block, CLAUDE.md -> AGENTS.md symlink, gardenia.toml / [tool.gardenia], optional howhard.toml and agroute.toml) from local per-clone .git/ state (.git/howhard and .git/agroute). It never mutates user-home host installations (other than optionally recording primary checkouts in the host repository registry).
  • gardenia repos ... maintains the workstation's host repository registry (${XDG_CONFIG_HOME:-~/.config}/gardenia/repos.toml), runs read-only fleet checks (gardenia repos check), and performs isolated-worktree policy and dependency upgrade sweeps (gardenia repos upgrade) without ever mutating any repository's primary checkout.
  • gardenia check combines host check and (when inside a Git checkout or given --repo) repo check, tagging every finding with "scope": "host" or "scope": "repo" and a concrete remediation command.

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

Documentation

Licensed under the MIT License.

Metadata

Release files for gardenia 0.2.0

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.0
File Size Uploaded Provenance Actions
gardenia-0.2.0.tar.gz 90.2 kB Without provenance Details for gardenia-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 137.1 kB

Release files / gardenia-0.2.0.tar.gz

Download URL gardenia-0.2.0.tar.gz
Size 90.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6c410aefeda3d21cf9e37018def61ab4e0cddc07ec499a527367870f7a751221
BLAKE2b-256 checksum
How to use checksums
76fb76d8ed833eeb615577b9a793516fca53829438c7c58aa88ef20becc62a3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

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

Download URL gardenia-0.2.0-py3-none-any.whl
Size 46.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ae85ab2734dd84b0601fa70954170098b508080fe895af80eca236a01dcec7a
BLAKE2b-256 checksum
How to use checksums
4cb5a7bb271dbf0570f645f6a31e2a03fad7e83bf273cfdadd1700c4109fb05a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for gardenia 0.2.0

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