Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview
On this page

SDKs

Every Anlyon package for TypeScript and Python: the API clients, the React components, the Vercel AI SDK tools, the LangChain and LlamaIndex integrations and the MCP server, with what each one is for.

Anlyon publishes a client for the API in TypeScript and Python, plus packages that plug it into the frameworks your agent already uses. Each one talks to the same API with an API key that stays on your server, and each one can act for one of your users in their own accounts with forUser() (for_user() in Python).

TypeScript

Package Install What it is for
@anlyonhq/sdk npm install @anlyonhq/sdk The typed API client: invoke actions, act for a user, wait for approvals, read receipts, verify webhooks.
@anlyonhq/react npm install @anlyonhq/react Prebuilt React components and hooks that let your users approve what your agent wants to do and connect their own accounts, inside your app. Beta.
@anlyonhq/ai-sdk npm install @anlyonhq/ai-sdk Your Anlyon actions as Vercel AI SDK tools, bound to one user, with connect, approval and refusal results the model can read.
@anlyonhq/mcp-server npx -y @anlyonhq/mcp-server An MCP server over stdio or HTTP that gives an MCP client your actions as tools. Documented under Agents, with the hosted MCP server.
@anlyonhq/cli npm install -g @anlyonhq/cli The anlyon command line. Documented under CLI.

Python

Package Install What it is for
anlyon pip install anlyon The API client, with a synchronous Client and an asynchronous AsyncClient.
anlyon-langchain pip install anlyon-langchain Anlyon actions as LangChain tools. Used in the LangGraph guide.
anlyon-llamaindex pip install anlyon-llamaindex Anlyon actions as LlamaIndex tools.

Which one to start with

  • A TypeScript or Python server that calls actions for your agent: start with @anlyonhq/sdk or anlyon.
  • An app whose users approve calls or connect accounts in your UI: add @anlyonhq/react on top of the TypeScript client.
  • An agent built on the Vercel AI SDK: use @anlyonhq/ai-sdk.
  • A coding agent or MCP client: connect it to the hosted MCP server from Agents.

Every package works against the same API reference. For the keys each one needs, see API keys and scopes.

Was this page helpful?