← All AI resources

SDK guide

OpenRouter Agent SDK

Published by OpenRouter

About this resource

You want a TypeScript agent loop with automatic tool dispatch, conversation state, streaming, MCP tools, and explicit step or cost stop conditions while retaining access to OpenRouter's multi-provider catalog.

What it covers