Skip to main content

Python SDK

Coming Soon — The Python SDK is currently under development.
While the Python SDK for direct API access is coming, Python tracing integrations are available now. You can instrument your Python LLM applications today.

Python Integrations

Overview of all Python integration packages

OpenAI (Python)

Trace OpenAI calls in Python applications

LangChain (Python)

LangChain callback handler for Python

LangGraph (Python)

LangGraph tracing for graph-based agent workflows

Expected Installation

pip install mutagent

Expected Usage

from mutagent import Mutagent

client = Mutagent(bearer_auth="mt_xxxx")

# Create a prompt
prompt = client.prompts.create(
    name="Support Assistant",
    content="You are a helpful assistant for {company}.",
)

print(f"Created: {prompt.id}")

Planned Features

  • Full parity with TypeScript SDK
  • Async support with asyncio
  • Type hints for IDE support
  • Integration with popular Python ML libraries

Want Updates?

Star the MutagenT repository to get notified when the Python SDK is released.