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.--prompt "<text>"seeds an initial prompt and stays interactive;--run "<text>"runs it non-interactively and exits.--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+~/.config/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.Cline (
--wrapper cline) is supported as well — like opencode, pure path-discovery. The projectAGENTS.mdis read natively (Cline reads it as a cross-tool rules file); the globalAGENTS.mdbinds to the cross-tool path~/.agents/AGENTS.md; skills bind to./.cline/skills/(project) and~/.cline/skills/(global,$CLINE_DATA_DIR-aware). No extra flags. Cline also works in provider mode —agedum <provider>maps the config to Cline's CLI flags (--model/--provider/--thinking/--plan) and passes the token via--key.reasonix (
--wrapper reasonix) is supported as well — the DeepSeek-native reasonix agent, pure path-discovery like opencode/Cline. The projectAGENTS.mdis read natively (one of its memory docs); the globalAGENTS.mdbinds to~/.config/reasonix/AGENTS.md; skills bind to./.reasonix/skills/(project) and~/.reasonix/skills/(global), both outranking.agents/skills/so the overlaid copy wins. No extra flags. reasonix also works in provider mode —agedum <provider>mapsmodelto--model <name>on thechat/runsubcommand and exports the token (reasonix reads it via the provider'sapi_key_env);--runmaps toreasonix run "<text>", while--promptis unsupported (chatcan't be pre-seeded).aider (
--wrapper aider) is supported as well — but it differs from the others. aider has no native instruction discovery and no skills mechanism, so agedum injects each scope'sAGENTS.mdvia aider's--readread-only-context flag (the instructions analogue of kimi's--agent-file; no binds), and does not inject skills. In provider mode the config maps to aider's CLI flags (--model/--weak-model/--editor-model/--reasoning-effort), the key rides the environment (litellm), and abaseUrlsetsOPENAI_API_BASE. Git integration is disabled by default (--no-git), because agedum's namespace shares the real.gitand aider auto-commits — setgit: trueto opt back in.--runmaps toaider --message "<text>";--promptis unsupported (--messageruns once and exits).
[!NOTE] pi (
--wrapper pi) is supported as well — the earendil-works pi agent, pure path-discovery like opencode/Cline/reasonix. The projectAGENTS.mdis read natively (cwd→root walk); the globalAGENTS.mdbinds to~/.pi/agent/AGENTS.md; skills bind to./.pi/skills/(project) and~/.pi/agent/skills/(global). No extra flags. In provider modemodel/provider/thinkingmap to CLI flags and the key rides the environment by name. pi has no base-URL flag, so abaseUrlmakes agedum generate~/.pi/agent/models.json(a provider namedagedum, key referenced by$VAR); asubagentModelgenerates~/.pi/agent/settings.jsonrouting every pi-subagents built-in agent — both merged onto your existing files.--promptseedspi "<text>";--runmaps topi --print "<text>".
[!NOTE] codex (
--wrapper codex) is supported as well — the OpenAI Codex CLI, pure path-discovery like opencode/Cline/reasonix/pi. The projectAGENTS.mdis read natively (work-dir→root walk); the globalAGENTS.mdbinds to~/.codex/AGENTS.md($CODEX_HOME-aware); skills bind to./.codex/skills/(project) and~/.codex/skills/(global). No extra flags. In provider modemodelmaps to-mand the key rides the environment by name. codex has no base-URL flag, so abaseUrlis passed as-c model_providers.…overrides (a provider namedagedum). Recent codex speaks only the Responses API, so a Chat-Completions endpoint (DeepSeek etc.) setschatCompletions: trueand agedum interposes a localResponsesToChatProxy(theFoldProxysibling) that translates codex's Responses requests to/from/chat/completions. codex custom agents are bound three ways:subagentModel(one fast~/.codex/agents/flash.toml),codexAgents: <dir>(bind every*.tomlinto~/.codex/agents/, personal scope), andcodexProjectAgents: <dir>(into.codex/agents/, project scope) — sandbox defaulted by agedum, delegates the primary can spawn.--promptseedscodex "<text>";--runmaps tocodex exec "<text>".
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 claude-deepseek-auto --prompt "review this" # seed an initial prompt, stay interactive
agedum claude-deepseek-auto --run "review this" # run the prompt non-interactively, then exit
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 cline -- cline task "review this" # drive Cline with the same source
agedum --wrapper reasonix -- reasonix chat # drive reasonix with the same source
agedum --wrapper aider -- aider --no-git # drive aider (pass --no-git in wrapper mode)
agedum --wrapper pi -- pi # drive pi with the same source
agedum --wrapper codex -- codex # drive codex with the same source
agedum --wrapper claude --dry-run -- claude # list what would be injected, don't run
agedum --providers # list the provider configs (name, harness, model)
agedum --version
agedum --providers lists every *.json config in $AGENTS_PROVIDERS_DIR (default
~/.config/agents/providers) as name harness model — the names you pass to
agedum <name>.
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 & scopes — the
AGENTS.md+.agents/skills/layout, and the project vs global scopes - Wrapper mode — run a command in the injected context; how each harness resolves
- Provider mode — launch a harness from a provider config JSON
- Harnesses — one page per harness: wrapper resolution + provider config
- 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.40.1.tar.gz.
File metadata
- Download URL: agedum-0.40.1.tar.gz
- Upload date:
- Size: 301.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69a5aa72e650c1de1267cf755eaaa9869e42bcf23356c27ff0df535e21715a4b
|
|
| MD5 |
50af45da48db8c7f6c1e7a27255b45b3
|
|
| BLAKE2b-256 |
1050cfa2fa375dbe79bb6a39b79b6b39586488d32790dab1c22a297cea485c00
|
Provenance
The following attestation bundles were made for agedum-0.40.1.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.40.1.tar.gz -
Subject digest:
69a5aa72e650c1de1267cf755eaaa9869e42bcf23356c27ff0df535e21715a4b - Sigstore transparency entry: 2071861443
- Sigstore integration time:
-
Permalink:
vcoeur/agedum@424d92fab88d87eed1bd245c15563885c5765f55 -
Branch / Tag:
refs/tags/v0.40.1 - Owner: https://github.com/vcoeur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@424d92fab88d87eed1bd245c15563885c5765f55 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agedum-0.40.1-py3-none-any.whl.
File metadata
- Download URL: agedum-0.40.1-py3-none-any.whl
- Upload date:
- Size: 80.9 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 |
6d40c31b221afe6cfa91128dacc120fe400082e195126136528c25768f4ab88c
|
|
| MD5 |
20e33ec1d38ec8830b9eeb353d68e03f
|
|
| BLAKE2b-256 |
b106fab3c37b0240dc064c5d8bb174501152f8eaa7dbdbe28348a4f5ff58d781
|
Provenance
The following attestation bundles were made for agedum-0.40.1-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.40.1-py3-none-any.whl -
Subject digest:
6d40c31b221afe6cfa91128dacc120fe400082e195126136528c25768f4ab88c - Sigstore transparency entry: 2071861460
- Sigstore integration time:
-
Permalink:
vcoeur/agedum@424d92fab88d87eed1bd245c15563885c5765f55 -
Branch / Tag:
refs/tags/v0.40.1 - Owner: https://github.com/vcoeur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@424d92fab88d87eed1bd245c15563885c5765f55 -
Trigger Event:
push
-
Statement type: