Skip to content
Teasim

A composable TypeScript framework for APIs and agents.

Define a business action once. Call it from an HTTP route or an agent tool with the same types and authorization rules.

orders.ts
import { service } from "@teasim/service";

export const api = service()
  .get("/orders/:id", ({ params }) => ({
    orderId: params.id,
  }));
GET /orders/42
200 OK { "orderId": "42" }

Explore the framework

  • Harness Give agents tools, stream their progress, and pause a run when a tool needs approval.
  • Service Build typed HTTP routes. Mount services together and test requests in process with the Fetch API.
  • Plugins Connect a model provider, persist agent runs, or add OpenAPI and CORS to a service.