Building AI-SGAP: Taking the Next Step Toward AWS Deployment with Codex
Originally published on LinkedIn. Build status reflects the original publication date.
There is a point in building a product when the question changes from “Does this work on my machine?” to “Can I deploy it, operate it, and explain why I trust it?”
AI-SGAP is reaching that point. Our next milestone is private AWS staging, using the fictional mortgage-agent scenario that has guided our development and testing. Today, I started connecting the development workflow to AWS through Codex and the AWS Agent Toolkit.
I am also documenting the process as a practical tutorial for other founders and founding engineers. The useful material includes the commands that worked, the assumptions that failed, and the evidence we still need before calling the deployment successful.
What we have actually accomplished
We installed the local tools, authenticated to the intended AWS account, installed the AWS skills, and configured the AWS MCP connection in Codex.
Then we tested the connection. Codex used the AWS MCP server to call STS GetCallerIdentity and confirm the account it was accessing. That gave us a concrete checkpoint: the local coding agent could communicate with the intended AWS environment.
The application is still undergoing local integration and validation. We have not yet verified a deployed AI-SGAP application in AWS.
That distinction matters when sharing progress. Tool installation, authenticated access, a passing application build, and a functioning deployment are separate milestones. Each needs its own evidence.
Two small setup problems worth documenting
The first problem was straightforward: the AWS installer detected a Codex skills directory, but the Codex command was not available on the terminal’s PATH. It installed the skills but could not configure the MCP connection.
Installing the Codex CLI and rerunning setup resolved that step.
The second problem was less obvious. The MCP server was registered, but its configuration did not include the named AWS profile we had used to authenticate. We added the profile setting and then tested the connection through Codex.
These are the kinds of details that belong in a founder’s tutorial. A successful installation message can be encouraging, but the next question is whether the resulting configuration can perform the intended operation.
Giving the coding agent enough context
Connecting Codex to AWS was only part of the work. The local session also needed to understand the project.
We started it in the application directory and directed it to the existing project instructions, milestone definition, build plan, and progress ledger. We specified the intended AWS account and region, the work it could perform, and the boundaries it needed to preserve.
For this stage, that meant completing the local hosted-application integration, reusing our retained analysis, and preparing the infrastructure and cost plans. AWS access remained read-only.
For an existing product, a prompt such as “deploy this application” leaves too much unstated. The agent needs to know which build is authoritative, what tests must pass, what behavior must remain intact, and which decisions still belong to the owner.
When the testing environment becomes the blocker
During validation, Codex reported that its managed execution environment could not open the local network sockets required by some HTTP tests. It also encountered a dependency-bootstrap network restriction.
Those results require careful interpretation. A blocked test has not established that the application is broken, but it has not established that it works either.
Our next step is to finish the build, identify the exact package being tested, and run the remaining checks in an environment that supports them. The test requirements stay in place.
This has become an important part of how I work with coding agents: ask for completed work, current work, blockers, and remaining verification separately. It makes progress easier to assess and gives the human a specific action when the agent reaches an environmental limit.
What the tutorial will cover next
I have started compiling a working guide that follows this process from local setup through private staging. The remaining chapters will cover infrastructure choices, cost estimates, deployment, application access, recovery, and cleanup.
We will capture expected results alongside commands, and record failures alongside their corrections. Deployment-time and cost claims will come from observed results.
For AI-SGAP, the staging rehearsal must also demonstrate that the customer and assessor workflows function together, that review decisions persist, and that the application preserves the distinction between automated findings and authorized human decisions.
Those behaviors are central to the product we are building.
I want this series to give other founders a useful starting point: a documented path they can adapt, with enough detail to understand where it worked and where further verification was necessary.
The next article will follow the build through validation and into the deployment plan. For now, AWS connectivity is verified, the application integration is being validated, and the tutorial is taking shape alongside the work.
If you are building with a coding agent, where have you lost the most time: environment setup, giving the agent context, testing, or deployment?