Scalable. Stateful. Serverless.

Tivet is the platform to build realtime ai agent applications.
No limitations of Redis or timeouts of Lambda.
Open-source & self-hostable.

What we have

Highlights

Simple primitives to build your Agent

Leverage Tivet Actors to build complex functionality with ease

actor.ts

Runs on Tivet servers

import { Actor, type Rpc } from "@Tivet-gg/actor";

class ChatRoom extends Actor {
// receive an remote procedure call from the client
sendMessage(rpc: Rpc, username: string, message: string) {
// save message to persistent storage
this._state.messages.push({ username, message });

// broadcast message to all clients
this._broadcast("newMessage", { username, message });
}

// initialize this._state
override _onInitialize() {
return { messages: [] };
}
}

client.ts

Runs in the browser

import { Client } from "@Tivet-gg/actor-client";
import type { Chat } from "./chat.ts";

// connect to actor
const rivet = new Client(/* ... */);
const room = await rivet.get<ChatRoom>({
name: "room",
channel: "random",
});

// send a message
room.sendMessage("william", "All the world's a stage.");

// receive broadcasted message from actor
room.on("newMessage", ({ username, message }) => {
console.log(`${username}: ${message}`);
});

Tivet comes packed with features

State & Persistence

State that feels like memory but works like storage. Ideal for dynamic, fast-moving agents.

Documentation

RPC

Lightweight messaging built for speed. Complete client/server type safety included.

Documentation

Runs Forever, Sleeps When Idle

Always available, sleeps on network inactivity or timeouts, and wakes instantly on demand.

Documentation

Edge

Automatically distribute your agents with ultra-low latency.

Documentation

Fault Tolerance

Ensure application & state resilience through crashes with zero downtime.

Documentation

Highlights

Build without limits

Scale from 1 to multiple agents with powerful built-in capabilities.

Works with Your Runtime

Supports v8 isolates, WebAssembly, and containers to work with your existing tools.

Scales to zero

Free to use with access to everything.

No Servers & No Configuration

Deploy with one command. Scale on demand without any configuration.

Realtime State Made Easy

Access your data in-memory with persistence & fault tolerance using Tivet Agents.

Run Near Your Users

Automatically distribute agents to edge locations for low latency.

Simpler Than Lambda, No Timeouts Ever

No execution time limits, no complexity — just better serverless.

Tivet Cloud

Deploy on Tivet Cloud

A full-featured platform that lets
you focus on building.

Team collaboration

Bring anyone together in one workspace, with no user limits.

DDoS mitigation built-in

Automatic DDoS attack mitigation to protect your agent.

Release management

Powerful release management & instant rollbacks.

Zero infrastructure maintenance

Instant scaling without the hassle.

Built-in SSL security

Automatic SSL/TLS for WebSocket connections.

Logging and monitoring included

Monitor detailed actor activity out of the box.

Start Tiveting