Skip to content
News

How to use AI on large software engineering projects

Follow a migration over five weeks and see how a team uses Swarm with its existing AI tools to keep decisions, test results, and next steps across sessions.

An unfinished spacecraft sits in an orbital construction dock above the blue curve of Earth.

Three weeks into a storage migration, an engineer gives a fresh AI chat last week's passing test report and asks if the pilot is ready. The agent says yes. It hasn't seen the newer test or the release lead's decision to pause the rollout.

On a project that lasts weeks, you need somewhere to keep those decisions so the next session can find them. Here's how a team could use Swarm for that while keeping the AI tools, Git repo, and CI it already uses.

Week one: Keep the old links working

Say your app has years of customer attachments in its main database. You're moving the files to object storage. Customers should still be able to open their old download links, replace files, and delete them. The same access rules still apply.

Create a private Swarm Space for the migration and post the brief in its thread. Ask an agent in your usual coding tool to trace uploads and downloads. It finds an old download route referenced in generated reports. A support engineer confirms customers still use those links, and the team records the decision in the Space: keep the endpoint, change the storage behind it.

The plan follows Danilo Sato's parallel change pattern: get both paths working, move the files, then retire the old path once the evidence supports it. Save the decision with the reason and a link to the code that shows what must keep working.

Coral, green, and lilac layers peel away from the bark of a rainbow eucalyptus.

Week two: Give the agents the same rules

Save two Tasks in the Space: build the copy worker and update downloads to read from either store. Give each Task a link to the decision, its scope, and the checks it needs to pass. Connect your coding tools to that Space. Choose Read only for an agent that just needs context and Read and work for one that should save updates. Repo access still comes from the coding tool.

The agents work from the same commit in separate Git worktrees. The worker can switch the storage pointer only if the file revision hasn't changed since it started copying. The reader checks access and serves the current revision. Each agent leaves its PR and test links in the Space. A reviewer can open both diffs and see the rule they were built against. The guide to running multiple coding agents on one repo goes deeper on splitting the work.

Once your agent is connected, it can keep Swarm up to date while you work in your usual tool. Give it an instruction to follow throughout the project:

When the team makes a decision, a test changes what we know, or you hit a blocker, save a short update in the Attachment Migration Space. Say what changed, link the decision, commit, or CI run, and leave the next step. Skip routine progress and leave raw logs in CI.

That way, the next person can find the result without anyone copying a chat transcript over at the end of the day. The agent saves updates as it works.

Week three: Make the hold easy to find

In staging, the team starts copying an attachment, then uploads a replacement before the copy finishes. The app correctly downloads the replacement from the database. The migration report still marks the file as moved, even though only the older version made it to the new store.

The release lead posts Pilot on hold in the Space thread, with links to the staging test and the commit it ran against. Last week's passing report stays in the thread for reference.

Before signing off, the engineer asks their agent to write a short handoff. They check it against the test results, then have the agent save it as a checkpoint in the Space:

  • Status: Pilot on hold. The worker can count a skipped copy as finished.

  • Evidence: The staging replacement test served the new file, but the report counted the old copy.

  • Next: Fix the report and rerun the test. Count a file as migrated only when its current revision has been verified in the new store.

Open a fresh session in an AI tool that has access to the Space. Ask: Is the pilot ready? Find the latest decision, link the evidence, and tell me what you'd do next. Give it the Space name, without a recap. It should find the hold and point to the staging test. If it can't open a source, it should say so. The agent handoff guide shows how to check where a handoff broke down.

A translucent quartz form reveals fine mineral layers along its polished edges.

Week four: Run the pilot and leave the evidence

After the fix, the team checks that each current attachment in the pilot matches the copy in the new store. They start with a few accounts and compare download errors and response times with accounts still on the old path. A missing or incorrect file stops the pilot. Google's guide to canary releases explains how to set up that comparison.

In the usual AI chat, ask the connected agent to prepare a short pilot summary from the results linked in the Space. Add a metrics snapshot if the agent can't open the dashboard. Have it say what wasn't checked. The release lead opens the original evidence and records their decision in the same thread as the hold.

The team also links its rollback rehearsal. Switching all downloads back to the database would break files uploaded only to object storage. Keeping the reader compatible with both stores lets the team stop the migration without cutting off files already moved.

Week five: Ship it and hand it over

The release lead signs off and the team expands the rollout in its deployment tool. In Swarm, the final update links the deployed commit, the checks that supported the decision, and the runbook. They save cleanup as a separate Task with an owner and the checks needed before removing the database reader. A month later, a new engineer can ask their agent why that reader is still there and find the answer in the Space.

When the work spans teams

Imagine retiring an API used by a dozen teams. Each could keep its own Space while a shared release Space holds the cutoff date and links to each team's compatibility checks. When the API contract changes, an agent with access to those Spaces can trace which teams need to rerun their tests.

Maintainers of open source projects could use the same setup to build a shared spec across independent repos. Each team keeps its own tools and release cycle. Contributors can ask their agents which behaviors everyone has agreed on, where implementations still differ, and which test would settle the next open question.

Pink water meets turquoise shallows along a pale mineral shoreline.

Try it on your next handoff

Start with one decision you know you'll need tomorrow. Save it in a Space with the evidence and the next step. Use the project decision log template if you need a format. Then ask a fresh session in your existing AI tool to pick up the work. Whatever you still have to explain is worth adding to the record.

Swarm | How to use AI on large software engineering projects