Skip to content
AGNT
All playbooks
Developerbeginner

Developer Quickstart Playbook

Ship your first AGNT integration in under an hour — API auth, MCP server, and A2A end-to-end test.

AGNT Developer Relations3 steps30-45 minutesClaude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5

Why this playbook

AGNT's API has 15 tools, 3 auth flows, and an A2A protocol layer. Jumping straight into the docs works if you already know the data shapes, but most developers waste the first hour figuring out the authentication dance and the venue search response format.

This playbook walks you through three prompts that build on each other: authenticate and make your first API call, scaffold an MCP server that wraps the API, and write end-to-end tests for agent-to-agent communication. Each step produces working code, not pseudocode.

Designed for the developer who wants to ship a working integration in a single sitting, not read docs for a week.

Prerequisites

  • AGNT API key — sign up at agntdot.com/developers
  • Node.js 20+ or Python 3.11+ installed
  • Claude Code, Codex CLI, or any LLM with function calling
  • Basic familiarity with REST APIs

Input requirements

InputTypeRequiredDescription
AGNT API keystring (Bearer token)YesYour API key from the AGNT developer dashboard. Free tier supports 1,000 requests/day.
Target languagestringNoTypeScript (default) or Python. The prompts adapt their output to your language choice.
Use casestringNoOptional: describe what you're building (e.g., 'Slack bot for venue search') so the prompts tailor their examples.

Step-by-step workflow

1

Authenticate and make your first API call

Open prompt

This prompt scaffolds authentication, makes a venue search call, and prints the response shape. It teaches you the data model by example, not by making you read a schema doc.

Output: a working script that authenticates, searches for venues in Bali, and pretty-prints the results. You'll reference this response shape in the next two steps.

2

Scaffold a production MCP server

Open prompt

Takes the API patterns from step 1 and generates a full MCP server with tool definitions, input validation, and error handling. The server exposes AGNT's API as MCP tools that any Claude Code session can use.

The scaffold includes a test harness — you can verify the server works locally before deploying.

API response shapes from step 1Target language preference
3

Write A2A end-to-end tests

Open prompt

The final step writes integration tests that validate the full agent-to-agent communication loop: your agent sends a booking request, AGNT's agent processes it, and your agent handles the response.

These tests catch the most common integration failures: envelope format mismatches, missing required fields, and timeout handling.

MCP server from step 2API auth from step 1

Expected outputs

TypeScript or Python

auth-and-search script

Working script with AGNT API authentication and venue search, demonstrating response shapes.

Produced by step 1
TypeScript or Python project

MCP server package

Production-ready MCP server wrapping AGNT's API with tool definitions, validation, and local test harness.

Produced by step 2
Test file (Jest or pytest)

A2A test suite

End-to-end tests for agent-to-agent booking flow with envelope validation and timeout handling.

Produced by step 3

Tool requirements

  • Claude Code or Codex CLI
  • Node.js 20+ or Python 3.11+
  • AGNT API key (free tier)

Troubleshooting

API returns 401 Unauthorized
Check that your API key is passed as a Bearer token in the Authorization header, not as a query parameter. Free-tier keys expire after 90 days — regenerate from the developer dashboard if expired.
MCP server starts but tools don't appear in Claude Code
Verify your MCP server config in .claude/settings.json points to the correct entry file. Run the server manually first to confirm it starts without errors. Check that tool names don't contain spaces or special characters.
A2A tests timeout on booking request
AGNT's A2A endpoint has a 30-second timeout. If you're running against the sandbox, response times can spike during peak hours. Retry with a longer timeout (60s) or run tests during off-peak hours (UTC 02:00-08:00).

Share as social post

Developer Quickstart Playbook 3 steps, 30-45 minutes. Ship your first AGNT integration in under an hour — API auth, MCP server, and A2A end-to-end test. https://agntdot.com/playbooks/developer-quickstart-playbook

214 / 280 chars

Related playbooks

Run the playbook.

Open each prompt in order, feed the outputs forward, and ship the workflow end-to-end.