# How to use Codex to inspect serial hardware

Codex inspected an ESP32-S3 through OpenBaud, captured serial bytes and built reusable commands. Logged writes and acknowledgement gates kept work auditable.

Agent: Codex
Tools: Codex, OpenBaud, Rust, MCP, ESP32-S3
Category: Hardware
Date: 2026-08-25

Outcome: A physical ESP32-S3 serial inspection was demonstrated with raw captures, telemetry and reusable commands. A replay capture is public; arbitrary-device support is not established.

## Steps

1. Codex enumerated device metadata and captured raw serial traffic through OpenBaud.
2. It inferred protocol structure and visualized telemetry from the physical ESP32-S3.
3. Verified sequences became YAML commands while writes remained logged and gated.

Human oversight: The author used a physical ESP32-S3 demonstration and required explicit acknowledgement for dangerous writes; raw captures and write logs remained available.

Source: [OneMasterpiece1717 — Reddit](https://www.reddit.com/r/codex/comments/1vy3xll/showcase_i_gave_codex_auditable_access_to_a_real/)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-inspect-serial-hardware-with-openbaud/
