If you are building LLM agents with LangGraph or LangChain and need production observability, you have probably looked at LangSmith. You may also have found CortexOps. This article compares them directly so you can make an informed choice.
Short version:
LangSmith is the right choice if you are already in the LangChain ecosystem and want deep integration with minimal setup.
CortexOps is the right choice if you need framework-neutral observability, an open-source option you can self-host, or a CI/CD eval gate that works across any agent framework.
What They Are
LangSmith is LangChain's commercial observability and evaluation platform. It is tightly integrated with LangChain and LangGraph, captures traces automatically when you set an environment variable, and provides a hosted dashboard at smith.langchain.com.
CortexOps is an open-source AI agent observability platform that supports 12 agent frameworks including LangGraph, CrewAI, OpenAI Agents SDK, PydanticAI, Google ADK, Smolagents, Haystack, DSPy, and more. It provides distributed tracing via OpenTelemetry, an LLM-as-judge eval framework, and a CI/CD deployment gate CLI. Available at getcortexops.com and pip install cortexops.
Feature Comparison
FeatureLangSmithCortexOpsTracing✓ Automatic (LangChain/LangGraph)✓ 12 frameworksOpenTelemetry export✗ Proprietary format✓ OTLP to any backendSelf-hostable✗ Cloud only✓ MIT license, Railway/DockerLLM-as-judge eval✓ Yes✓ YesGolden dataset API✓ Yes✓ YesCI/CD eval gate CLI✓ Yes✓ Yes (exit code 1 on regression)GitHub Actions✓ Yes✓ cortexops-eval-actionFree tier✓ Limited✓ 5,000 traces/monthOpen source✗ Closed source✓ MIT licenseFramework supportLangChain/LangGraph focused12 frameworksPII redaction✓✓PricingUsage-based, paid plansFree + $49/month Pro
Tracing
LangSmith wins on zero-configuration tracing for LangChain:
import os
os.environ["LANGCHAIN_TRACING_V2"] = "true"
os.environ["LANGCHAIN_API_KEY"] = "your-key"
# That's it — all LangChain calls are traced automatically
CortexOps requires three lines but works across any framework
from cortexops import CortexTracer
tracer = CortexTracer(api_key="cxo-...", project="my-agent")
agent = tracer.wrap(your_compiled_graph)
The same three lines work for CrewAI, OpenAI Agents SDK, PydanticAI — any of the 12 supported frameworks. LangSmith traces are captured in LangSmith's proprietary format. CortexOps traces are exported via OpenTelemetry OTLP, which means you can send them to Honeycomb, Jaeger, Grafana Tempo, or Datadog alongside your existing infrastructure.
Winner: LangSmith for LangChain teams. CortexOps for multi-framework teams or teams with existing OTel infrastructure.
Evaluation in CI/CD
Both platforms offer golden dataset evaluation. CortexOps ships a CLI specifically designed as a CI/CD gate:
# CortexOps — fails with exit code 1 if quality drops below threshold
cortexops eval run \
--dataset datasets/refund_agent.yaml \
--judge \
--fail-on "task_completion < 0.90"
# .github/workflows/eval.yml
- uses: ashishodu2023/cortexops-eval-action@v1
with:
dataset: datasets/refund_agent.yaml
fail-on: "task_completion < 0.90"
cortexops-api-key: ${{ secrets.CORTEXOPS_API_KEY }}
LangSmith has evaluation capabilities and can be integrated into CI/CD, but the deployment gate pattern — where the CI job explicitly fails on quality regression — is a first-class feature in CortexOps.
Winner: Roughly equal, with CortexOps having a tighter CI/CD gate integration.
**
Open Source vs Closed Source**
This is the clearest distinction. LangSmith is a commercial SaaS. If LangSmith changes pricing, deprecates features, or shuts down, your observability infrastructure is affected.
CortexOps is MIT licensed. You can:
Self-host on Railway, Docker, or your own infrastructure
Inspect and modify the source code
Contribute back to the project
Build internal tooling on top of the API
For teams with data residency requirements, compliance constraints, or air-gapped environments, open source self-hosting is often the only viable option.
Winner: CortexOps if open source or self-hosting matters. LangSmith if you prefer managed infrastructure.
Framework Support
If your entire stack is LangChain and LangGraph, LangSmith is purpose-built for you. If you use multiple frameworks — a common pattern as the agent ecosystem matures — CortexOps covers the breadth:
LangGraph ✓ Both
CrewAI ✓ CortexOps only
OpenAI SDK ✓ CortexOps only
PydanticAI ✓ CortexOps only
Google ADK ✓ CortexOps only
Smolagents ✓ CortexOps only
Haystack ✓ CortexOps only
DSPy ✓ CortexOps only
AutoGen ✓ CortexOps only
Winner: CortexOps for multi-framework teams.
When to Choose LangSmith
- Your entire agent stack is LangGraph or LangChain
- You want automatic tracing with zero configuration
- You prefer a managed SaaS with commercial support
- Budget is not a constraint
When to Choose CortexOps
- You use multiple agent frameworks
- You need OpenTelemetry-native tracing for existing infrastructure
- Open source and self-hosting matter
- You want a CI/CD eval gate that works out of the box
- You are on a budget (generous free tier)
Conclusion
LangSmith and CortexOps solve the same problem from different angles. LangSmith is deeper in the LangChain ecosystem. CortexOps is broader across the agent framework landscape and open source.
For most teams using a mix of frameworks, or teams who care about vendor neutrality, CortexOps is the stronger choice. For teams entirely on LangChain/LangGraph who want zero-configuration setup, LangSmith may be simpler to start with.
Try CortexOps: pip install cortexops — free tier, no credit card required.
Links:
CortexOps: getcortexops.com
GitHub: github.com/ashishodu2023/cortexops
LangSmith: smith.langchain.com





















