Create Your First Agent
This guide walks you through creating and configuring your first AI agent in Conto.What is an Agent?
An agent in Conto represents your AI system that will make payments. This could be:- An OpenAI Assistant
- A Claude-based agent
- A LangChain agent
- An AutoGPT instance
- Any custom AI system
Creating an Agent
Via Dashboard
Fill in Details
| Field | Description | Example |
|---|---|---|
| Name | Human-readable name | Customer Support Agent |
| Type | Agent framework | OPENAI_ASSISTANT |
| Description | What the agent does | Handles customer inquiries |
| External ID | Framework-specific ID | asst_abc123 (OpenAI) |
Via API
Agent Types
| Type | Description |
|---|---|
OPENAI_ASSISTANT | OpenAI Assistants API |
ANTHROPIC_CLAUDE | Claude via API |
LANGCHAIN | LangChain agents |
AUTOGPT | AutoGPT instances |
CUSTOM | Any other agent framework |
Agent Status
Agents can have the following statuses:ACTIVE
Agent can make transactions. This is the default status.
PAUSED
Temporarily disabled. Use for maintenance or investigation.
SUSPENDED
Suspended by admin. Requires manual review to reactivate.
REVOKED
Permanently disabled. Cannot be reactivated.
Generating SDK Keys
After creating an agent, generate an SDK key for authentication:Key Management Best Practices
Use Environment Variables
Use Environment Variables
Never hardcode API keys in your code:
Rotate Keys Regularly
Rotate Keys Regularly
Generate new keys periodically and revoke old ones. Set expiration dates when creating keys.
Separate Keys by Environment
Separate Keys by Environment
Use different keys for development, staging, and production:
dev-key- For local developmentstaging-key- For staging environmentproduction-key- For production
Monitor Key Usage
Monitor Key Usage
Check the SDK Keys tab to see usage statistics:
- Usage count
- Last used timestamp
- Expiration date
Linking Wallets
An agent needs at least one linked wallet to make payments.Assigning Policies
Add policies to control agent spending behavior:Testing Your Agent
Once configured, test your agent:Monitoring Agent Activity
Track your agent’s activity in the dashboard:- Transactions - View all payments made by the agent
- Analytics - See spending trends and patterns
- Audit Logs - Full audit trail of all actions
- Alerts - Get notified of unusual activity