Deploy Your First AI Agent
Skip chatbots. Build agents that write PRs, run tests, and deploy.
Agent Deployment
Step 1: Discover Available Tools
Search for tools that your agent can use
# Search for market research tools curl -H "Authorization: Bearer $KEY" \ "https://agents.vistara.dev/tool_search?query=market%20research" # Search for code generation tools curl -H "Authorization: Bearer $KEY" \ "https://agents.vistara.dev/tool_search?query=code%20generation"
Step 2: Create Your Agent Configuration
Define your agent's role, tools, and tasks
# Create a market intelligence agent curl -X POST "https://agents.vistara.dev/save_agent" \ -H "Authorization: Bearer $KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Market Research Agent", "description": "Analyzes market trends and opportunities", "arguments": ["query", "market"], "agents": { "researcher": { "role": "Market Research Specialist", "goal": "Provide comprehensive market analysis", "backstory": "Expert in market research and trend analysis", "agent_tools": ["Reddit Business Intelligence", "Twitter Sentiment"] } }, "tasks": { "analysis": { "description": "Analyze market trends for the given query", "expected_output": "Comprehensive market analysis report", "agent": "researcher" } } }'
Step 3: Execute Your Agent
Run your agent with specific queries and tasks
# Execute the agent curl -X POST "https://agents.vistara.dev/agent_call?agent_id=YOUR_AGENT_ID" \ -H "Authorization: Bearer $KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "Analyze the AI automation market for business opportunities", "task": "Perform comprehensive market research", "context": "Focus on SaaS tools and automation platforms" }'
Step 4: Monitor & Stream Results
Get real-time updates on agent execution
# Stream agent execution in real-time curl -H "Authorization: Bearer $KEY" \ "https://agents.vistara.dev/stream/YOUR_AGENT_ID?query=your%20query" # Check execution status curl -H "Authorization: Bearer $KEY" \ "https://agents.vistara.dev/executions"
Agent Configuration
Configure your agents with the right tools and capabilities for your specific use case
Available Agent Types
The Zara framework supports various agent types for different use cases
Market Intelligence
Reddit analysis, Twitter sentiment, market trends
Code Generation
AI-powered code creation and optimization
Workflow Automation
Business process automation and orchestration
Next Steps
Your first agent is deployed! Here's what you can do next
Create Workflows
Build automated workflows that connect multiple agents and services
Explore Workflows →
Ready to Scale Your Agents?
Deploy more agents, create complex workflows, and build a fully automated development pipeline