Build Notes
Codex CLI 0.173.0 Guide to Custom Status Line Alignment
Codex CLI 0.173.0, released December 2, 2026, adds alignment controls for rows in custom terminal status lines. A footer that shows the model and agent state can keep both labels together or place them at opposite ends of the terminal.

Enable a custom status line
- Use Codex CLI 0.173.0 or later. Save the official Python provider example on the host connected to your Codex app server.
- Register it on that host. Substitute the actual path and Python interpreter.
codex mcp add my-statusline -- python -u /absolute/path/to/statusline.py
- Enable Custom status line in
/experimentaland restart the terminal UI. Start a new conversation, open/statusline, choose Choose a status line provider, and select your provider.
Put the model and agent state at opposite ends
Keep the existing model and agent-state children in the starter provider’s render function. Replace its return statement with this row and restart the provider process to load the edit.
return {
"type": "row",
"props": {"gap": 1, "wrap": "wrap", "justify": "between"},
"children": children,
}
With both labels present and enough room, between places them at opposite ends. Try center to keep the group in the middle, end to move it right, or start to align it left. Resize the terminal to see the effect of wrapping. The starter only displays agent state when the provider receives a state value.
Codex gives a provider one second per read. If a read fails, check the warning with F2 and reselect the provider in /statusline to resume polling. This walkthrough follows the versioned source. Terminal rendering was not tested.
Official release notes · Versioned provider guide · Codex Update history