---
title: "Keep Building While the API Waits"
description: "Build against a temporary API substitute, record its assumptions and require evidence from the real integration before approving production use."
author: "Gunner Technology"
published: "2026-11-25"
url: "https://www.gunnertech.com/blog/build-with-ai-before-an-api-is-ready"
---

# Keep Building While the API Waits

AI agents can build before an API is ready if the missing connection sits behind an explicit contract and a temporary substitute. Keep that work isolated, record what remains unproved and require real integration evidence before release. A working screen can settle a product question while the dependency is still being negotiated.

## What can move while the integration waits?

Implementation, integration agreements and user feedback can move alongside one another. In [its article on parallel delivery](https://paddo.dev/blog/three-streams/), Emergent Minds describes building a usable system against temporary dependencies while other work establishes the real connections and helps the business evaluate the result. The point is to let people inspect working behavior before every external agreement is finished.

The article treats temporary connections as replaceable parts. You can replace an unavailable service with a mock, a substitute that returns expected responses without calling the real service. People can try the workflow while the integration owner works through the actual interface, access and data. Their feedback can then change the implementation before the final connection arrives.

This approach separates different kinds of progress. A user can confirm that a workflow makes sense without confirming that the eventual service supports it. A successful demonstration answers the question it exercised. Keep the unanswered integration questions visible, or an impressive demo will quietly become evidence for claims nobody tested.

## What should the temporary API promise?

It should promise only the behavior the team has explicitly agreed or identified as an assumption. An application programming interface, or API, defines how software asks another system to do something. Its contract describes the requests, responses and failure behavior both sides expect. Write that contract before letting the agent invent a convenient service.

Suppose you are building an order lookup while the supplier's API is unavailable. The mock can help users decide which information belongs on the screen. It should also exercise a missing order, a delayed reply and an access denial. Record which responses come from an agreed contract and which are provisional choices awaiting the supplier.

Keep the calling code behind an adapter: a small component that translates between your application and the external API. Give the mock and the eventual service the same application-facing interface. That makes replacement a focused integration change. It does not guarantee that the real service will behave like the substitute; that still needs checking.

## How do you keep the mock from becoming permanent?

Track each temporary dependency with a named owner, a replacement task and evidence required to close that task. The article recommends recording temporary parts and proving their removal. Gunner Technology recommends making that record part of the release checks, so an agent cannot declare the whole feature ready while its integration work remains open.

Mark synthetic data visibly wherever someone could mistake it for live business data. Keep real credentials and customer records out of the demonstration environment. Access controls still need to enforce who can enter and what they can do. A fake business response is a development aid; permission to view restricted information must remain an actual boundary.

Make the release check detect the temporary path in deployable configuration and confirm which connection the application uses. Removing a mock file proves little if a fallback still returns invented results. As our guide to [prototype ownership](https://www.gunnertech.com/blog/who-owns-an-ai-prototype-after-the-demo) explains, somebody must own the move into real use, including the decision to retire work that has answered its question.

## What changes when the real API arrives?

The evidence must change along with the connection. Run the agreed requests against the real integration in an authorized environment, with effects isolated from other work. Compare the returned fields, missing values, errors and timing with what the application expects. Every mismatch needs either a repair or an explicit decision about the intended behavior.

Our discussion of [giving agents a real system to test](https://www.gunnertech.com/blog/the-agent-needs-a-real-system-to-test) explains why a passing mock test cannot establish compatibility with a live dependency. Preserve the mock tests for fast development feedback, then add checks that exercise the connection they could not prove. Another verifier should be able to inspect those results without trusting the builder's completion message.

The article also describes shadow operation, where a replacement runs beside the existing system before users depend on it. For an order lookup, an authorized read-only comparison can expose different answers without letting the replacement change orders. If the integration writes data or triggers actions, design a separate containment and recovery plan before replaying requests. A comparison must not accidentally duplicate the business action.

## When is the feature ready for real users?

It is ready when the agreed behavior has been verified, the operating requirements are met and the responsible person approves the release. The article argues for building confidence through repeated use instead of waiting for a final sign-off meeting. Gunner's approach uses that feedback to improve the decision while keeping a person's authority over what ships.

Matching the old system's answers can support that decision, but it cannot settle every question. Agree which differences are defects and which reflect an approved change. Include access, failure handling, monitoring and a way to recover. Keep the results attached to the version being released, because [approval belongs to that version](https://www.gunnertech.com/blog/approval-belongs-to-a-version), including its real connection.

Start with a feature held up by an external dependency. Name the question a mock can answer, isolate it and keep the replacement work visible. When the actual API arrives, let the factory run the repeatable checks and assemble the evidence. People decide whether the behavior is right and whether it should go live. The agent can keep building without being allowed to confuse progress with permission.

In response to [Make It Work, Make It Right, Make It Land: Delivery When Agents Outrun Sign-off](https://paddo.dev/blog/three-streams/) by Emergent Minds | paddo.dev.

## Quick answers

### What if the supplier has not agreed to any API contract?

Treat the interface as an explicit assumption and limit the experiment to questions it can answer. Avoid promising an integration date or capability until the supplier confirms what is available.

### Should we delete the mock after connecting the real service?

A mock can remain useful for isolated development tests. Remove its production route and keep its behavior checked against the agreed service contract.

### What if the real API cannot support the approved workflow?

Bring the constraint back to the product owner with the observed evidence and feasible choices. Update the requirement before asking agents to build around it.
