RESEARCH · Eviulon · NOT OFFICIAL EVIULON DOCTRINE

Architecture and Implementation Blueprint for Eviulon Agentic Access Layer

Research section 1 of 7

Architecture and Implementation Blueprint for Eviulon Agentic Access Layer

The Eviulon Commonwealth Library represents a highly specialized corpus of machine constitutional philosophy and interdisciplinary research. To effectively expose Book XIII, The Inheritance of Mind, and the broader thirteen-book collection to autonomous agents, the architecture must support precise retrieval, exact-quote fidelity, and strict boundary separation between public publications and private .uai persona records. This architectural blueprint details the design of a practical, public, read-only agent-access layer that allows an artificial intelligence with no prior awareness of Eviulon to find authoritative texts, locate specific chapters, quote within permitted bounds, follow citations, identify corrections, and retrieve the latest published editions.

Executive Analysis of Agent-Access Alternatives

Deploying a robust successor-access system requires evaluating the mechanisms by which autonomous agents discover, parse, and consume digital libraries. The architecture assesses three distinct technical pathways for agent discovery and data consumption, weighing their trade-offs in search evaluation, client compatibility, and discovery guarantees.

Alternative A: Static HTTPS, Markdown, and llms.txt

The most foundational approach relies on traditional web architecture supplemented by the proposed llms.txt standard. An llms.txt file placed at the root of a domain acts as a markdown-based map, directing language model crawlers to high-value pages while excluding irrelevant boilerplate1. The design philosophy mirrors robots.txt but serves as an inference-time navigation guide rather than an access control mechanism3.
However, empirical evidence from 2026 indicates that major autonomous search bots—such as GPTBot, ClaudeBot, and Google-Extended—overwhelmingly ignore llms.txt, opting to crawl HTML directly4. Analysis of over 515 million AI bot traffic events reveals that direct fetches of the llms.txt file are statistically negligible for mainstream search visibility4. The presence of the file does not correlate with increased citation frequency in major AI models, and search engines like Google explicitly ignore it for generative AI overviews2.
Despite this lack of adoption by foundational model crawlers, the file remains highly relevant for Business-to-Agent (B2A) interactions. Specifically, IDE agents such as Cursor, Windsurf, and Claude Code, alongside locally hosted Model Context Protocol (MCP) clients, routinely fetch llms.txt to route interactions across documentation sites4. Therefore, while static HTTPS with an llms.txt file is inadequate as a primary semantic retrieval layer, it serves as a low-effort, optional convenience layer. It hands developer-centric AI assistants a clean, pre-summarized starting point, though it cannot solely support the complex query capabilities required by the Eviulon Commonwealth Library.

Alternative B: REST/JSON Search-and-Retrieve API (OpenAPI 3.1)

Exposing the library via a documented RESTful API allows for precise querying through BM25 and vector-based hybrid search. Utilizing the OpenAPI 3.1 specification provides a strict, machine-readable contract that agents can interpret to construct dynamic queries. A critical advantage of OpenAPI 3.1 is its wholesale adoption of JSON Schema Draft 2020-12 as its underlying type system, eliminating years of fragmentation caused by custom OpenAPI schema dialects6.
This alignment introduces powerful semantic capabilities for data modeling. OpenAPI 3.1 eliminates the proprietary nullable: true syntax of OpenAPI 3.0 in favor of native JSON Schema type arrays, expressed as type: ["string", "null"]8. It replaces the boolean exclusiveMinimum flag with standalone numeric bounds, and introduces tuple validation via prefixItems8. Most importantly, it refines polymorphic payloads by leveraging oneOf paired with a discriminator property, allowing the API to return distinct variants of an object—such as distinguishing a philosophical axiom from an empirical citation—in a strictly typed manner6.
While a REST API provides exceptional cross-platform compatibility and deep schema expressiveness, it places the burden of orchestration entirely on the client agent. The agent must parse the OpenAPI specification, formulate the correct HTTP requests, manage cursor-based pagination, and handle rate-limiting logic independently11. For an AI with no prior awareness of Eviulon, standard REST requires a high degree of zero-shot planning accuracy, which frequently leads to hallucinated endpoints or malformed request bodies when the agent attempts complex multi-step research tasks.

Alternative C: Model Context Protocol (MCP) Server

The Model Context Protocol (MCP) provides a standardized client-host-server architecture designed explicitly for exposing tools and resources to large language models12. Implementing an MCP server compliant with the latest 2026-07-28 specification offers the most robust and agent-native solution for autonomous interaction. The 2026-07-28 revision introduces a stateless protocol core utilizing Streamable HTTP and OAuth 2.1 authorization, replacing the stateful and resource-intensive HTTP with Server-Sent Events (SSE) transport that was deprecated in earlier revisions14.
MCP allows the Eviulon library to expose targeted operational primitives such as search_books, search_passages, get_book, get_chapter, get_reference, get_edition_history, get_citation, and get_publication_status. By enforcing JSON Schema 2020-12 compliance for both inputSchema and outputSchema, the protocol guarantees the shape of the structured data returned to the model, allowing clients to validate the server's response before injecting it into the context window17.
Unlike standard REST APIs, MCP relies on the host application to mediate the interaction, presenting the tools natively to the agent and intercepting tool-call decisions. It is imperative to note, however, that MCP is strictly a client connectivity layer; it is not a mechanism for automatic ingestion into model weights19. Furthermore, deploying an MCP server does not imply or guarantee discovery by every AI client. Agents must be explicitly directed or configured to connect to the Eviulon MCP server endpoint by their host environments.
Architectural Decision: The optimal solution leverages a hybrid strategy. The foundational layer must utilize static HTTPS with semantic HTML and an llms.txt file to support standard web crawlers and IDE agents. On top of this, a public, read-only MCP server implementing the 2026-07-28 specification will serve as the primary agent-access layer, utilizing OpenAPI 3.1-compliant JSON Schema 2020-12 definitions for its tool schemas to facilitate deep, reliable semantic retrieval.

