Getting Started
Create your first AI agent with Erdo. This guide covers installation, authentication, and building a basic agent.Prerequisites You should have Python 3.8+ and access to the Erdo platform
(sign up here)
Step 1: Choose Your Approach
Choose between CLI and Python SDK based on your preference:- CLI
- Python SDK
The fastest way to get started is with the Erdo CLI:Verify the installation:
Step 2: Authenticate
- CLI
- SDK
Connect the CLI to your Erdo account:This will open your browser to authenticate with your Erdo account.
Step 3: Create Your First Agent
Letβs create a simple task automation agent:Step 4: Agent Components
Agents are built with these components:Agents
Agents
Steps
Steps
Actions
Actions
Result Handlers
Result Handlers
Step 5: Complete Example
Hereβs a complete agent that demonstrates the API patterns:Step 6: Test Your Agent
Erdo provides two complementary testing approaches:- Unit Testing
- Integration Testing
Test all execution paths without LLM calls:What gets tested:
- All conditional branches and result handlers
- Template expressions with generated test data
- State transformations and step dependencies
- Error handling paths
Step 7: Deploy Your Agent
- CLI
- SDK
Sync your validated agent to the platform:
Next Steps
Core Concepts
Learn about agents, steps, actions, and result handlers
SDK Reference
Explore the full Python SDK capabilities
Examples
See real-world automation examples
CLI Tools
Master the Erdo command-line interface
Key Concepts
- Agents orchestrate your automation workflow
- Steps define individual actions in your workflow
- Actions are the building blocks (LLM calls, code execution, etc.)
- Result handlers use
step.on()for conditional logic - Dependencies control step execution order with
depends_on - Output access uses
step.output.fieldfor referencing step results
Troubleshooting
Authentication issues
Authentication issues
Make sure youβre logged in:
erdo loginCheck your authentication status: erdo whoamiAgent validation errors
Agent validation errors
Run
erdo validate to check for common issues:- Missing required fields
- Invalid action configurations
- Circular dependencies
Local testing issues
Local testing issues
Ensure your agent has all required parameters: