Overview
Run the whole runtime yourself: on your machine, on a server of yours, or on Kubernetes.
Self-hosting is running the Pinecall runtime yourself: the gateway, the workers and the services
they stand on, on your own machines and your own cloud account. It is open source
(pinecall/pinecall, its runtime/), the same code that serves
cloud.pinecall.io.
Building an agent does not need any of this. Pinecall Cloud runs the runtime for you: start with the Quickstart.
What is the runtime?#
One Python package, pinecall-runtime (uv tool install --python 3.13 pinecall-runtime: it needs Python 3.13, which uv fetches when the machine has none or an older one), and its operator's CLI of the same name. It serves both the
sandbox and production from one gateway and one database.
Three ways to run it#
| On your machine | On your server | On Kubernetes | |
|---|---|---|---|
| for | developing an agent against a runtime of your own, trying Pinecall | serving calls from one machine of yours, up to the seats you give it | serving many calls: fleets that grow with them, and alerts |
| made by | pinecall-runtime setup |
pinecall-runtime setup --domain <name> |
Terraform for the cloud, Helm charts for the runtime |
| where | Postgres, Redis and LiveKit in Docker on loopback; the gateway and a sandbox worker in your terminal | everything in Docker, back after a reboot: Caddy with https, LiveKit facing out, two gateways, a worker and an overflow per environment | a cluster on Google Cloud or AWS: two gateways, Postgres under CloudNativePG, a LiveKit, SIP and workers per environment |
| when every seat is taken | a browser call is refused; no overflow answers a phone caller | the overflow answers a phone caller with one sentence and a call back | workers and machines are added; the overflow answers meanwhile |
| backups | none | to a bucket of yours, when PINECALL_BACKUP_URL names one |
to a bucket, always |
| signing in | none: setup signs this machine in |
pinecall login https://<name> from each laptop |
pinecall login https://<name> |
| your own LiveKit | — | --livekit <wss-url> |
the chart's own |
| phone calls | Linux only | --phone |
a SIP name per environment |
Both setup forms run the same code with the same settings: what differs is where each variable
comes from (Environment variables).
Your first agent, from zero#
You run the runtime and you build on it: one person, two roles. setup asks your email and a password,
makes the org default, makes you its admin and the runtime's operator, and lends default every
vendor key it found, with no limit. There is no org to make and no quota to set before your first call.
Pick where the runtime runs. On your machine (localhost) is for you alone, to build and try agents. On your server is a name with https that your team and real callers reach.
Docker running, then three terminals.
1. The runtime. It asks your email and a password, then stays running: this terminal is the runtime, and Ctrl-C stops it.
uv tool install --python 3.13 "pinecall-runtime[voice]"
pinecall-runtime setup
2. Your agent. No pinecall login: setup already signed this machine in.
npm i -g pinecall
pinecall new acme --agent front-desk && cd acme && npm install
pinecall start # holds the agent: leave it running
3. Talk to it, in the same folder:
pinecall chat
The console is http://127.0.0.1:8080/sandbox/, with the same email and password, or pinecall console opens it signed in. Every step: On your machine.
A Linux machine with Docker, and a name pointing at it.
1. The runtime, on the server. It asks your email and a password, starts everything in Docker with https, and returns: the runtime keeps running, and comes back after a reboot.
uv tool install --python 3.13 "pinecall-runtime[voice]"
pinecall-runtime setup --domain voice.example.com
2. Your agent, on your laptop. login opens the browser: sign in with that email and password.
npm i -g pinecall
pinecall login https://voice.example.com
pinecall new acme --agent front-desk && cd acme && npm install
pinecall start # holds the agent: leave it running
3. Talk to it, in another terminal in the same folder:
pinecall chat
The console is https://voice.example.com, with the same email and password. Every step: On your
server.
More people in your org: the console's Team ▸ Invite; the person gets a link, sets a password, and signs in the same way. Another org, for a customer or a team that should not see yours, and what it may use: More orgs and keys.
Keys, in one sentence#
The runtime holds vendor keys and lends them to its orgs; an org may bring its own to pay its
own vendors. A call runs on the org's key, else on a lent one, else is refused before it starts.
setup loads the keys it finds as the runtime's, lent to every org; Limits has the rest.
What you need#
On your machine
- Docker with the compose plugin, and uv, which installs the
runtime:
uv tool install --python 3.13 "pinecall-runtime[voice]". - Node 24 or later, for the
pinecallCLI. - A key for each vendor your calls run on — or open models on your own hardware, and no vendor at all.
On your server
- A Linux machine with Docker, a name pointing at it, ports 80, 443, 7881/tcp and 7882/udp open.
- The same vendor keys, or an NVIDIA card for the open models.
On Kubernetes
- A Google Cloud project or an AWS account, with its CLI signed in (
gcloud,aws), Terraform, Helm andkubectl, and Helm's diff plugin formake diff(helm plugin install https://github.com/databus23/helm-diff --verify=false). - A DNS zone on Route 53 for the runtime's names: the one name the sandbox and production are served at, and a SIP name for each.
- A checkout of pinecall/pinecall:
make image, from itsruntime/, builds the console and the widget beside it into the runtime's image. - A private directory of your own values: every chart's values and the Terraform variables, which the repository never holds.
Your own GPU#
Optional on either: open models on your own NVIDIA card as the runtime's vendors. Three model
servers (Whisper for the ears, an Ollama model for the thinking, Kokoro for the voice) and a
providers row that points at them. No cloud vendor hears, thinks or speaks in the call. setup
picks the first measured model that fits the card: nemotron-3.5-lightning:30b-a3b from about
31 GB, gemma4:12b from about 15 GB, gemma4:e4b from about 13 GB.