---
title: SDK overview
description: A compact map of the Relpin SDK surface for TypeScript and Python apps.
section: SDK
sidebarLabel: Overview
order: 70
updated: "2026-06-11"
status: beta
llms: true
keywords:
  - SDK
  - TypeScript
  - Python
  - runtime context
---

The Relpin SDK gives generated apps a governed way to work with runtime context, authenticated sessions, data access, and app API metadata.

## TypeScript SDK

The TypeScript SDK exports helpers for:

- runtime context
- server-side auth and permission checks
- governed database access
- API surface metadata
- route manifest conversion

Start with:

```ts
import { getContext, withAuth, getWorkspaceDb } from '@app-builder-platform/relpin-sdk'
```

## Python SDK

The Python SDK supports FastAPI apps with:

- `RelpinDb` for governed query transport
- table-read helpers for common select/count shapes
- `RelpinReadinessMiddleware` for preview readiness

Start with:

```python
from relpin_sdk import RelpinDb, RelpinReadinessMiddleware
```

## Boundary

The SDK is not a shortcut around platform governance. It is the way generated app code reaches governed platform services without receiving raw secrets.
