Skip to content

CLI Reference

agntk "prompt" Run a one-shot task
agntk -n <name> "prompt" Named agent (persistent memory)
agntk -n <name> -i Interactive REPL
agntk list List all agents
FlagShortDescription
--name-nAgent name (enables persistent memory)
--instructionsCustom system prompt
--interactive-iInteractive REPL mode
--workspaceWorkspace root (default: current directory)
--max-stepsMax tool-loop steps (default: 25)
--verboseShow full tool args and output
--quiet-qText output only (for piping)
--version-vShow version
--help-hShow help
Terminal window
# Fix bugs
npx agntk -n coder "the login page crashes when the session expires — find and fix it"
# DevOps
npx agntk -n ops --instructions "you manage k8s deploys" "roll back staging"
# Research
npx agntk "compare React Server Components vs Astro islands — pros, cons, benchmarks"
# Code review
npx agntk "review src/ for security issues and suggest fixes"
# Pipe anything
git diff | npx agntk "write a commit message for this diff"
cat package.json | npx agntk "are any of these dependencies outdated?"