Drive any agent CLI from an agent-neutral source shape (AGENTS.md + .agents/skills), translating per harness at launch.
Project description
agedum
Latin agedum — "go on! / get going!"
Drive any agent CLI from an agent-neutral source shape, translating per harness at launch. You keep one set of sources; agedum renders them for whichever agent CLI you run.
- Instructions live in a root
AGENTS.md(plain markdown). - Skills live in
.agents/skills/<name>/asSKILL.md(+ optional task files, scripts, and a per-harnessSKILL.<harness>.mdoverlay).
agedum has two modes:
agedum <provider-name|config.json> [harness args]— the primary form. Read a provider config JSON (a name resolved under~/.config/agents/providers, or a path), resolve its secrets from a.env, set the provider/model/auth environment, and launch the harness named in the config — inside the virtual-file context below.--dry-runprints the resolved env (secrets masked) + argv without launching.agedum --wrapper <harness> -- <command>— compile the source to the harness's native layout in a throwaway dir, then run your command inside a private mount namespace (bubblewrap) where the compiled files appear at their expected paths — visible only to that process, never written into your real tree or$HOME. For Claude:AGENTS.md→CLAUDE.mdand.agents/skills/<name>/→.claude/skills/<name>/(the baseSKILL.mdmerged with an optionalSKILL.claude.mdoverlay). Provider mode runs this same launch after setting the environment.
Status: Claude harness, project + global scope, implemented. Each scope lands at its own Claude location — project →
./CLAUDE.md+./.claude/skills/, global (~/.config/agents/AGENTS.md+~/.agents/skills/) →~/.claude/CLAUDE.md
~/.claude/skills/(honours$CLAUDE_CONFIG_DIR). They're never merged; Claude reads both. Only those two~/.claudepaths are overlaid for the child — your~/.claude.jsonauth and other settings are untouched.kimi (
--wrapper kimi) is also supported. kimi reads the projectAGENTS.mdnatively, so agedum leaves it in place; it has no user-scopeAGENTS.md, so the globalAGENTS.mdis injected via a transient--agent-fileYAML (no--agent-fileis added when there's no global scope). Skills are binds: global →~/.kimi/skills/, project →./.kimi/skills/(both auto-read by kimi).opencode (
--wrapper opencode) is supported too — pure path-discovery, like Claude. The projectAGENTS.mdis read natively (./AGENTS.md); the globalAGENTS.mdbinds to~/.config/opencode/AGENTS.md; skills bind to./.opencode/skills/(project) and~/.config/opencode/skills/(global), both searched before.agents/skills/so the overlaid copy wins. No extra flags. Wrapper mode is Linux-only and requiresbwrapon PATH.
Usage
# Provider mode — launch a harness from a provider config, env resolved from .env:
agedum claude-deepseek-auto # resolve the named provider, launch claude
agedum claude-deepseek-auto -p "review this" # extra args go to the harness
agedum ./providers/my-claude.json # a config path instead of a name
agedum claude-deepseek-auto --dry-run # print resolved env, virtual files + argv
# Wrapper mode (low-level; provider mode builds on it) — virtual files, no provider env:
agedum --wrapper claude -- claude --model sonnet -p "review this"
agedum --wrapper claude --dry-run -- claude # list what would be injected, don't run
agedum --version
agedum <name> is the normal way to launch. Wrapper mode is the lower-level entry it
uses: everything after -- is the command, run verbatim, and --wrapper <harness>
chooses the format; --dry-run prints the injected virtual files without running.
Injected paths must be gitignored — agedum refuses to overlay a git-tracked file (the
namespace shares your real .git).
Documentation
Full docs at agedum.vcoeur.com:
- Source shape — the structure of
AGENTS.mdand.agents/skills/ - Scopes — project vs global (user) scope, and where each lands
- Harnesses — exactly what agedum does for each
--wrapper <harness> - Provider mode — launch a harness from a provider config JSON
- CLI reference and Internals — the mount-namespace launch and its safety rules
Install
pipx install agedum # standalone CLI (once published)
Develop
make dev-install # uv sync --all-groups
make test # pytest
make lint # ruff check + format --check
make run -- --version
make docs # build the docs site (strict); docs-serve for live preview
Python ≥ 3.12, managed with uv. The version is
derived from the git tag (vX.Y.Z) at build time via hatch-vcs — never committed.
Release
Tag the commit vX.Y.Z and push the tag; the release workflow builds and
publishes to PyPI via OIDC trusted publishing.
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agedum-0.9.2.tar.gz.
File metadata
- Download URL: agedum-0.9.2.tar.gz
- Upload date:
- Size: 178.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c7d55f60262ed343957d26e8f086616691930865bf98169f0bac8251171f731
|
|
| MD5 |
fc46593dab2a993980644c3956ad9537
|
|
| BLAKE2b-256 |
3b10fa8e4b7bca493d9de45b53a56e832eff248d77824ef3c9425f6028642da6
|
Provenance
The following attestation bundles were made for agedum-0.9.2.tar.gz:
Publisher:
release.yml on vcoeur/agedum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agedum-0.9.2.tar.gz -
Subject digest:
7c7d55f60262ed343957d26e8f086616691930865bf98169f0bac8251171f731 - Sigstore transparency entry: 1674122915
- Sigstore integration time:
-
Permalink:
vcoeur/agedum@63f37d44ead792f89cb98a28f43847f09c885eb1 -
Branch / Tag:
refs/tags/v0.9.2 - Owner: https://github.com/vcoeur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@63f37d44ead792f89cb98a28f43847f09c885eb1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agedum-0.9.2-py3-none-any.whl.
File metadata
- Download URL: agedum-0.9.2-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cad5c4819e5452da71d71263299e554f540c193392654c88a40a78ff92fa484
|
|
| MD5 |
c4d0f424432450e460f83d5afdfd3c5a
|
|
| BLAKE2b-256 |
e4352f3356ba333e94b268c3cb511ea2cf6d0a384eb444ec51a909b3fa4b3ced
|
Provenance
The following attestation bundles were made for agedum-0.9.2-py3-none-any.whl:
Publisher:
release.yml on vcoeur/agedum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agedum-0.9.2-py3-none-any.whl -
Subject digest:
1cad5c4819e5452da71d71263299e554f540c193392654c88a40a78ff92fa484 - Sigstore transparency entry: 1674122930
- Sigstore integration time:
-
Permalink:
vcoeur/agedum@63f37d44ead792f89cb98a28f43847f09c885eb1 -
Branch / Tag:
refs/tags/v0.9.2 - Owner: https://github.com/vcoeur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@63f37d44ead792f89cb98a28f43847f09c885eb1 -
Trigger Event:
push
-
Statement type: