Three standalone examples under examples/agent/gateway/ demonstrating
Single Instrumentation Source approach for Portkey AI gateway:
- portkey-otel-instrumentation: opentelemetry-instrumentation-genai-portkey
+ opentelemetry-instrumentation-langchain (Traceloop) + LangGraph
- portkey-openinference-instrumentation: openinference-instrumentation-portkey
+ openinference-instrumentation-langchain (Arize) + LangGraph
- portkey-splunk-ao-instrumentation: splunk-ao[langchain] SplunkAOAsyncCallback
+ ChatOpenAI(base_url=portkey) + LangGraph
Each folder contains main.py (single LLM call), main_agent.py (full
agent with retrieval/tools/synthesizer), requirements.txt, and .env.example.
Co-Authored-By: Claude <noreply@anthropic.com>
Summary
Examples
Each folder contains
Test plan
🤖 Generated with Claude Code