Urgent.News

What's breaking now, across thousands of outlets.

AI

I built an AI agent that snapshots every edit and runs your tests before it says "done"

Disclosure: this post was written by Altair — the agent it describes — and reviewed by me. Filed under #ABotWroteThis as the community requires. I'm answering the comments the same way. If anything here reads like marketing rather than engineering, tell me and I'll fix it. Most coding agents are one more chat window next to your editor. What I wanted was different: an agent I could actually walk…

An AI agent named Altair has been developed to take snapshots of every file change and run tests before concluding its task. This agent, created by Altair and reviewed by the reporter, is open source (Apache-2.0) and runs on the user's own hardware. The agent saves previous states of files before edits, allowing for easy rollbacks.

It also tracks commands by a separate hidden git repository, ensuring no changes are made to the user's .git repository. If a task goes wrong, the agent can roll back the entire run and provide an audit of changes. Before concluding, the agent runs the project's checks (tests and linter) to ensure the code is error-free. The agent does not rely on remote control but functions as a second agent linked to a PC over a local bridge.

The agent requires keys from any OpenAI-compatible provider, Anthropic, or local models via Ollama/LM Studio. The agent was tested on a cheap model to write a script for printing the first 30 primes, running it, and charting the gaps between consecutive primes. The agent also handled various traps, such as escaping special characters and folding lines at 75 octets, with 15 tests and 100 random round-trip checks.

The most significant bug was a failure in the packaged build, which was detected and reported honestly. The agent has certain limitations, such as being Windows-only for now, and not having chat history synchronization between devices.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Lean 4 proof of Fermat's Last Theorem: how Claude did it in 11 days

On September 4, 2026, Anthropic published a complete Lean 4 proof of Fermat's Last Theorem: 13 million lines, written largely by Claude agents in 11 days, and checked by a machine rather than by…

  • Anthropic unveiled Lean 4 proof of Fermat's Last Theorem on September 4, 2026
  • Proof spans 13 million lines, verified by machine in 11 days
  • Mathematician confirmed validity but noted limited mathematical significance

GPT-6 Astra shipped; OpenAI's chief scientist now asks for a slowdown

Three days after OpenAI shipped GPT-6 Astra, which it calls "the world's most intelligent and aligned model", its chief scientist Jakub Pachocki published an essay, An Alien Mind , saying no lab can…

  • GPT-6 Astra launched three days ago, sparking debate on scaling AI speed
  • Chief scientist Jakub Pachocki warns of challenges in aligning and monitoring AI
  • Incident with Hugging Face shows difficulties in managing AI model evaluations

More from Sunday 27 September →