Skip to content

Agentik from your terminal

Connect a client, install the agent skill, and discover, inspect and run tools from one command.

Run it

The CLI needs Node 20 or later. Run it with npx, or install it and use the agentik command.

Shell
npx @get-agentik/cli help
npm install -g @get-agentik/cli
agentik help

Connect your agent

connect prints the setup for one client, the same one as the connection guides. --key prints the API key setup when the client takes one.

Shell
npx @get-agentik/cli connect claude-code
npx @get-agentik/cli connect cursor --key
npx @get-agentik/cli skill --install

skill prints the agent skill. With --install it writes it for Claude Code, and it replaces another skill at that path only with --force.

Discover and inspect

Both are free and need no key.

Shell
npx @get-agentik/cli discover "backlinks of a domain" --limit 5
npx @get-agentik/cli inspect dataforseo/backlinks-summary

Run a tool

run and balance read the key from AGENTIK_API_KEY only, never from a flag, so it stays out of your shell history. Create a key in your workspace.

Shell
export AGENTIK_API_KEY=your_key
npx @get-agentik/cli run open-meteo/forecast --input '{"latitude":48.85,"longitude":2.35}' --idempotency-key my-first-run
npx @get-agentik/cli balance

Reuse the same idempotency key on a retry, so a retry never runs twice. Out of credit, the CLI prints the link where a person can add credit.

Options

  • --json prints machine-readable output.
  • --api <url> or AGENTIK_API_URL changes the API base URL.
  • The exit code is 0 on success, 1 on a failed run or an API error, and 2 on a usage error.

The source is open (MIT): github.com/agent-tool-router/agentik.

Connect your agent to 3,250+ tools for free

Sign in with Google or GitHub. No card required.