# Find the code to inspect

Source: https://usecns.dev/axon-guide-find-the-code-to-inspect/

[Start here](https://usecns.dev/manual-axon/)
[CLI commands](https://usecns.dev/commands-axon/)
[Configuration & integration](https://usecns.dev/axon-topics/)

Search by a name or path fragment before asking for a graph walk:

```
axon search Invoice --limit 20 --json
```

Inspect each candidate's source location and node ID. Open the likely implementation, check that it belongs to the feature you mean, and use its returned ID when a short name is ambiguous. An empty search result is not proof that the behavior is absent.

For a task described in concepts rather than identifiers, try anchor search:

```
axon anchor-search "invoice retry policy" --embed-provider local --limit 10 --json
```

Anchor search combines lexical matches with available semantic candidates. Inspect provenance and fallback indicators: without stored embeddings, local search can report a lexical-only semantic stage, and exact identifiers can bypass semantic work. Tests are excluded unless you add `--include-tests`.

Choose `local` explicitly to avoid remote inference. The default `auto` can select a remote service when `AXON_EMBED_URL` or `THALAMUS_URL` is set. Local embeddings are feature-hash vectors, not a remotely served neural model. See [embedding preparation and provider boundaries](https://usecns.dev/axon-topic-prepare-concept-search-safely/) before enabling a remote provider or reranking.