
TL;DR
A developer used OpenAI Codex to build a fully open-source WYSIWYG editor for TikZ figures. The technical approach and reception on Hacker News offer a useful case study in what agent-built software looks like when shipped.
A Show HN post hit the front page today featuring TikZ Editor, an open-source WYSIWYG editor for TikZ figures in LaTeX. The creator, Dominik Peters, described the project as "built almost entirely by Codex."
The reception was enthusiastic. The technical details are worth examining for anyone interested in what agent-built software actually looks like when it ships.
Last updated: June 23, 2026
TikZ is a widely-used LaTeX package for drawing figures in academic papers. It uses commands like \draw[->] (0,0) -- (1,2); to draw lines, shapes, and text. Academics typically code up figures by hand, tweaking coordinates and recompiling until things look right.
TikZ Editor solves this with a dual-pane approach:
The key technical insight is that when you drag an element, the editor only modifies the coordinate numbers in the source code. It preserves line breaks, indentation, and everything else. The source never turns into unreadable machine-generated soup.
This is the kind of careful design that makes tools feel professional rather than gimmicky.
The creator's explanation in the Show HN is direct:
This approach essentially required reimplementing a large fraction of TikZ, which is the kind of task that no human would ever want to do.
TikZ is a complex package with loops, macros, and extensive syntax. Parsing it accurately enough to track source locations for every drawn object is not technically impossible - it is just tedious. The kind of tedious that stops projects before they start.
The argument is not that agents are smarter than humans at this task. The argument is that agents have a higher tolerance for grunt work. If a task requires implementing hundreds of edge cases with no intellectual novelty, an agent can do it while a human would give up.
Peters describes several "side quests" that came out of the project:
red!20!black color mixing notationEach of these is a small, self-contained problem that an agent can solve without needing high-level architectural judgment.
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools - delivered free every week.
From the archive
Jun 23, 2026 • 6 min read
Jun 23, 2026 • 6 min read
Jun 22, 2026 • 6 min read
Jun 22, 2026 • 5 min read
The Hacker News thread is overwhelmingly positive, which is notable for a Show HN. A few representative comments:
Wow, this is really, really great. Congratulations on an excellent offering and piece of tech!
All STEM students and researchers from the world thank you.
The killer feature for me is not drawing TikZ visually, but being able to touch old TikZ without turning the source into generated-looking soup.
That last point is worth emphasizing. The editor respects existing code. It does not reformat or regenerate. It edits in place. This is what makes it usable for real academic workflows where papers are co-authored and version controlled.
Some commenters asked for related features:
These are reasonable requests that fit the same technical pattern: implement enough of the target syntax to enable visual editing without destroying source formatting.
TikZ Editor is interesting as an existence proof. It shows:
1. Agents can handle tedious implementation work. Reimplementing TikZ parsing is exactly the kind of task that agents excel at. The specification exists (TikZ has documentation). The success criteria are clear (does the rendered output match?). The work is repetitive.
2. Quality depends on the guiding vision. The editor is not a random pile of generated code. It has a coherent design - bidirectional editing, source preservation, converter ecosystem. That design came from a human. The agent implemented it.
3. Open source matters for trust. Agent-built software raises natural questions about code quality and maintainability. Publishing the source lets the community verify and contribute. It also makes the project sustainable - others can fix bugs and add features.
4. The "impossibly tedious" category is real. There are projects that never get built because the ratio of grunt work to interesting work is too high. Agents shift that ratio. Some previously impossible projects become possible.
The Show HN post does not describe any significant debugging struggles or agent failures. That is unusual. Most agent-built projects involve substantial human intervention - reviewing generated code, fixing subtle bugs, rejecting bad approaches.
It is possible that TikZ parsing happens to be an unusually good fit for agent work: clear specs, testable output, minimal ambiguity. It is also possible that the creator is understating the human effort involved.
Either way, the result is a functional, useful tool. The question of how much human effort was really required is interesting but secondary.
For developers considering agent-assisted builds:
Look for tedious-but-specified tasks. If the work is boring and the success criteria are clear, an agent can probably help. If the work requires judgment about trade-offs or user experience, you will need more human involvement.
Design before generating. TikZ Editor works because someone thought carefully about bidirectional editing and source preservation before writing any code. The agent implemented a design. It did not invent one.
Publish the source. Agent-built software benefits from transparency. If the code is good, publishing it builds trust. If the code has issues, the community can help fix them.
Match the tool to the task. The creator used Codex, which has particular strengths in code generation and transformation. Different agents have different strengths. Pick the one that fits your task.
TikZ Editor is the kind of project that makes agent-assisted development feel real rather than hypothetical. It is not a demo or a proof of concept. It is a production tool that solves a genuine problem for a specific audience.
The fact that it was built "almost entirely by Codex" is noteworthy, but the more important point is that it works. Users do not care whether the code was written by a human or an agent. They care whether the tool does what they need.
This is the right frame for thinking about agent-built software. The question is not "who wrote the code?" The question is "does it work, can it be maintained, and does it solve a real problem?"
For TikZ Editor, the answer appears to be yes on all three counts.
TikZ Editor is an open-source WYSIWYG editor for TikZ, the LaTeX package used to draw figures in academic papers. It lets you edit TikZ code visually while preserving the original source formatting.
The creator, Dominik Peters, states it was "built almost entirely by Codex." The agent handled tedious implementation work like parsing TikZ syntax and tracking source locations.
No. A key design choice is that visual edits only modify coordinate numbers in the source code. Line breaks, indentation, and other formatting are preserved.
Yes. The project is available as both a web app and a desktop application, with source code publicly available.
The project includes converters from SVG, PowerPoint, and Ipe to TikZ format, plus a re-implementation of LaTeX hyphenation for multi-line nodes.
Read next
Anthropic shipped Fable 5 and a June 22 subscription cliff. OpenAI shipped GPT-5.5 inside Codex plus automations, browser use, and computer control. Here is the honest June 2026 update on which tool fits which developer.
9 min readOne dev, one CLI, 24 subdomains, and a lot of parallel agents. The playbook for shipping an AI app portfolio.
9 min readAndrej Karpathy's loopy era frame explains why Codex is becoming less like a chatbot and more like an agent loop manager for real software work.
9 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
OpenAI's open-source terminal coding agent built in Rust. Runs locally, reads your repo, edits files, and executes comma...
View ToolMulti-agent orchestration framework built on the OpenAI Agents SDK. Define agent roles, typed tools, and directional com...
View ToolOpenAI's coding agent for terminal, cloud, IDE, GitHub, Slack, and Linear workflows. Reads repos, edits files, runs comm...
View ToolHigh-performance code editor built in Rust with native AI integration. Sub-millisecond input latency. Built-in assistant...
View ToolEvery coding agent in one window. Stop alt-tabbing between Claude, Codex, and Cursor.
View AppOne CLI to install, configure, and update every DD tool.
View AppWatch your LLM spend tick up live, right in the editor.
View AppSet up Codex Chronicle on macOS, manage permissions, and understand privacy, security, and troubleshooting.
Getting StartedConfigure model, effort, tools, MCP servers, and invocation scope.
Claude CodeConfigure model, tools, MCP, skills, memory, and scoping.
Claude Code
OpenAI Codex ‘Record & Replay’: Turn Screen Recordings Into Reusable Automation Skills The script explains a new OpenAI Codex feature, Record and Replay, which lets you record a recurring computer or...

OpenAI Codex Desktop App: Plan/Goal Modes, Plugins, Multi-Agent Workflows & UI Annotation Demo The video showcases OpenAI’s Codex desktop app, which the creator calls OpenAI’s best product and a prem...

Nimbalyst Demo: A Visual Workspace for Codex + Claude Code with Kanban, Plans, and AI Commits Try it: https://nimbalyst.com/ Star Repo Here: https://github.com/Nimbalyst/nimbalyst This video demos N...

Anthropic shipped Fable 5 and a June 22 subscription cliff. OpenAI shipped GPT-5.5 inside Codex plus automations, browse...

One dev, one CLI, 24 subdomains, and a lot of parallel agents. The playbook for shipping an AI app portfolio.

Andrej Karpathy's loopy era frame explains why Codex is becoming less like a chatbot and more like an agent loop manager...

I told an agent to improve the site every 10 minutes and went to sleep. Here is what 12 new repos, 60 PRs, and three goo...

Codex works from the terminal, cloud tasks, IDEs, GitHub, Slack, and Linear. Here is how to use it and how it compares t...

Armin Ronacher's new essay explores the tension between letting AI agents loop autonomously and maintaining the engineer...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.