Overview
Documentation
Everything you need to ship a streaming, traced, memory-aware agent. Self-host the whole stack in three commands.
Install the SDK
Two official SDKs (TypeScript and Python). Pick your stack — both speak the same HTTP + SSE protocol to the Relay control plane.
# TypeScript / Node
npm install @relayhq/sdk
# Python
pip install relayhqUsing Go, Rust, or anything else? The protocol is plain HTTP + SSE. See Languages & SDKs.
Start here
Two minutes from git clone to a streaming agent with a dashboard.
Browse
Every page in these docs, by topic.
Getting started
SDK
- →
Languages & SDKs
TypeScript, Python, Next.js, cURL, Go — pick your stack.
- →
SDK reference
createAgent, builtin tools, events, options.
- →
Tools
Built-in tools and custom function tools (with the full callback protocol).
- →
Memory
Semantic memory: pgvector, namespaces, retrieval pipeline.
- →
Providers
Anthropic, OpenAI, and any OpenAI-compatible endpoint.
Help
File a bug or feature request on GitHub Issues. For open-ended questions, use Discussions.