Repository navigation
coding-agents-kit v0.6.0
coding-agents-kit v0.6.0 — interface 1.
git clone --branch v0.6.0 https://github.com/DailybotHQ/coding-agents-kit && ./coding-agents-kit/install.shInterface stays 1. Capacity-aware agents: an agent can ask for its own
room at every task boundary, cheaply, and leads lease the accounts they hand
out. Every new surface is additive.
Added
ak capacity [<kind>] [@profile] [--self] [--low PCT] [--critical PCT] [--max-age S] [--json]— one account's headroom and a verdict (ok,
low,critical,unknown), computed byak pick's own arithmetic so
the two never disagree. Thresholds default to 25 / 10
(AGENTKIT_CAPACITY_LOW,AGENTKIT_CAPACITY_CRITICAL). Exit 0 for every
reading;--selfexits 3 outside anaklaunch (never a guess). Schema
capacity-v1.AGENTKIT_ACTIVE_ACCOUNT=<kind>/@<profile>— set by everyaklaunch
andak run,@defaultincluded, for the CLI it starts (ak capacity --selfreads it); a kind and a profile name only, never printed by
ak env.AGENTKIT_ACTIVE_PROFILEis unchanged.- A usage cache under the kit's state directory
($XDG_STATE_HOME/agentkit/usage-cache/,AGENTKIT_STATE_DIR): usage
numbers only,0600files, atomic writes.ak capacityandak pick
reuse a reading younger than--max-age(300 s;0reads live) and write
back what they read live;ak usageis the only command that always reads
live, and it refreshes the cache. AGENTKIT_CAPACITY_CAP=[<kind-or-cli>]@profile=PCT[,…]— a
lower-only drill cap (min(real, cap),"capped": true) applied by
ak capacityandak pick(where a capped account below a--need
percent no longer qualifies); a kind names the account its quota lives on;
an invalid value or an unknown name exits 2.ak lease <kind> @profile --owner ADDR [--ttl DUR] [--purpose TEXT],
ak lease release …,ak lease ls [--json]— advisory, expiring
account leases (schemaleases-v1), changed under a portable lock and
written atomically (0600). Codex takes one lease (lease = "exclusive"
inproviders.toml: one writer perauth.json); other accounts take many;
only the owner releases.ak pick --owner ADDRskips Codex accounts leased to another owner and
ranks byheadroom / (1 + other leases);--max-age S.pick-v1
gainsownerand, per candidate,leasesandcapped(additive). Without
--ownerthe ranking is unchanged.- Skills:
agentkitteachesak capacityandak lease;
agentkit-orchestrategains Capacity-aware lanes (check at task
boundaries withak capacity --self, leases, proactive handoff) and states
the account pool rule exactly: work moves only among accounts the developer
declared for the work, within each vendor's terms; agents never create
accounts, renew logins or spend a Codex reset.
Changed
ak usage,ak pickandak capacitywrite the kit's usage cache (and
nothing else); they still never write under a profile or the env file,
refresh a login or spend a reset.ak pickreuses readings up to 300 s old
by default (--max-age 0reads live).ak profiles runsetsAGENTKIT_ACTIVE_ACCOUNTfor its command too, so an
inherited marker never names the outer account.
Verify
SHA256SUMS lists every shipped file (verify from a checkout of the tag: shasum -a 256 -c SHA256SUMS) and the source tarball (verify it from the directory you downloaded it to).