惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
MongoDB | Blog
MongoDB | Blog
博客园_首页
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
B
Blog RSS Feed
D
Docker
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
V
V2EX
量子位
雷峰网
雷峰网
月光博客
月光博客
云风的 BLOG
云风的 BLOG
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
CortexOps vs LangSmith: Which AI Agent Observability Tool...
Ashish Verma · 2026-06-15 · via DEV Community

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