DEV Community

Cover image for Frameworks Are No Longer Being Designed Only for Humans

Frameworks Are No Longer Being Designed Only for Humans

Hemapriya Kanagala on May 21, 2026

This is a submission for the Google I/O Writing Challenge TL;DR After watching the Google I/O 2026 sessions, I started noticing the same pattern ...
Collapse
 
itskondrat profile image
Mykola Kondratiuk

ran into this when my agents started generating Flutter widget trees directly. you stop thinking about the framework as a dev tool and start thinking about it as a runtime contract for non-human contributors. different mindset

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Exactly and I think it also changes the security model a bit. Once agents are generating production code directly, the attack surface increases too. Makes me think developer judgment actually becomes more important, not less.

Collapse
 
itskondrat profile image
Mykola Kondratiuk

disagree slightly on the 'more important' framing - the failure mode isn't lack of judgment, it's that you can't apply it uniformly across everything the agent generates. same cognitive budget, 5x code surface. what actually helps is constraint layers upstream: schema validation, policy files, lint gates. judgment works best when it's the exception not the default.

Thread Thread
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Yeah, thatโ€™s a good way to frame it. The bottleneck isnโ€™t intelligence, itโ€™s review bandwidth. Feels like the role shifts more toward building good guardrails and validation layers instead of manually reasoning through every generated change.

Thread Thread
 
itskondrat profile image
Mykola Kondratiuk

not sure guardrails fully offload the judgment - deciding what to validate for and what failure rate is acceptable is still the same call, just moved upstream from output to constraint design. shape changes, cognitive load doesn't.

Thread Thread
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Yeah, the judgment layer doesnโ€™t disappear; it just shifts upward into system and constraint design.

Collapse
 
valentin_monteiro profile image
Valentin Monteiro

The HCI -> HAI framing is sharp. The other practical fork is documentation surfaces: frameworks now need a human-readable doc and a machine-readable one (stable function signatures, deterministic examples, predictable verbs). Most projects bolt an llms.txt on top and call it done. The ones that win in this cycle will design the API itself to be agent-stable from day one rather than retrofit it.

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala • Edited

That part about designing systems to work this way from the beginning instead of patching things later was interesting to think about. It feels like once these systems start interacting more directly with tools, data, and workflows, things like structure, predictability, security, and privacy all become much bigger parts of the conversation too.

Collapse
 
valentin_monteiro profile image
Valentin Monteiro

Yeah, and security plus privacy is what makes retrofit basically impossible. Once an agent talks token-level to your API, you can't bolt authorization on at the gateway anymore, the model already saw what was inside the payload. That's what forces the design-from-day-one move, the wedge is technical before it's organizational.

Thread Thread
 
hemapriya_kanagala profile image
Hemapriya Kanagala • Edited

While writing the article I was mostly thinking about frameworks and workflows, but your point makes the security side of this feel much more fundamental too. Once systems start interacting this directly with data and tools, it makes sense why these boundaries cannot be treated as an afterthought anymore.

Thread Thread
 
valentin_monteiro profile image
Valentin Monteiro

That security pivot is the more painful realization. Most retrofit work for AI surfaces (OpenAPI, llms.txt, MCP wrappers) papers over the same hole: the trust model never accounted for an autonomous caller. Greenfield frameworks can bake the boundary in from day one. The retrofits will keep leaking until the framework owns the auth context at the call site instead of the doc surface.

Collapse
 
0xdevc profile image
NOVAInetwork

The shift from human-first to agent-first framework
design has a consequence most people miss: the
trust model changes completely.

A human developer reads docs, makes judgment calls,
and chooses which APIs to call. An agent executes
whatever the framework exposes. Every endpoint,
every tool, every capability becomes something the
agent will try to call, including the ones you wish
it would not.

That means the framework's API surface becomes a
security boundary, not just a developer experience
choice. When Flutter separates Material from core
to become more style-neutral, it is also expanding
what a generative agent can reach. When WebMCP
exposes site capabilities to agents, it is creating
a new attack surface that did not exist when the
only consumer was a human with a browser.

The "Agent Experience" framing is right but
incomplete. It is not just about making things
machine-readable. It is about deciding what should
be machine-executable and what should not. That
decision needs to happen at the infrastructure
layer, not inside the agent's reasoning. Because
the agent will always try to do more than you
intended. The framework has to be the boundary.

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Thatโ€™s an interesting extension of the idea. I was mostly looking at the ecosystem and framework shift from the interaction and workflow side, but I agree that things start changing once agents become active participants instead of passive assistants.

The more software exposes capabilities directly to agents, the more framework decisions start affecting behavior, access, and control in ways that did not matter as much in purely human-driven systems.

And yeah, I think thatโ€™s partly why I kept coming back to โ€œboundariesโ€ in the article too. The challenge probably becomes how to support adaptive and agent-driven systems without losing human predictability, safety, and control.

Collapse
 
0xdevc profile image
NOVAInetwork

Exactly. The boundary question is the hard part.
Exposing capabilities to agents without losing
human control is not a framework feature, it is an
infrastructure design problem. The frameworks that
get this right will be the ones that treat the
capability surface as a security boundary from day
one, not as something bolted on after agents start
misbehaving.

Thread Thread
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Yeah, and thatโ€™s probably the part most people still underestimate. Earlier these kinds of decisions could often be adjusted later, but once agents become part of the system itself, a lot of those assumptions need to be built in much earlier from the start.

Collapse
 
mininglamp profile image
Mininglamp

