Skip to content

Other Frameworks

SideSeat works with any framework that emits OpenTelemetry traces. This page covers frameworks without dedicated integration pages.

Terminal window
pip install langchain langchain-openai sideseat
from sideseat import SideSeat, Frameworks
from langchain_openai import ChatOpenAI
SideSeat(framework=Frameworks.LangChain)
llm = ChatOpenAI(model="gpt-5-mini")
response = llm.invoke("Hello!")
print(response.content)
Terminal window
pip install pydantic-ai sideseat
from sideseat import SideSeat, Frameworks
from 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 emits OpenTelemetry traces natively. SideSeat captures them without framework-specific instrumentation.

Terminal window
pip install llama-index sideseat
from sideseat import SideSeat
from 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)
Terminal window
pip install autogen-agentchat "sideseat[autogen]"
from sideseat import SideSeat, Frameworks
from 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!")

For frameworks not listed above, send traces directly via the OpenTelemetry SDK:

  1. Start SideSeat

    Terminal window
    npx sideseat
  2. Set the endpoint

    Terminal window
    export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:5388/otel/default
  3. Install and configure

    Terminal window
    pip install opentelemetry-sdk opentelemetry-exporter-otlp
    from opentelemetry import trace
    from opentelemetry.sdk.trace import TracerProvider
    from opentelemetry.sdk.trace.export import BatchSpanProcessor
    from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
    provider = TracerProvider()
    provider.add_span_processor(BatchSpanProcessor(OTLPSpanExporter()))
    trace.set_tracer_provider(provider)

SideSeat auto-detects framework spans and normalizes them into the workbench timeline.