Quick Start
Quick Start
Section titled “Quick Start”# One-shot: give it a tasknpx agntk "organize this folder by file type"
# Named agent: remembers context across sessionsnpx agntk -n coder "refactor the auth module to use JWT"
# Interactive REPLnpx agntk -n coder -i
# Pipe inputcat error.log | npx agntk "explain these errors and suggest fixes"
# List your agentsnpx agntk listThat’s it. No config files. No API key setup (unless you want to). It reads your files, runs commands, browses the web, spawns sub-agents, and remembers what it learns.
Creating an Agent
Section titled “Creating an Agent”Custom Tools
const agent = createAgent({ name: 'my-agent', tools: { myCustomTool: { description: 'Does something custom', parameters: z.object({ input: z.string() }), execute: async ({ input }) => ({ output: `Processed: ${input}` }), }, },});Custom tools are merged with the 20+ built-in tools.
Next Steps
Section titled “Next Steps”- SDK Core — Full agent configuration reference
- CLI — Use agents from the command line
- Configuration — Configuration system