Skip to Content
kusaw docsv1.0.0
CLI reference

kusaw atlas

Build and inspect the local code index

kusaw atlas

Build and inspect the local code index

Usage

Text
kusaw atlas [flags]

Flags

NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for atlas

Subcommands

kusaw atlas build

Create an Atlas for configured repos

Text
kusaw atlas build [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for build
--repostringBuild one repo label
--yesboolfalseConfirm the build without a prompt

Example:

Text
kusaw atlas build --factory demo

kusaw atlas call

Call read_map or search_code inside a step attempt

Text
kusaw atlas call <tool> [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for call
--jsonstringJSON object of tool arguments

Example:

Text
kusaw atlas call read_map --json '{}'

kusaw atlas experiment

Compare benchmark replays with Atlas on and off

Text
kusaw atlas experiment [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for experiment

Example:

Text
kusaw atlas experiment run --factory demo --bench fix-login,add-flag

kusaw atlas experiment cancel

Cancel the experiment's queued replays

Text
kusaw atlas experiment cancel <id> [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for cancel

Example:

Text
kusaw atlas experiment cancel ax-20261114-fix-login --factory demo

kusaw atlas experiment list

List Atlas experiments, newest first

Text
kusaw atlas experiment list [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for list
--jsonboolfalsePrint JSON

Example:

Text
kusaw atlas experiment list --factory demo

kusaw atlas experiment remove

Delete the experiment's pinned Atlas copies

Text
kusaw atlas experiment remove <id> [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for remove
--yesboolfalseConfirm the delete without a prompt

Example:

Text
kusaw atlas experiment remove ax-20261114-fix-login --factory demo --yes

kusaw atlas experiment report

Write report.md and report.json and print the summary table

Text
kusaw atlas experiment report <id> [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for report
--jsonboolfalsePrint report.json instead of the table

Example:

Text
kusaw atlas experiment report ax-20261114-fix-login --factory demo

kusaw atlas experiment run

Pin the Atlas at each task's start commit and queue atlas-on and atlas-off replays

Text
kusaw atlas experiment run [flags]
NameShortTypeDefaultDescription
--benchstringComma-separated benchmark task names
--budgetfloat6410Experiment budget in USD, split evenly over the tasks
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for run
--modelstringModel for both arms (default: the factory's)
--providerstringProvider for both arms (default: the factory's)
--repeatint3Replays of each arm per task, from 1 to 20
--yesboolfalseConfirm the pinned copies and replays without a prompt

Example:

Text
kusaw atlas experiment run --factory demo --bench fix-login,add-flag --repeat 3 --budget 10

kusaw atlas experiment show

Show one Atlas experiment

Text
kusaw atlas experiment show <id> [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for show
--jsonboolfalsePrint JSON

Example:

Text
kusaw atlas experiment show ax-20261114-fix-login --factory demo

kusaw atlas install-hook

Add a notify block to the repo's git hooks

Text
kusaw atlas install-hook [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for install-hook
--repostringRepo label

Example:

Text
kusaw atlas install-hook --factory demo --repo api

kusaw atlas refresh

Refresh an Atlas to the current local main commit

Text
kusaw atlas refresh [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for refresh
--repostringRefresh one repo label
--yesboolfalseConfirm the refresh without a prompt

Example:

Text
kusaw atlas refresh --factory demo --repo api

kusaw atlas remove

Delete a repo's Atlas from the factory data folder

Text
kusaw atlas remove [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for remove
--repostringRepo label whose Atlas to delete
--yesboolfalseConfirm the delete without a prompt

Example:

Text
kusaw atlas remove --repo api --yes

Search the local Atlas index

Text
kusaw atlas search <query> [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for search
--jsonboolfalsePrint JSON
--kindstringallcode, map, or all
--limitint10Maximum hits (default 10, maximum 50)
--pathstringLimit hits to this path prefix
--repostringLimit search to one repo label

Example:

Text
kusaw atlas search --factory demo --repo api "retry backoff" --json

kusaw atlas status

Show Atlas state for each repo without starting work

Text
kusaw atlas status [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for status
--jsonboolfalsePrint JSON
--repostringLimit output to one repo label

Example:

Text
kusaw atlas status --factory demo --json

kusaw atlas uninstall-hook

Remove the Atlas notify block from the repo's git hooks

Text
kusaw atlas uninstall-hook [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for uninstall-hook
--repostringRepo label

Example:

Text
kusaw atlas uninstall-hook --factory demo --repo api

Exit codes

CodeNameDescription
0okSuccess.
1errorRuntime error.
2usageUsage or validation error.
3rejectedControl request rejected; the error string is printed verbatim.
4not picked upControl request not picked up within the wait time while serve runs.

Example

Text
kusaw atlas status

On this page