---
title: Debug Rust code with OpenAI Codex & Pydantic Logfire
description: >-
  Pydantic's David Hewitt dives into Pydantic Logfire, explains how to use the
  Logfire Rust SDK to instrument OpenAI Codex & introduces Logfire MCP Server
date: '2025-08-14'
authors:
  - David Hewitt
categories:
  - Pydantic
  - Logfire
  - MCP
canonical: 'https://pydantic.dev/articles/openai-codex-mcp-talk'
---

> Markdown version of [Debug Rust code with OpenAI Codex & Pydantic Logfire](https://pydantic.dev/articles/openai-codex-mcp-talk) — the canonical HTML page.
>
> By [David Hewitt](https://pydantic.dev/authors/david-hewitt.md) · 2025-08-14 · Pydantic, Logfire, MCP
>
> Related: [Observability tools agents want](https://pydantic.dev/articles/observability-tools-agents-want.md) · [SELECT * FROM clickbait()](https://pydantic.dev/articles/select-star-from-clickbait.md)
>
> All articles: [/articles.md](https://pydantic.dev/articles.md) · Site index: [/llms.txt](https://pydantic.dev/llms.txt)

---

On August 21st, Pydantic's David Hewitt (maintainer of PyO3) will be running a live session on YouTube covering **Pydantic Logfire**, the **Logfire Rust SDK**, and the **Logfire MCP server**, with a focus on applying them to instrument and debug **OpenAI Codex**.

**Planned structure:**
1. Overview of Pydantic Logfire
2. Using the **Logfire Rust SDK** to instrument **OpenAI Codex**
3. Introduction to the **Logfire MCP server**
4. Applying MCP with Codex for targeted debugging

The stream is intended for developers who want a direct, working example of integrating telemetry and debugging workflows into AI-driven code systems.

* 📅 **Date & Time:** August 21st, 2025 at 1600 UTC, 1700 BST, midday EDT, 0900 PDT.
* 📺 **YouTube link:** [youtube.com/live/hr6pFn46pKk](https://www.youtube.com/live/hr6pFn46pKk)

<div class="responsive-video-container">
  <iframe width="560" height="315" src="https://www.youtube.com/embed/hr6pFn46pKk" title="Live Stream: Instrumenting and Debugging OpenAI Codex with Pydantic Logfire" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>

---

p.s. We're [hiring](https://pydantic.dev/jobs) again.
