Skip to main content
LangSmith provides both a Python SDK for interacting with Agent Server.
Python SDK reference For detailed information about the Python SDK, see Python SDK reference docs.

Installation

You can install the packages using the appropriate package manager for your language:

Python sync vs. async

The Python SDK provides both synchronous (get_sync_client) and asynchronous (get_client) clients for interacting with Agent Server:

Learn more


Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.