Opencode Langsmith Tracing — AI skill for Claude Code
LangSmith tracing plugin for opencode — captures sessions, LLM calls, tool calls, reasoning, and context compaction.
How to install Opencode Langsmith Tracing
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Dramalf/opencode-langsmith-tracing and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Opencode Langsmith Tracing does
LangSmith tracing plugin for opencode — captures sessions, LLM calls, tool calls, reasoning, and context compaction. Trace taxonomy compatible with langsmith-claude-code-plugins.
Alternatives in AI
- Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
- Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
- Claude Replay — Convert AI coding agent sessions (Claude Code, Cursor, Codex, Gemini, OpenCode) into self-contained, embeddabl 644 ★
README
LangSmith Tracing Plugin for opencode
[](https://www.npmjs.com/package/opencode-langsmith-tracing) [](https://www.npmjs.com/package/opencode-langsmith-tracing) [](./LICENSE) [](./tsconfig.json) [](./package.json)
**Full observability for [opencode](https://opencode.ai) sessions.** Stream every conversation turn, LLM call, tool call, reasoning step, token usage, cost, and context compaction to [LangSmith](https://smith.langchain.com). Trace taxonomy compatible with the official [`langsmith-claude-code-plugins`](https://github.com/langchain-ai/langsmith-claude-code-plugins), so existing LangSmith dashboards and evaluators built for Claude Code work unchanged.
**Keywords**: opencode tracing · LangSmith tracing for opencode · opencode plugin · opencode observability · LLM tracing · agent tracing · Claude Code equivalent for opencode.
Quick start (30 seconds)
// opencode.json (project root, or ~/.config/opencode/opencode.json globally)
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-langsmith-tracing"]
}
# .opencode/langsmith.env (auto-loaded by the plugin; gitignore it!)
LANGSMITH_TRACING=true
OC_LANGSMITH_API_KEY=lsv2_pt_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OC_LANGSMITH_PROJECT=my-opencode
That's it — start `opencode` and every conversation will appear in your LangSmith project in real time.
Tested with opencode `1.4.x`.
Trace hierarchy
OpenCode Turn (chain) ← one per user prompt
├── OpenCode Assistant (llm) ←
Related Skills
Summarize Negative
Below is a cleaned execution trace of an AI agent run. Each section is one agent turn or tool result. Internal
Summarize Positive
Below is a cleaned execution trace of an AI agent run. Each section is one agent turn or tool result. Internal
Cortex
-- Persistent AI memory for coding assistants. Auto-captures decisions, patterns, and context across sessions.
Claude Mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, comp
9router Model Select Tool
Cross-platform desktop app for discovering 9router models and safely configuring Claude Code, Codex, OpenCode,
Aria Knowledge
Applied reasoning, persistent agent memory, context engineering, and human-governed trust for AI coding agents
Related Agents
Session Error Analyzer
Analyzes specific AI IDE sessions (Claude Code, OpenAI Codex, OpenCode) for LLM behavior errors and returns a
Claude Code Tools
by Prasad Chalasani - Well-crafted toolset for session continuity, featuring skills/commands to avoid compacti
Claude Mem
A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresse