Tanvi Bhakta

@tanvibhakta

Cage the coding agent: structure business logic as a harness to subsume LLM-generated complexity

Submitted Jun 21, 2026

Picture this: you’re building a complex pipeline of business logic. Of course, it is 2026, so you’re not writing code by hand.

You build the [piece A] of it, and then later build [piece B that interacts with A] - except the LLM has gone and [interacted with piece A in a different manner to how you would have done it but achieving the same result]. Existing verification methods validate

  • Overall behaviour - e2e tests
  • The building block functions - unit tests

But the control flow of the program has drifted from what the author intended.

Most existing frameworks coalesce around allowing humans to do many kinds of things on top of the framework; but agents, across multiple sessions, cannot hold [the memory of] a single mental model in its context. It reads the files necessary for the work to be done and makes architectural decisions that fit the local maxima of the context it has. Unfortunately, this often results in creating hard-to-reason about spaghetti code that does not match the author’s intention.

For agentic development of software to move from vibe-coding back to software engineering, it is essential that we architect our software to have very strong opinions. There should only be one way to do one thing, and it should be easy for the human to skim and develop confidence in what is happening.

The rest of my talk will focus on HOW we can make this possible - DAGs to encode business logic, thick abstractions over many layers, state machines to drive UI, etc.

My session is going to be beneficial to

  1. Managers on teams that are agentic coding who find that their (otherwise intelligent) reports aren’t confident in the work of their agents, or are unable to reason about it
  2. Engineers on teams that have embraced agentic coding but feel like the agents have been hallucinating instructions for what that code is supposed to do.

I’m a founding engineer at alt.inc

TODO:
{Add the link to draft slides - PDF/PPT - with comments access}

{Add the link to 2-min elevator pitch video}

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

Jumpstart better data engineering and AI futures