Skip to main content
This template deploys AgentOS and PostgreSQL with pgvector to Render. Automatic HTTPS and public domain included.

What’s Included

ComponentDescription
AgentOSFastAPI server running your AI agents
PostgreSQLDatabase with pgvector for embeddings
Automatic HTTPSRender handles TLS certificates
Public Domainyour-app.onrender.com

Prerequisites

You’ll need: Install Render CLI (optional, for management):
brew install render

Deploy

Render offers two deployment methods:
MethodPlan RequiredBest For
Blueprint (Dashboard)Free or PaidMost users, free tier
API (Script)Paid onlyAutomation, CI/CD
The Render API does not support creating free-tier services. If you’re on Render’s free plan, use the Blueprint method.

Create Your Project

1

Set up Python environment

uv venv --python 3.12
source .venv/bin/activate
2

Install Agno

uv pip install -U 'agno[infra]'
3

Create from template

ag infra create --template agentos-render --name my-agentos
cd my-agentos
4

Set your API key

export OPENAI_API_KEY=sk-***

Included Agents

These agents are ready to use once deployed:

Pal

Personal assistant that learns from you. Stores notes, bookmarks, and research findings.

Knowledge Agent

RAG agent that answers questions from your documents. Pre-loaded with Agno docs.

MCP Agent

Connects to external tools via MCP. Extensible with any MCP-compatible service.

Deploy with Blueprint

Deploy using the Render Dashboard. Works with free and paid plans.
5

Test locally (optional)

Create a .env file and start containers:
echo "OPENAI_API_KEY=sk-***" > .env
docker compose up -d --build
Open http://localhost:8000/docs to verify, then stop with docker compose down.
6

Push to GitHub

git init
git add .
git commit -m "Initial commit"
git remote add origin git@github.com:YOUR_USERNAME/my-agentos.git
git push -u origin main
7

Create Blueprint on Render

  1. Go to dashboard.render.com/blueprints
  2. Click New Blueprint Instance
  3. Connect your GitHub account and select your repository
  4. Render detects render.yaml and shows resources to create
Create Blueprint on Render
8

Configure environment variables

Render prompts you to set:
  • OPENAI_API_KEY (required): Your OpenAI API key
  • EXA_API_KEY (optional): For web research features
Database variables are configured automatically.
Configure environment variables on Render
9

Deploy

Click Apply to start deployment. Takes ~5 minutes.
10

Get your domain

Click on agentos-api service. Your URL is at the top (e.g., https://agentos-api.onrender.com).Navigate to <your-domain>/docs to see your AgentOS API.
Render service URL

Connect to Control Plane

11

Connect your AgentOS

  1. Go to os.agno.com
  2. Click “Connect OS” → Select “Live”
  3. Paste your Render domain
AgentOS connection dialog
Your AgentOS is live! Manage it from os.agno.com

Deploy with API

Deploy using a script that calls the Render API. Requires a paid plan.
The Render API does not support free-tier services. This method uses paid plans:
  • Database: basic_256mb (~$7/month)
  • Web Service: starter (~$7/month)
Use Blueprint deployment for free tier.
5

Push to GitHub

git init
git add .
git commit -m "Initial commit"
git remote add origin git@github.com:YOUR_USERNAME/my-agentos.git
git push -u origin main
6

Get your Render API key

  1. Go to dashboard.render.com
  2. Click profile icon → Account SettingsAPI Keys
  3. Click Create API Key and copy it (starts with rnd_)
7

Export API keys

export RENDER_API_KEY=rnd_***
export OPENAI_API_KEY=sk-***
export EXA_API_KEY=***  # Optional
8

Deploy

./scripts/render_up.sh
Creates PostgreSQL, web service, and configures environment variables.
9

Get your domain

The script outputs your URL. Or use:
render services
Navigate to <your-domain>/docs to see your AgentOS API.
10

Connect to Control Plane

  1. Go to os.agno.com
  2. Click “Connect OS” → Select “Live”
  3. Paste your Render domain
Your AgentOS is live! Manage it from os.agno.com

Next Steps

Reference

Blueprint Deployment

TaskAction
View logsDashboard → Service → Logs tab
RedeployPush to GitHub (auto-deploys)
Manual redeployDashboard → Manual DeployDeploy latest commit
Update env varsDashboard → Service → Environment tab
Delete resourcesDashboard → Blueprints → Settings → Delete Blueprint

API Deployment

TaskCommand
View logsrender logs
SSH into servicerender ssh
Connect to databaserender psql
Trigger redeployrender deploys create
List servicesrender services

Troubleshooting

Check logs in Dashboard or via CLI: render logs. Common issues: missing environment variables, Docker build errors.
PostgreSQL takes ~30-60s to provision. Wait and retry.
Container starting. Wait 2-3 minutes for health checks to pass.
Ensure valid plan names: basic_256mb for database, starter for web service.
Render limitation. Use Blueprint deployment instead.