Chisle
코딩 에이전트 플러그인, 20개 실시간 작업에서 기본 모델 52% 활용, 간결한 페르소나와 출력 압축 제공
Langfuse로 OpenAI Codex CLI 세션·에이전트·모델 호출·툴·이미지·토큰·서브에이전트를 추적해 전체 가시성을 제공합니다
Trace OpenAI Codex CLI coding sessions, agent turns, model calls, system prompts, tool calls, images, token usage, and subagents with Langfuse for comprehensive observability.
개발 도구TypeScriptGitHub @langfuse온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
Trace OpenAI Codex CLI coding sessions, agent turns, tool calls, token usage, and subagents with Langfuse for comprehensive observability.
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Codex plugin that sends OpenAI Codex session telemetry to Langfuse. It traces agent turns, model generations, reasoning summaries, system prompts, tool calls, images, subagent threads, skills, and token usage.
Langfuse also documents this integration on the Codex integration page.
Add the plugin marketplace:
codex plugin marketplace add langfuse/codex-observability-plugin
Then enable hooks and the plugin in ~/.codex/config.toml, or only for one project in <project>/.codex/config.toml:
[features]
hooks = true
[plugins."tracing@codex-observability-plugin"]
enabled = true
Restart Codex after changing the config. When Hooks need review appears, review the Langfuse Stop hook in /hooks and trust it. An installed and enabled plugin is not yet a trusted hook, and no traces are uploaded before you trust it. Codex records trust against the current hook hash, so a plugin update can require another review.
0.143 and newer22 and newernpm CLI on your PATH, which Codex uses to fetch the plugin from the npm registry3.95.0 and newerCreate ~/.codex/langfuse.json (global) or <project>/.codex/langfuse.json (per-project) with your Langfuse credentials.
{
"enabled": true,
"public_key": "pk-lf-...",
"secret_key": "sk-lf-...",
"base_url": "https://cloud.langfuse.com"
}
Only enabled, public_key and secret_key are required. If base_url is not set, the plugin uses https://cloud.langfuse.com for the 🇪🇺 EU region. The other regions are https://us.cloud.langfuse.com (🇺🇸 US), https://jp.cloud.langfuse.com (🇯🇵 Japan) and https://hipaa.cloud.langfuse.com (⚕️ HIPAA).
You can also set credentials with environment variables:
export TRACE_TO_LANGFUSE="true"
export LANGFUSE_PUBLIC_KEY="pk-lf-..."
export LANGFUSE_SECRET_KEY="sk-lf-..."
export LANGFUSE_BASE_URL="https://cloud.langfuse.com"
Tracing stays off until enabled or TRACE_TO_LANGFUSE is true, so you opt in explicitly. Config is resolved as defaults, then ~/.codex/langfuse.json, then <project>/.codex/langfuse.json, then environment variables, and the environment wins. LANGFUSE_CODEX_* variables take precedence over the matching LANGFUSE_* ones, so you can scope credentials to Codex without disturbing other Langfuse tooling on the same machine.
The remaining options are settable both ways, as a langfuse.json key or as the matching LANGFUSE_CODEX_* variable:
environment labels the traces with an environment, for example production.user_id attaches a user to every trace. It defaults to the Codex auth email, if one is found.tags adds your own tags to every trace, either as a JSON array or as a comma-separated list.metadata attaches a JSON object to every trace.skill_tags tags traces with skill:<name> for every skill invoked in the turn, and defaults to true.trace_seed derives deterministic trace ids, so a headless caller knows a run's trace id up front. Use a unique seed per session.max_history_chars caps the conversation history attached to each model generation, keeping the most recent messages up to this many serialized characters and replacing older ones with a single "earlier message(s) omitted" marker. It defaults to 200000, and 0 disables the cap. Tool spans always keep their full output. Raising it or disabling it can exhaust memory on long sessions.debug logs verbosely to stderr, and defaults to false.fail_on_error fails the hook on upload errors instead of failing open, and defaults to false.Everything the plugin traces is uploaded to Langfuse, including prompts and tool inputs and outputs, so do not enable it for sessions containing data you do not want stored there.
See the contributing guide.