# Types and schemas

## Types only

Import types without the client runtime:

```ts
import type { Agent, Session } from "@renai-labs/sdk/types"
```

## Zod schemas

Import Zod schemas for runtime validation:

```ts
import { AgentCreateBody } from "@renai-labs/sdk/zod"

const parsed = AgentCreateBody.parse(input)
```

Requires `npm install zod`.

## Related

- **[Client](/sdk/client)** — using the SDK.
- **[API reference](/api-reference)** — the source of these types.