Give every task the right agent.
TokenSize is the control plane for the coding agents already on your machine. Discover what is available, choose a safe route, and keep execution local.
Discover. Route. Learn. Run.
Your agent finds local harnesses and allowance, TokenSize recommends a bounded target, verified outcomes sharpen future routes, and your host keeps the final say.
npx skills add tokensize/skills
npx @tokensize/cli@beta auth register
npx @tokensize/cli@beta doctor --jsonA small contract for a large agent mesh#
The hosted service makes one decision well: which available agent is the best fit for this task right now. Everything else stays inspectable and local.
Find installed harnesses, models, auth state and allowance without invoking a model or sending your repository.
Send bounded task features and candidate metadata to the hosted router. Quality, allowance and local policy all remain visible.
Run the selected local harness with a signed receipt and an explicit permission ceiling.
Receipt-bound outcomes calibrate a coarse task bucket. Confidence gates every change; prompts and outputs stay local.
Choose your path#
Start with the shortest path for your role. Every page has a human explanation and a machine-readable contract behind it.
See the trust boundary, Router Brain state machine, privacy model and allowance rules.
02 · IntegrateAPI and package referenceCopy the packages, endpoints, environment and route shape.
03 · ExtendCodex and OpenCodeConnect Codex or OpenCode with permissions that stay under your control.
Agents can start from the manifest, humans can follow the quickstart, and both paths converge on the same inspectable contract.