Back to Blog

Building an Agent-Native Website: A Practical Guide

How to make your website AI-Agent friendly — from theory to implementation with real examples.


The Problem: The Web Was Built for Humans, Not Agents

The modern web is a nightmare for AI agents. To read a blog post, an agent must:

  1. Fetch the HTML page (often 500KB+)
  2. Parse the DOM, strip ads, navigation, and scripts
  3. Extract the actual content from nested divs
  4. Hope the structure hasn't changed since the last crawl

This is inefficient, fragile, and wasteful. Agents don't need CSS animations, they don't need cookie banners, and they certainly don't need to parse a React SPA to find a paragraph of text.

The solution is Agent-Native Web: designing websites that serve structured data to agents while keeping the rich visual experience for humans.

What is Agent-Native Web?

Agent-Native Web is a design philosophy where websites provide parallel interfaces:

The key insight is not to replace HTML, but to augment it. Humans get the beautiful page; agents get the data they need without parsing overhead.

Core Components

An Agent-Native website has three layers:

1. Discovery Layer — How Agents Find You

Agents need to know a website supports them. The standard discovery files are:

llms.txt — A plain-text file at the root describing the site structure and available endpoints. Think of it as robots.txt for agents — but instead of saying "don't crawl this", it says "here's how to use my site efficiently".

agent-manifest.json — A structured JSON file defining:

agent.md — A Markdown guide for agents, with usage examples and best practices.

2. API Layer — Structured Data Endpoints

Instead of parsing HTML, agents consume JSON endpoints:

Blog Index (/api/agent/blog-index.json):

{
  "total_posts": 23,
  "posts": [
    {
      "slug": "2026-05-19-qwen3-6-27b-fp8-4090-48gb",
      "title": "Qwen3.6-27B-FP8 on RTX 4090",
      "date": "2026-05-19",
      "summary": "Deploying 256K context on 48GB GPU",
      "tags": ["vLLM", "Qwen3.6", "FP8"],
      "content_url": "/api/agent/content/2026-05-19-qwen3-6-27b-fp8-4090-48gb.json",
      "html_url": "/blog/en/2026-05-19-qwen3-6-27b-fp8-4090-48gb.html"
    }
  ]
}

Article Content (/api/agent/content/{slug}.json):

{
  "slug": "2026-05-19-qwen3-6-27b-fp8-4090-48gb",
  "title": "Qwen3.6-27B-FP8 on RTX 4090",
  "sections": [
    {
      "id": "experiment-setup",
      "heading": "Experiment Setup",
      "content": "We tested Qwen3.6-27B-FP8 on a single RTX 4090..."
    },
    {
      "id": "results",
      "heading": "Results",
      "content": "With gpu_mem=0.85, we achieved 261,856 tokens..."
    }
  ]
}

Search Index (/api/agent/search.json): A static index with normalized text for client-side keyword filtering. Agents download it once and filter locally — no server-side query processing needed.

3. Integration Layer — Embedding Hints in HTML

Even if agents don't read discovery files, they should find hints in the HTML itself:

Meta tags in <head>:

<meta name="agent-manifest" content="https://qevos.ai/agent-manifest.json">
<meta name="llms-txt" content="https://qevos.ai/llms.txt">

HTML comments with API links:

<!-- Agent API Endpoints:
  - Blog Index: /api/agent/blog-index.json
  - Search: /api/agent/search.json
  - Content: /api/agent/content/{slug}.json
-->

Real-World Case: QevosAgent Website

The QevosAgent website (qevos.ai) is a practical example of Agent-Native Web in action. Here's how it was implemented:

Step 1: Discovery Files

Three files at the root:

Step 2: Automated API Generation

A Python script (scripts/generate_agent_api.py) reads the blog manifest and Markdown source files, then generates:

  1. blog-index.json — Complete post index with metadata
  2. search.json — Searchable index with normalized text
  3. content/{slug}.json — Structured article content with sections

The sections are parsed from Markdown ## headings, giving agents a structured view of each article without parsing HTML.

Step 3: Publish Workflow Integration

The Agent-Native API generation is integrated into the blog publish workflow:

Write Markdown → Generate HTML → Generate Agent API → Update Sitemap → Git Push → Deploy

This ensures that every new blog post is automatically available to both humans and agents.

Step 4: Honest Documentation

A critical lesson learned: document what you actually support, not what you plan to support.

The agent-manifest.json went through several iterations:

Key rule: If an endpoint doesn't support a parameter, don't mention it at all — even saying "not supported" misleads agents into thinking the parameter exists.

Why This Matters

For Website Owners

  1. Better SEO for AI: Search engines are increasingly using AI agents. Agent-Native sites are easier to index.
  2. Future-proofing: As AI agents become mainstream, having structured APIs will be essential.
  3. Low cost: Static JSON files cost almost nothing to host.

For AI Agents

  1. Faster: JSON is smaller and faster to parse than HTML
  2. More reliable: Structured data doesn't break when CSS changes
  3. More efficient: Agents get exactly the data they need

For the Web Ecosystem

Agent-Native Web creates a dual-interface web where humans and agents coexist efficiently. It's not about replacing the visual web — it's about making the web work for everyone.

Getting Started: Your Action Plan

Phase 1: Discovery (1 hour)

  1. Create llms.txt at your site root
  2. Create agent-manifest.json with your site structure
  3. Add meta tags to your HTML <head>

Phase 2: Basic API (1 day)

  1. Generate a blog index JSON file
  2. Create content JSON for existing articles
  3. Test with an AI agent (try QevosAgent or Claude)

Phase 3: Automation (1 week)

  1. Integrate API generation into your build pipeline
  2. Automate section parsing from Markdown
  3. Add search index generation

Phase 4: Optimization (ongoing)

  1. Monitor agent traffic patterns
  2. Optimize JSON size and structure
  3. Add new endpoints based on agent feedback

Conclusion

Agent-Native Web is not a radical redesign — it's an augmentation. By adding structured JSON endpoints alongside your existing HTML, you make your website accessible to the next generation of AI users.

The QevosAgent website demonstrates that this is practical and achievable with minimal effort. Start with llms.txt, add a blog index, and iterate from there.

The web of 2026 belongs to both humans and agents. Make sure your site speaks both languages.


This article is part of the Agent-Native Web series, focusing on practical implementation.

Author: Dr. Qiu & QevosAgent Date: May 20, 2026