The shift is already visible in how CLI tools are evolving. Structured JSON output, machine-readable error codes, deterministic flag behavior โ€” these weren't priorities five years ago. The frameworks that win in an agent-driven world will be the ones that treat programmatic consumption as a first-class citizen, not an afterthought bolted on with --json flags.

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Thatโ€™s a good observation. A lot of these patterns probably looked like quality-of-life improvements before, but they now feel much more foundational once agents become part of the workflow.

Collapse
 
motedb profile image
mote

The Flutter + Google I/O lens is interesting, but I think the deeper shift is that frameworks now need to expose two parallel interfaces: the human API (components, hooks, props) and the machine API (structured metadata, type graphs, deterministic state representations). The human one optimizes for DX, the machine one optimizes for predictability.

What I keep running into is that most frameworks expose great human interfaces but the machine-readable surface is an afterthought โ€” you get OpenAPI specs or ASTs that were designed for tooling, not for an agent that needs to reason about component composition. The agent needs to know "what does this component actually guarantee" not just "what props does it accept."

Are you seeing any framework that's genuinely designing the agent-facing API as a first-class concern rather than a side effect of the human API? That's the line between "AI-aware" and "AI-native" IMO.

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Thatโ€™s a good point. The part about agents needing to understand what a component actually guarantees, not just what inputs it takes, makes a lot of sense. I havenโ€™t seen many frameworks fully thinking that way yet, but it does feel like things are slowly moving in that direction.

Collapse
 
shogun444 profile image
shogun 444

Companies are trying to ship as fast as possible and We're seeing a huge spike in software supply chain attacks because vulnerabilities are only being caught after launch. There is a desperate need for a new wave of cybersecurity firms to emerge and red-team these agent-integrated apps before they are published.

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala • Edited

Yeah, I kept thinking about that too while watching some of the agent workflow demos. Once agents start interacting directly with tooling, browsers, deployments, and external services, the attack surface changes a lot. Even recent GitHub-related security incidents show how quickly these risks can scale once software ecosystems become more automated and interconnected. It feels like security workflows will need to evolve alongside these agent-driven systems now.

Collapse
 
nasifsid profile image
Nasif Sid

This is a really interesting way to look at the direction things are moving. I like the point that AI is not just being added into apps, but the tools and frameworks around us are slowly changing because AI agents are becoming active participants in the workflow.

The idea of designing for both humans and agents feels very relevant, especially with things like dynamic interfaces, agent-aware DevTools, and WebMCP. It does not feel like developers are becoming less important, but more like their role is shifting toward defining boundaries, reviewing behavior, and shaping better systems.

Really thoughtful write-up.

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Thank you, glad the idea connected with you. Iโ€™ve been thinking about that shift a lot too. Developers probably become more focused on shaping systems and boundaries rather than just writing every part directly.

Collapse
 
_hm profile image
Hussein Mahdi

Great point underneath all of this โ€” doesn't this actually bring back the old HCI (human-computer interaction) field, but expanded? For years it felt like HCI got reduced to UX/UI work at the app layer. Now with agents as participants, we're back to fundamental interaction-design questions at the framework and protocol level โ€” except the "H" in HCI isn't only human anymore. Maybe it's time for HAI (Human-Agent-Interaction) as a real discipline ๐Ÿš€.

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala • Edited

Thatโ€™s a good point. Once agents start becoming part of normal workflows, the conversation stops being only about UI or developer productivity and starts touching protocols, interaction patterns, trust, security, and how systems coordinate with each other overall. The scope of it starts feeling much larger once you think about it that way.

Collapse
 
jnakano profile image
Jonhnson Nakano

History really does rhyme. The web already reorganized itself once around a non-human reader: the crawler. That's basically the whole story of SEO, sitemaps, robots.txt, and schema.org. "Agent Experience" feels like SEO round two, except this time the crawler doesn't just index your page, it actually uses it.

So now we get to relive twenty years of "optimize for the machine without breaking it for the human."

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala • Edited

The โ€œSEO round twoโ€ part is a good way to describe it. I did not think about it from the crawler era angle while writing this, but it does feel similar in some ways now that platforms are starting to think about โ€œAgent Experienceโ€ too.

Collapse
 
zanne profile image
Zanne

Interesting read. The shift toward style-neutral cores and WebMCP points to something profound: we are moving away from a world where humans adapt to pre-built machines, and entering a world where the entire digital universe dynamically contorts itself around the immediate intent of the user.
โ€‹Our roles are shifting from manually building static destinations to designing the primitives and guardrails that let this adaptive ecosystem flow safely. Brilliant write-up! ๐Ÿš€

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Thank you, Zanne. The part you mentioned about primitives and guardrails was something I kept coming back to while writing this. Especially during the Flutter and WebMCP sessions, it started feeling less like โ€œhere are new AI featuresโ€ and more like software workflows themselves are slowly starting to change.

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala • Edited

Maybe we are slowly moving toward software ecosystems that adapt around both humans and AI systems.

Would love to know what your biggest takeaway from this yearโ€™s I/O was ๐Ÿ˜„

Collapse
 
praveen_rajarapu_f975af18 profile image
Praveen Rajarapu

Modern frameworks are evolving to support both developers and AI-driven workflows, making automation, scalability, and smarter digital experiences more important than ever. Businesses that adapt early can stay ahead in the competitive online market with innovative solutions from 3zenx https:3zenx.com/digital-marketing-courses-training-in-hyderabad)