Skip to main content
LangChain is the most popular framework for building LLM-powered agents. This guide shows how to wrap Podium’s SDK methods as LangChain tools and compose them into agents and LangGraph workflows.

Prerequisites

Client Setup

Define Tools

Use DynamicStructuredTool to wrap each SDK method with a Zod schema:

Create an Agent

OpenAI Agent

Anthropic Agent

Swap the LLM and use the tool-calling agent:

LangGraph Workflow

For more structured flows, use LangGraph to build a state machine:

All Available Tools

You can create tools for any Podium SDK method. Here’s the full namespace map: