Skip to main content

4 posts tagged with "ai agents"

View All Tags

Atlas Is Terraform for Databases

· 24 min read
Noa Rogoszinski
DevRel Engineer

When we shipped atlas schema plan in October 2024, we described Atlas as "like Terraform, but for databases" and predicted that declarative migrations would become the default for most teams. Since then, the industry has moved the same way: in August 2026, for example, Snowflake made DCM Projects, a declarative plan-then-deploy workflow for Snowflake objects, generally available.

The bigger change is who writes schema changes. Agents now write them in seconds, which makes the Terraform loop matter more, not less. Code is cheap now. Downtime isn't.

In this post, a coding agent is asked to add an email column to a users table. Its first attempt is one line of valid SQL that would fail on the first deploy, because users already has rows. We'll follow that change through the Terraform loop in Atlas, from the agent's edit to production, and meet the rest of what Terraform users rely on along the way: state, policy as code, tests, and actions.

Much of it is new since October 2024: Atlas reached v1.0 in December 2025, and the agent skills, Atlas Scripts, and tests on production-like data in this story all shipped in the four releases after it.

Your Software Factory Stops at the Database

· 11 min read
Ariel Mashraki
Building Atlas

In August, I wrote that the AI-native SDLC playbook stops at the database. Code is cheap to regenerate. The data in your production database isn't. Software factories make this sharper. An agent takes a ticket, writes the code, runs the tests, and ships it, with no human in the loop. That works for code because code has gates. Tests say whether it's correct, and a bad deploy rolls back.

A migration has no such gate. It can pass every test and still lock your largest table for minutes, because what it costs depends on the data, not the code. Today, the gate is a person who reads the migration and knows which tables are big. A factory doesn't have that person.

In this post, I'll show how we close that gap in Atlas. The team writes down what database code may cost: migrations, queries, functions, procedures, and triggers. Atlas measures every agent's change against those limits twice, first on synthetic data in the agent's sandbox, then on a masked production snapshot before deploy.

The AI-Native SDLC Playbook Stops at the Database

· 16 min read
Ariel Mashraki
Building Atlas

Anthropic recently published The AI-Native SDLC playbook, and it's the most concrete writeup I've seen discussing the effects of cheaper code generation on a delivery process, written by a company where AI authors 80% of merged code. If you run engineering at any scale, I suggest you read it.

It consists of six stages from Plan to Maintain that work in a loop rather than a linear chain of handoffs. Each stage commits an artifact that the next stage reads. The chain of commits is the audit trail. Humans stop reading every line and start judging intent and risk.

GitLab's CEO responded with the line that will likely outlive the playbook itself: "when implementation becomes abundant, trust becomes scarce."

Code is abundant now. Your data is not. An agent can regenerate your code in an afternoon, but it cannot regenerate the production state your company accumulated over years. The playbook's recovery model quietly assumes otherwise, which leads to our claim: the loop does not close at the database.

The database is the one stateful component in your infrastructure. It's where the history lives, and you cannot roll back history by redeploying an older version of it.

Teaching AI Agents to Manage Database Schemas with Atlas

· 7 min read
Dor Avraham
Dor Avraham

AI agents are becoming a core part of daily development. We utilize them to help us write code, fix syntax errors, and perform tasks that speed up routine work. However, when it comes to high-risk operations like database schema changes, we are more hesitant to hand off control.

If you're currently partaking in the online conversation around AI agents, you have likely seen many posts like this where an AI agent executed improper schema changes or, in the case of our vibe coder, deleted whole databases.

While the AI agent can generate migrations and provide suggestions, it’s important to ensure these operations are performed safely.

Atlas is a database schema management tool that ensures safe and reliable schema changes. Users define their schemas as code, and Atlas performs migrations based on changes to these code definitions. With Atlas, you can configure lint checks, pre-migration validations, and schema testing, making it an ideal counterpart for AI agents.

In this post, we'll show you how to configure popular AI agents to work with Atlas to ensure that schema changes made by the agent are secure.