Repository navigation
docs(agents): state the cost of a devops ai call and cap concurrency at one - #390
Merged
Merged
Conversation
…y at one Nothing in the instructions said what invoking `devops ai` costs. Every such command spends tokens and, on the local stack, holds GPU VRAM and an inference slot for the duration of the call -- a review or benchmark can run for minutes with a model resident. A careless invocation is not merely slow for the caller: it starves every other request on the cluster, including the next one the same agent makes. The rule keeps these commands permitted and expected where they are the right tool, and rules out the reflex. A question answerable by reading a file, running a grep, or consulting a deterministic check must be answered that way. Three specifics. Narrow the request to the most specific parameters that still achieve the intended use -- one file rather than a tree, one persona rather than all of them, an explicit model and bounded result count rather than the defaults. Run at most one `devops ai` call at a time, never fanned out and never backgrounded alongside another, because concurrent calls queue against the same finite slots and make each other slower. And check before assuming: `token-count` and `repomap` call no model and are not subject to the limit. Added to both AGENTS.md and the template in `instruction_generator.py`, so a regenerated instruction file keeps it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nothing in the instructions said what invoking
devops aicosts. Every such command spends tokens and, on the local stack, holds GPU VRAM and an inference slot for the duration of the call -- a review or benchmark can run for minutes with a model resident. A careless invocation is not merely slow for the caller: it starves every other request on the cluster, including the next one the same agent makes.The rule keeps these commands permitted and expected where they are the right tool, and rules out the reflex. A question answerable by reading a file, running a grep, or consulting a deterministic check must be answered that way.
Three specifics. Narrow the request to the most specific parameters that still achieve the intended use -- one file rather than a tree, one persona rather than all of them, an explicit model and bounded result count rather than the defaults. Run at most one
devops aicall at a time, never fanned out and never backgrounded alongside another, because concurrent calls queue against the same finite slots and make each other slower. And check before assuming:token-countandrepomapcall no model and are not subject to the limit.Added to both AGENTS.md and the template in
instruction_generator.py, so a regenerated instruction file keeps it.