intent-token-cost

command
v0.9.9-dev.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command intent-token-cost measures the one question this surface could not answer before: a plain-language description that names no symbol.

The comparison is the whole point, and accuracy comes before cost. A cheap answer that names the wrong file is worse than an expensive one, because the agent pays the cheap answer and then pays a second search. So every question carries a ground truth established by reading the implementation -- never from a tool answer -- and both arms are scored against it before either is priced.

Two arms per question:

  • native: the single search an asker can actually run, which is a word from the question, because the identifier that implements the behaviour is what the asker is looking for and cannot spell yet.
  • kivgraph: find_by_intent with view=files, the granularity the question asks at.

Both arms then open the file they landed on, and that body is priced inside both. It sets the floor: no answer, however lean, can beat the source.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL