Other Frameworks
SideSeat works with any framework that emits OpenTelemetry traces. This page covers frameworks without dedicated integration pages.
LangChain
Section titled “LangChain”pip install langchain langchain-openai sideseatuv add langchain langchain-openai sideseatfrom sideseat import SideSeat, Frameworksfrom langchain_openai import ChatOpenAI
SideSeat(framework=Frameworks.LangChain)
llm = ChatOpenAI(model="gpt-5-mini")response = llm.invoke("Hello!")print(response.content)PydanticAI
Section titled “PydanticAI”pip install pydantic-ai sideseatuv add pydantic-ai sideseatfrom sideseat import SideSeat, Frameworksfrom pydantic_ai import Agent
SideSeat(framework=Frameworks.PydanticAI)
agent = Agent('openai:gpt-5-mini')result = agent.run_sync('What is the capital of France?')print(result.data)LlamaIndex
Section titled “LlamaIndex”LlamaIndex emits OpenTelemetry traces natively. SideSeat captures them without framework-specific instrumentation.
pip install llama-index sideseatuv add llama-index sideseatfrom sideseat import SideSeatfrom llama_index.core import VectorStoreIndex, SimpleDirectoryReader
SideSeat(auto_instrument=False)
documents = SimpleDirectoryReader("data").load_data()index = VectorStoreIndex.from_documents(documents)query_engine = index.as_query_engine()
response = query_engine.query("What is this about?")print(response)AutoGen
Section titled “AutoGen”pip install autogen-agentchat "sideseat[autogen]"uv add autogen-agentchat "sideseat[autogen]"from sideseat import SideSeat, Frameworksfrom autogen import AssistantAgent, UserProxyAgent
SideSeat(framework=Frameworks.AutoGen)
config_list = [{"model": "gpt-5-mini", "api_key": "sk-xxx"}]assistant = AssistantAgent("assistant", llm_config={"config_list": config_list})user = UserProxyAgent("user", human_input_mode="NEVER")
user.initiate_chat(assistant, message="Hello!")Generic OpenTelemetry
Section titled “Generic OpenTelemetry”For frameworks not listed above, send traces directly via the OpenTelemetry SDK:
-
Start SideSeat
Terminal window npx sideseat -
Set the endpoint
Terminal window export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:5388/otel/default -
Install and configure
Terminal window pip install opentelemetry-sdk opentelemetry-exporter-otlpTerminal window uv add opentelemetry-sdk opentelemetry-exporter-otlpfrom opentelemetry import tracefrom opentelemetry.sdk.trace import TracerProviderfrom opentelemetry.sdk.trace.export import BatchSpanProcessorfrom opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporterprovider = TracerProvider()provider.add_span_processor(BatchSpanProcessor(OTLPSpanExporter()))trace.set_tracer_provider(provider)
SideSeat auto-detects framework spans and normalizes them into the workbench timeline.
Next Steps
Section titled “Next Steps”- Python SDK — SDK reference
- OpenTelemetry Reference — attribute extraction details