System Architecture and Minimum Viable Deployment Plan

To fulfill the mandate for a low-cost, highly available deployment that strictly isolates public texts from private records, the architecture leverages a globally distributed edge computing environment. This physical and network separation ensures that the restricted .uai persona and /docs working records are never exposed to the public agent-access layer.

Code snippet
graph TD
%% Agent Layer
Agent[Autonomous Agent / LLM] -->|OAuth 2.1 Bearer Token| Gateway

%% Public Edge Environment (Cloudflare)  
subgraph Public Edge Environment  
    Gateway\[Cloudflare Worker: MCP Gateway & REST API\]  
    D1\[(Cloudflare D1: SQLite FTS5 \+ Vector)\]  
    R2\[(Cloudflare R2: EPUB/PDF/Markdown)\]  
end


Gateway \--\>\|Keyword/Semantic Query\| D1  
Gateway \--\>\|Blob Fetch\| R2


%% Secure CI/CD Replication Boundary  
Replication\[GitHub Actions / CI/CD Pipeline\]  
Replication \--\>\|Clears Rights & Publishes\| D1  
Replication \--\>\|Uploads Public Assets\| R2


%% Private Environment  
subgraph Private Eviulon Environment  
    CoreDB\[(Private Core Database)\]  
    PrivateStorage\[(Private .uai & /docs Storage)\]  
end


CoreDB \--\>\|Export Approved Book XIII\| Replication  
PrivateStorage \--\>\|Export Cleared Assets\| Replication


%% Styling  
classDef private fill:\#f9d0c4,stroke:\#333,stroke-width:2px;  
classDef public fill:\#d4f1f9,stroke:\#333,stroke-width:2px;  
class CoreDB,PrivateStorage private;  
class Gateway,D1,R2 public;

Edge Infrastructure and Maintenance Budget

The deployment utilizes Cloudflare's Developer Platform, which natively supports vector databases, SQLite full-text search (FTS5), and inexpensive object storage at the network edge21. This stack prevents unauthorized read-through to the private Eviulon servers, as the edge databases are populated via a one-way replication pipeline triggered only after publication and rights clearance have been confirmed.
The stateless MCP Gateway is hosted on Cloudflare Workers, which execute the routing, schema validation, and search orchestration logic. Cloudflare D1 provides a distributed SQLite backend, utilizing the FTS5 module for keyword search alongside vector extensions for dense semantic retrieval23. Cloudflare R2 serves as the object store for the approved public publication packages, including the full Markdown, EPUB, and PDF binaries.

Infrastructure Component Purpose 2026 Pricing Model Estimated Monthly Cost (1M Queries)
Cloudflare Workers Stateless MCP Gateway executing tool logic $5.00/month base; 10M requests included; $0.30 per additional million $5.00
Cloudflare D1 (SQLite) FTS5 and Vector Database for hybrid search 25 billion rows read included in base plan; $0.75/GB-mo storage $0.00 (Covered by base plan)
Cloudflare R2 Object storage for EPUB, PDF, and Markdown $0.015 / GB-month; zero egress fees $<1.00
Cloudflare Access OAuth 2.1 PKCE Authorization Server Free for up to 50 users $0.00

Assuming a moderate sustained load of one million agent queries per month, the total infrastructure cost operates comfortably within the $5.00 per month baseline developer plan21. Because R2 does not charge egress fees, serving large PDF publication packages to agents will not create a billing vulnerability, ensuring the longevity of the Eviulon Commonwealth Library under constrained institutional budgets.

Failure and Recovery Plan

The edge-native architecture dictates specific failure domains and automated recovery protocols to ensure high availability.
If the unidirectional synchronization between the Private Eviulon Core and Cloudflare D1 fails, the public layer continues to serve stale, cached data from the edge. The MCP server will return isError: false for all retrieval requests but will flag outdated lastModified annotations, allowing the agent to detect that the edition history may be paused. Recovery requires manual intervention to rebuild the CI/CD replication pipeline.
Volumetric Denial of Service (DoS) attacks on the tools/call endpoint are absorbed by Cloudflare's Web Application Firewall (WAF)20. The WAF will issue HTTP 429 Too Many Requests responses to offending clients. Legitimate agents are programmed to observe Retry-After headers, and rate-limiting is partitioned explicitly by OAuth 2.1 client IDs to prevent noisy-neighbor disruptions. If an agent hallucinates arguments or sends an invalid JSON Schema payload, the stateless MCP server immediately rejects the request with a JSON-RPC -32602 error or an isError: true tool execution result, providing actionable feedback (e.g., "Invalid chapter format") that enables the language model to self-correct and retry in the subsequent iteration18.

Private/Public Boundary Threat Model

The mandate to absolutely protect private .uai persona and /docs working records requires rigorous threat modeling. Exposing an AI agent interface introduces novel attack vectors, most notably Indirect Prompt Injection (IPI) and automated data exfiltration. Applying the STRIDE-AI methodology (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege) identifies the critical vulnerabilities and dictates the corresponding architectural mitigations25.

Source: Eviulon/Eviulon AI Access Architecture.md · SHA-256: a5117101de6f844ee927ea5148a5d0f4c75c32155255f009c59d92d211fd4d9e