Build your first AI agent in three steps
Create an intelligent sessional agent and have your first interaction in minutes.Prerequisites
Before you begin, you’ll need:- An AgentHuman account (Sign up here)
- Your API key from the dashboard
- Node.js 16+ or Python 3.7+ installed
Step 1: Get your API key
Generate an API key
Generate an API key
- Log in to your AgentHuman Dashboard
- Navigate to Settings → API Keys
- Click “Create New Key”
- Name your key (e.g., “Development”)
- Save the key securely - it won’t be shown again!
Set up your environment
Set up your environment
Store your API key as an environment variable:Or in a
.env file:Step 2: Create your first session
Using JavaScript/Node.js
Using JavaScript/Node.js
Install the HTTP client:Create a new file Run it:
agent.js:Using Python
Using Python
Install the requests library:Create a new file Run it:
agent.py:Step 3: Send your first message
Interact with your agent
Interact with your agent
Now let’s send a message to your agent and get a response:
Next steps
Now that you’ve created your first agent, explore these advanced features:Add Voice & Avatars
Give your agent a voice and visual presence.
Customize Roles
Configure specialized agent personalities and expertise.
Use Templates
Speed up development with pre-built session templates.
Set Up Webhooks
Receive real-time notifications for session events.
Common use cases
Customer Support Bot
Customer Support Bot
Sales Assistant
Sales Assistant
Educational Tutor
Educational Tutor
SDK & Libraries
We’re working on official SDKs. For now, you can use any HTTP client:- JavaScript: axios, fetch, node-fetch
- Python: requests, httpx, aiohttp
- PHP: Guzzle, cURL
- Ruby: Net::HTTP, HTTParty
- Go: net/http
- Java: OkHttp, Apache HttpClient
Need help? Check our API Reference or contact [email protected].