When to build from scratch
- You want full control over the agent loop
- You don’t need LLM framework integrations
- You’re building custom orchestration logic
- You want minimal dependencies
Create an agent
The @superserve.tool decorator
Define tools that execute on Ray workers:
The Agent base class
Subclass Agent to create a custom agent:
Parallel tool execution
Usecall_tools_parallel() to run multiple tools simultaneously: