Quickstart
This guide walks you through installing RadarOS and building your first agent in three steps.Installation
Install the core package and your preferred LLM provider:- npm
- pnpm
- yarn
anthropic or @google/genai instead of (or in addition to) openai.
Set your API key as an environment variable:
Step 1: Create Your First Agent
Create a simple agent with a few lines of code:index.ts
Step 2: Add Tools
Extend your agent with function calling. Define tools with Zod schemas for type-safe parameters:weather-agent.ts
get_weather when needed and incorporate the result into its response.
Step 3: Stream Responses
For real-time output, use the streaming API:stream-agent.ts
chunk.type as needed for your use case.
Next Steps
Agents
Learn about agent configuration, instructions, and advanced options.
Models
Switch providers, use local models with Ollama, or build custom adapters.
Teams
Coordinate multiple agents with route, broadcast, and collaborate modes.
Workflows
Build stateful multi-step workflows with conditions and parallel execution.