SDK — Python/sdks/python[ v2.x ]
[ 00 ]overview
Pythonic API with async/await, type hints, and seamless integration with the scientific Python ecosystem.
[ 01 ]Install
terminal — install
$ pip install myndlabs
[ 02 ]Quick start
quickstart.py
import asyncio
from myndlabs import MyndClient
async def main():
client = MyndClient()
agent = await client.agents.create(
name="my-agent",
model="auto",
instructions="You are a helpful assistant.",
)
run = await client.agents.run(
agent.id,
input="Explain quantum computing in one sentence.",
)
print(run.output)
asyncio.run(main())[ 03 ]Features
✓
Async-first
Built on httpx with native async/await. Sync client also available.
✓
Pydantic models
Full Pydantic v2 integration. Type-safe request/response models.
✓
Jupyter-friendly
Works in notebooks with rich display support for agent outputs.
Everything else — auth, streaming, errors, pagination — lives in the documentation.
Full docs