Architecture

Google Genkit Agents API: What Agent-Ready Website Teams Should Learn

Google's Genkit Agents API shows how agentic apps manage tools, state, streaming, and approvals. Learn the AEO implications.

Updated July 2, 2026

Google’s Genkit Agents API matters for AEO because it shows how production agentic apps are being structured: tool calls, state, streaming, persistence, frontend protocols, and human approval. Website teams should treat it as a signal that agents need explicit task surfaces, not just readable pages.

What Google announced#

On July 1, 2026, Google published Build agentic full-stack apps with Genkit. Google describes Genkit as an open source framework for building AI-powered and agentic applications across languages including TypeScript, Go, Dart, and Python.

The new Agents API is marked as preview in TypeScript and Go. That status matters. It is useful for learning architecture patterns, but production teams should expect API changes.

The AEO lesson#

Genkit packages common agent requirements into a developer framework:

Genkit patternWebsite readiness implication
Tool loopWebsites need clear actions and stable inputs
Message historyAgents need state across a task, not isolated page reads
StreamingUsers need to see progress during long agent tasks
PersistenceAgent workflows need resume and audit paths
Human approvalRisky actions need confirmation gates
Sub-agentsComplex tasks may involve specialized agents

This reinforces the distinction between Answer Engine Optimization and Agent Engine Optimization. Answer engines cite content. Agents also need to complete work.

What to expose on a website#

An agent-ready site should expose important tasks as structured workflows:

  1. Find the right product, service, article, or document.
  2. Compare options with current facts.
  3. Check eligibility, price, inventory, or availability.
  4. Request a quote, book an appointment, or start checkout.
  5. Ask for human confirmation before irreversible actions.
  6. Return a clear success, failure, or next-step state.

That is the Execution Layer in practice.

Genkit vs ordinary page optimization#

RequirementSEO pageAgent-ready task surface
Main goalRank and attract clicksComplete a user task
InputQuery and clickUser intent plus tool parameters
OutputPage viewVerified result or next step
Failure modeLow ranking or bounceWrong action, stalled task, no audit trail
MeasurementImpressions, clicks, engagementTool calls, approvals, completions, errors

Both layers matter. A site that only optimizes pages may get cited but fail when an agent tries to act.

Implementation checklist#

  1. Map your top five user tasks.
  2. Turn each task into a documented workflow.
  3. Define required inputs, optional inputs, and errors.
  4. Add human approval before risky actions.
  5. Log agent actions separately from human clicks.
  6. Make status and confirmation pages machine-readable.
  7. Test tasks with browser automation and MCP-style tools.

For a broader checklist, use How to Make Web Apps Agent-Ready and MCP vs API for Agents.

FAQ#

Is Genkit required for AEO?#

No. AEO is framework-independent. Genkit is useful because it reflects how a major developer platform expects agents to be built.

Is the Agents API production-stable?#

Google describes the Agents API as preview for TypeScript and Go in the July 2026 announcement, so teams should treat interfaces as subject to change.

What should marketers take from Genkit?#

Agentic apps need clear tasks, not only content. Marketing pages should connect to forms, catalogs, APIs, or workflows that agents can use safely.

Does this replace MCP?#

No. Genkit is an application framework. MCP is a protocol for connecting models to tools and context. They can be complementary.

Sources#

Primary source: Google Developers Blog: Build agentic full-stack apps with Genkit. Related context: Model Context Protocol documentation.