kdeps-commands-recall
v2.0.1kdeps command: recall
set commands / shelf agent
PurposeShow the knowledge vault notes recalled for the last turn, and why
LLM context: none - kdeps uses it without sending it to the model
Where it runs
Part of the commands set, used in workflow and agent mode. Slash commands: the help and completion of the built-in ones, and declared commands that run other commands and prompts.
- you type /name in kdeps
- the command runs: built in, or its declared stepscommands/recall
- prompts go to the model; the output is shown
Loaded by: kdeps (agent loop), /update, kdeps run
In the code: kdeps (agent loop)agent.(*REPL).Runagent.declaredCommand
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Also installs what it requires, when missing or older: tools/session_ops.
Pin a version with kdeps install commands/recall@<version>.
Contents
- order
- 72
/recallShow the knowledge vault notes recalled for the last turn, and why/recall <query>Recall notes from the knowledge vault for a query- 1
Calls a kdeps API tool
session_opsoperation: recall query: $@prints
{{if not .hits}}Nothing recalled.{{else}}matched: {{join .seeds ", "}} ``` {{range .hits}}{{.path}} (score {{printf "%.2f" .score}}{{if .chain}}, {{.chain}}{{else if .via}}, {{.hops}} hop from {{.via}}{{end}}) {{if .summary}} {{.summary}} {{end}}{{end}}``` {{len .hits}} notes, ~{{.tokens}} tokens{{end}}
requires:
tools/session_ops: ""
version: 2.0.1
# kdeps update installs these with this command: what its run steps use
requires:
tools/session_ops: ""
name: recall
order: 72
usage:
- args: ""
help: Show the knowledge vault notes recalled for the last turn, and why
- args: "<query>"
help: Recall notes from the knowledge vault for a query
run:
- tool: session_ops
args: {operation: recall, query: "$@"}
# hops and via say how a note was reached from a matched seed
print: |-
{{if not .hits}}Nothing recalled.{{else}}matched: {{join .seeds ", "}}
```
{{range .hits}}{{.path}} (score {{printf "%.2f" .score}}{{if .chain}}, {{.chain}}{{else if .via}}, {{.hops}} hop from {{.via}}{{end}})
{{if .summary}} {{.summary}}
{{end}}{{end}}```
{{len .hits}} notes, ~{{.tokens}} tokens{{end}}
Versions
| Version | Published | Status |
|---|---|---|
| 2.0.1 | 10/27/2026 | active |
| 2.0.0 | 10/24/2026 | active |
| 1.0.1 | 10/21/2026 | active |
| 1.0.0 | 10/15/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 2.0.1
- Published
- 10/15/2026