API & SDK

Integrate the Python SDK

Install and use the official Inceptiva client for Python 3.10 or later.

Updated August 3, 2026 Β· 10 min

Install and create the client

pip install inceptiva
import os
from inceptiva import Inceptiva
client = Inceptiva(api_key=os.environ["INCEPTIVA_API_KEY"], agent_id=os.environ["INCEPTIVA_AGENT_ID"])

Continue a conversation

first = client.responses.create(message="Analyze this opportunity")
follow_up = client.responses.create(message="What is the next step?", conversation_id=first.conversation_id)

client.invoke(...) remains an alias. Streaming returns an iterator that can be closed with events.close(); collect_stream(events) returns the accumulated result. See the Python reference.