An open API service indexing awesome lists of open source software.

https://github.com/alectrocute/agent-saas

Multi-tenant agent platform example built on Cloudflare (Pages + Containers).
https://github.com/alectrocute/agent-saas

Last synced: about 1 month ago
JSON representation

Multi-tenant agent platform example built on Cloudflare (Pages + Containers).

Awesome Lists containing this project

README

          

# Agent SaaS on Cloudflare Containers

Self-hosted, multi-tenant agent platform on Cloudflare (Pages + Containers).

See the blog post [here](https://alec.is/posts/building-an-agent-saas-with-cloudflare-containers/).

There is a demo instance, which may or may not be running at the time of visiting [here](https://agents.alec.is).

## Run locally

```bash
cd src
# create .env with vars from Env section below
pnpm install
pnpm dev
```

## Env

- `NUXT_SESSION_PASSWORD` — session secret
- `NUXT_OAUTH_GOOGLE_*` — Google OAuth (optional)
- `ADMIN_EMAIL` — admin account email
- `OPENROUTER_API_KEY` — for OpenRouter models (optional)

## Deploy

```bash
cd src && pnpm deploy
```

Set the same env vars in Cloudflare Pages → Settings → Environment variables.

## Screenshots

![1](./docs/1.png) ![2](./docs/2.png) ![3](./docs/3.png) ![4](./docs/4.png) ![5](./docs/5.png) ![6](./docs/6.png) ![7](./docs/7.png)