Native Harness agent-tree token budget plugin
vibeinging/dsh-agent-budget · skills
Native Harness agent-tree token budget plugin.
★ 2GitHub stars
0Forks
2026-08-14Last updated
TypeScriptLanguage
—License
Key features
- Durable session and local descendant-tree scopes, restored through the DSH Storage Domain.
- Soft accounting or hard admission with concurrency-safe local reservations.
- Absolute deadlines that survive restart, plus fail-closed recovery when dispatched usage is unknown.
- Direct human control through /budget
- optional model-facing tools are available for intentional manual compositions.
Requirements
- Accounting is atomic only inside one Harness process.
- Two processes must not write the same account until Storage Domain has a transactional or compare-and-set backend suitable for cross-process counters.
Install command
dsh plugin --profile web add github:vibeinging/dsh-agent-budget