Developer tools
Agent Toolkit
Getting started
Getting started with the Knock Agent Toolkit
Learn how to use the Knock Agent Toolkit within your AI agent workflows to power cross-channel messaging and rich human-in-the-loop interactions.
Installing the Knock Agent Toolkit#
You can install the Knock Agent Toolkit using npm, yarn, or pnpm.
Once installed you can use the toolkit through the exposed SDK adapters, or if you need low-level access to the toolkit you can use the @knocklabs/agent-toolkit
package directly.
Setting up your .env file#
You'll need to have a service token setup on your Knock account to authenticate with the Knock Agent Toolkit.