Discussion about this post

User's avatar
Neural Foundry's avatar

This roundup does a good job of outlining the "good" practices and principles, but it also glosses over many of the complexities and messiness that sink most implementations in production. The advice about building APIs is sound, however I have found that 90% of the pain I see in production comes from teams who know these "best practices" and ignore them due to meeting deadlines (especially idempotence, as most edge cases turn into hacky work-arounds).

In addition to the advice regarding cloud data pipelines. those nice diagrams do not reflect the reality that most organizations will find themselves with three or four generations of pipelines running side by side because no one wants to remove older pipelines and risk affecting their users.

The AWS learning guide is very useful, however the real key to unlocking value is to learn how to model costs, how to maintain proper IAM hygiene, and how to keep your organization from getting into a bad multi-account setup.

Regarding Agents, the tech stack diagram is nice, but I think many teams underestimate how difficult it is to implement reliable agent loops and the debugging process of a hung tool call at 2 AM.

Finally, on RAG, the AWS pattern is correct but overly simplified. Most of the issues I help teams resolve relate to the chunking strategy, metadata design, and taming hallucinations when the retrieval step is not performing well, and not the plumbing itself.

Overall, the diagrams are clean and easy to follow, great for teaching ,but in reality, these systems quickly become complex - and what makes the difference between teams that successfully build these systems versus teams that drown is the discipline to take ownership, perform cleanup, and observe behavior, not simply knowing which service connects to another.

Expand full comment
Roshan's avatar

What you’re really describing are the primitives of modular intelligence.

APIs are not just integration surfaces—they are the boundaries between cognitive modules. Idempotency, versioning, noun-based resources, pagination, consistent error semantics: these are the rules that make it possible for independent modules to coordinate without ambiguity.

A good API is effectively a stable cognitive interface:

• Idempotency gives each module predictable state transitions.

• Versioning gives them evolutionary independence.

• Resource nouns give them shared ontology.

• Pagination and filters give them scoped, queryable attention.

• Security formalizes which modules can access which parts of the system.

Once these boundaries are clean, each module (service, team, agent, model) can specialize, optimize, and improve without breaking the rest. The API becomes the language of coordination between semi-autonomous units of intelligence.

So the deeper lesson isn’t just “how to design good APIs,” but how to design good interfaces for distributed intelligence. Clean contracts produce scalable cognition.

Expand full comment
1 more comment...

No posts