Choosing the Right Agent Type
iwy offers two types of agents:| Type | Best For | Sessions per Agent | Visible in Dashboard |
|---|---|---|---|
| Single-Use | Personalized, per-session experiences | 1 | No |
| Permanent (you are here) | Reusable agents with dashboard management | Unlimited | Yes |
Overview
Permanent agents persist in your account forever and can be used for unlimited sessions. Configure them anytime at dashboard.iwy.ai or via the API. This is ideal for:- Reusable agents: Use the same agent ID across unlimited sessions
- Visual configuration: Edit agents through the dashboard UI
- Team collaboration: Multiple team members can manage agents
- CI/CD automation: Programmatically update agents via scripts
How It Works
Resources created through this API appear in and can be managed from the iwy dashboard. This gives you the best of both worlds:- Visual editing - Use the dashboard for quick changes and testing
- Programmatic control - Use the API for automation and integration
- Persistent storage - Agents and tools are stored long-term in your account
Authentication
All API endpoints require authentication using a Bearer token. You can find your API key in your account settings.Base URL
Core Concepts
Agents
Agents are conversational AI entities that can interact with users through text and voice. Each agent has:- LLM Configuration: The language model, system prompt, and personality
- STT/TTS Settings: Speech-to-text and text-to-speech providers
- Video Avatar: Visual representation for video calls
- Tool Integration: Custom functions the agent can call
- Publish Status: Control visibility (draft, private, or public)
Tools
Tools are custom functions that extend your agent’s capabilities by connecting to external services via webhooks. Each tool defines:- Parameters Schema: JSON Schema describing expected inputs
- Webhook URL: Your API endpoint to call
- Authentication: Headers and auth configuration
- Timeout Settings: Maximum execution time
Quick Start
1. Create a Tool
First, create a custom tool that your agent can use:2. Create an Agent
Create an agent with your tool:3. Embed in Your App
Use the agent in your application:API Endpoints
Agents
- List Agents: Get all agents in your account
- Create Agent: Create a new agent
- Get Agent: Retrieve agent configuration
- Update Agent: Modify agent settings
- Delete Agent: Remove an agent
Tools
- List Tools: Get all tools in your account
- Create Tool: Create a new tool
- Get Tool: Retrieve tool configuration
- Update Tool: Modify tool settings
- Delete Tool: Remove a tool
- Test Tool: Test tool execution with sample parameters
Sessions
- Start Agent Session: Start a video call session with an agent