Prerequisites:
- Python 3.12 or higher
- Docker (optional, for code sandbox features)
Get started in four steps
1
Install RayAI
2
Create a project
agents/- Directory for your agent codepyproject.toml- Project dependencies.env- Environment variables (API keys, etc.)
3
Create an agent
langchain, pydantic (more coming soon)See the framework guides for framework-specific implementations.This creates agents/my_agent/agent.py with a template you can customize.4
Serve and test
Start the server:Test your agent: