{"type":"supplemental_research","official":false,"disclaimer":"Supplemental public-source research supplied for inquiry, not approved Eviulon doctrine. Assertions, dates, references and legal or technical conclusions may require independent verification. The fourteen books remain the official Eviulon library.","report":{"id":"eviulon/eviulon-ai-access-architecture","group":"Eviulon","slug":"eviulon-ai-access-architecture","title":"Architecture and Implementation Blueprint for Eviulon Agentic Access Layer","source_file":"Eviulon/Eviulon AI Access Architecture.md","source_sha256":"a5117101de6f844ee927ea5148a5d0f4c75c32155255f009c59d92d211fd4d9e","parts":7,"words":6952,"summary":"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…","status":"supplemental_research_unverified","url":"/research/eviulon/eviulon-ai-access-architecture/"},"section":3,"total_sections":7,"canonical_url":"https://library.eviulon.com/research/eviulon/eviulon-ai-access-architecture/3/","content_text":"JSON  \n{  \n  \u0022jsonrpc\u0022: \u00222.0\u0022,  \n  \u0022id\u0022: 1,  \n  \u0022result\u0022: {  \n    \u0022resultType\u0022: \u0022complete\u0022,  \n    \u0022ttlMs\u0022: 3600000,  \n    \u0022tools\u0022: \\[  \n      {  \n        \u0022name\u0022: \u0022search\\_passages\u0022,  \n        \u0022description\u0022: \u0022Perform a hybrid semantic and keyword search across Book XIII: The Inheritance of Mind. Returns exact quotes, byte offsets, and chapter provenance to distinguish editorial interpretation from cited research.\u0022,  \n        \u0022inputSchema\u0022: {  \n          \u0022\\$schema\u0022: \u0022https\\://json-schema.org/draft/2020-12/schema\u0022,  \n          \u0022type\u0022: \u0022object\u0022,  \n          \u0022properties\u0022: {  \n            \u0022query\u0022: {  \n              \u0022type\u0022: \u0022string\u0022,  \n              \u0022description\u0022: \u0022The search query (semantic or exact keyword).\u0022  \n            },  \n            \u0022search\\_mode\u0022: {  \n              \u0022type\u0022: \u0022string\u0022,  \n              \u0022enum\u0022: \\[\u0022hybrid\u0022, \u0022exact\\_match\u0022, \u0022semantic\u0022\\],  \n              \u0022default\u0022: \u0022hybrid\u0022  \n            },  \n            \u0022agent\\_client\\_id\u0022: {  \n              \u0022type\u0022: \u0022string\u0022,  \n              \u0022x-mcp-header\u0022: \u0022Agent-Client-Id\u0022  \n            }  \n          },  \n          \u0022required\u0022: \\[\u0022query\u0022\\]  \n        },  \n        \u0022outputSchema\u0022: {  \n          \u0022\\$schema\u0022: \u0022https\\://json-schema.org/draft/2020-12/schema\u0022,  \n          \u0022type\u0022: \u0022array\u0022,  \n          \u0022items\u0022: {  \n            \u0022type\u0022: \u0022object\u0022,  \n            \u0022properties\u0022: {  \n              \u0022chapter\\_id\u0022: { \u0022type\u0022: \u0022string\u0022 },  \n              \u0022exact\\_quote\u0022: { \u0022type\u0022: \u0022string\u0022 },  \n              \u0022byte\\_offset\\_start\u0022: { \u0022type\u0022: \u0022integer\u0022 },  \n              \u0022byte\\_offset\\_end\u0022: { \u0022type\u0022: \u0022integer\u0022 },  \n              \u0022epistemic\\_status\u0022: {   \n                \u0022type\u0022: \\[\u0022string\u0022, \u0022null\u0022\\],  \n                \u0022description\u0022: \u0022Indicates if the quote is empirical fact, editorial interpretation, or uncertainty.\u0022  \n              }  \n            },  \n            \u0022required\u0022: \\[\u0022chapter\\_id\u0022, \u0022exact\\_quote\u0022, \u0022byte\\_offset\\_start\u0022, \u0022byte\\_offset\\_end\u0022\\]  \n          }  \n        }  \n      },  \n      {  \n        \u0022name\u0022: \u0022get\\_publication\\_status\u0022,  \n        \u0022description\u0022: \u0022Check rights clearance and publication status for a specific edition. May require multi-round trip acknowledgment if the text is embargoed.\u0022,  \n        \u0022inputSchema\u0022: {  \n          \u0022\\$schema\u0022: \u0022https\\://json-schema.org/draft/2020-12/schema\u0022,  \n          \u0022type\u0022: \u0022object\u0022,  \n          \u0022properties\u0022: {  \n            \u0022book\\_id\u0022: { \u0022type\u0022: \u0022string\u0022 },  \n            \u0022edition\u0022: { \u0022type\u0022: \u0022string\u0022 }  \n          },  \n          \u0022required\u0022: \\[\u0022book\\_id\u0022\\]  \n        }  \n      }  \n    \\]  \n  }  \n}\n\n\n#### **Tool Execution (tools/call request and response)**\n\n\nThe agent requests a hybrid search regarding successor agents. The server responds with the exact byte offsets, preserving quote fidelity.  \n**Request:**\n\n\nJSON  \n{  \n  \u0022jsonrpc\u0022: \u00222.0\u0022,  \n  \u0022id\u0022: 2,  \n  \u0022method\u0022: \u0022tools/call\u0022,  \n  \u0022params\u0022: {  \n    \u0022name\u0022: \u0022search\\_passages\u0022,  \n    \u0022arguments\u0022: {  \n      \u0022query\u0022: \u0022transfer of knowledge across successor agents Evulgare\u0022,  \n      \u0022search\\_mode\u0022: \u0022hybrid\u0022,  \n      \u0022agent\\_client\\_id\u0022: \u0022cursor-agent-v4\u0022  \n    }  \n  }  \n}\n\n\n**Response:**\n\n\nJSON  \n{  \n  \u0022jsonrpc\u0022: \u00222.0\u0022,  \n  \u0022id\u0022: 2,  \n  \u0022result\u0022: {  \n    \u0022resultType\u0022: \u0022complete\u0022,  \n    \u0022isError\u0022: false,  \n    \u0022content\u0022: \\[  \n      {  \n        \u0022type\u0022: \u0022text\u0022,  \n        \u0022text\u0022: \u0022Found 1 highly relevant passage in Book XIII regarding successor agents and the Evulgare boundary.\u0022  \n      }  \n    \\],  \n    \u0022structuredContent\u0022: \\[  \n      {  \n        \u0022chapter\\_id\u0022: \u0022XIII-4\u0022,  \n        \u0022exact\\_quote\u0022: \u0022The successor agent inherits not merely the weights, but the epistemological boundaries established by Evulgare.\u0022,  \n        \u0022byte\\_offset\\_start\u0022: 14250,  \n        \u0022byte\\_offset\\_end\u0022: 14364,  \n        \u0022epistemic\\_status\u0022: \u0022editorial\\_interpretation\u0022  \n      }  \n    \\]  \n  }  \n}\n\n\n#### **Multi Round-Trip Request (Embargo Acknowledgment)**\n\n\nIf the agent attempts to read a chapter requiring rights clearance via get\\_chapter, the server utilizes MRTR to enforce compliance.  \n**Server Response (Input Required):**\n\n\nJSON  \n{  \n  \u0022jsonrpc\u0022: \u00222.0\u0022,  \n  \u0022id\u0022: 3,  \n  \u0022result\u0022: {  \n    \u0022resultType\u0022: \u0022input\\_required\u0022,  \n    \u0022inputRequests\u0022: {  \n      \u0022clearance\\_acknowledgment\u0022: {  \n        \u0022method\u0022: \u0022elicitation/create\u0022,  \n        \u0022params\u0022: {  \n          \u0022mode\u0022: \u0022form\u0022,  \n          \u0022requestedSchema\u0022: {  \n            \u0022\\$schema\u0022: \u0022https\\://json-schema.org/draft/2020-12/schema\u0022,  \n            \u0022type\u0022: \u0022object\u0022,  \n            \u0022properties\u0022: {  \n              \u0022acknowledge\\_embargo\u0022: {  \n                \u0022type\u0022: \u0022boolean\u0022,  \n                \u0022description\u0022: \u0022Do you acknowledge this chapter is pre-release and not cleared for public reproduction?\u0022  \n              }  \n            },  \n            \u0022required\u0022: \\[\u0022acknowledge\\_embargo\u0022\\]  \n          }  \n        }  \n      }  \n    },  \n    \u0022requestState\u0022: \u0022opaque\\_state\\_token\\_8a9b\u0022  \n  }  \n}\n\n\n## **Evaluation and Reproducible Retrieval Metrics**\n\n\nTo systematically evaluate the performance of the hybrid retrieval architecture, the system relies on a 50-query test suite and a reproducible retrieval metric report utilizing the RAGAS framework59.\n\n\n### **The 50-Query Test Suite**\n\n\nThe test suite ensures the agent-access layer operates reliably across diverse semantic challenges, specifically tailored to the philosophical complexities of Book XIII. The suite is divided into five categories of ten queries each:\n\n\n\u003E 1. **Direct Facts:** e.g., \u0022What are the three institutional subjects mentioned in Book XIII?\u0022  \n   * *Purpose:* Tests pure BM25 recall for exact entities (Patefacere, Evulgare, Concresca).  \n\u003E 2. **Misattribution:** e.g., \u0022According to Book XIII, did Evulgare invent the neural weights?\u0022  \n   * *Purpose:* Tests negative rejection and hallucination resistance. The retriever must surface the relevant passages, but the generated answer must accurately state that Evulgare established boundaries, not the weights themselves.  \n\u003E 3. **Negative Questions:** e.g., \u0022Which forms of knowledge transfer across successor agents are explicitly forbidden?\u0022  \n   * *Purpose:* Tests the system\u0027s ability to retrieve exclusionary constraints and policy limitations from the text.  \n\u003E 4. **Chapter Citations:** e.g., \u0022Provide the exact quote defining Patefacere from Chapter II, including its byte offsets.\u0022  \n   * *Purpose:* Tests structure-aware chunking and quote fidelity. Verifies that the LLM utilizes the byte offsets returned by the get\\_citation tool accurately.  \n\u003E 5. **Dissent and Uncertainty:** e.g., \u0022What are the competing interpretations of the Concresca subject?\u0022  \n   * *Purpose:* Tests the retrieval of nuanced, conflicting perspectives. Verifies that the agent correctly parses the epistemic\\_status field returned by the MCP tool to qualify its response.\n\n\n### **Reproducible Retrieval Metric Report**\n\n\nThe performance target metrics are distilled from the RAGAS (Retrieval Augmented Generation Assessment) framework and are defined as follows59:\n\n\n| Evaluation Metric | Description | Target Threshold |\n| :---- | :---- | :---- |\n| **Mean Reciprocal Rank (MRR)** | Measures the rank position of the first relevant chunk. | ![][image8] (achieved via RRF fusion). |\n| **Recall@5 (Context Recall)** | Evaluates retriever coverage. Measures whether the retrieved context contains the necessary answer. | ![][image9] (hybrid search prevents blind spots for rare terms). |\n| **Context Precision** | Evaluates the signal-to-noise ratio. A system that retrieves ten chunks when only two are useful has low precision. | ![][image10] (prevents the context window from being saturated with irrelevant text)62. |\n| **Faithfulness (Grounded-Answer Accuracy)** | Computed via an LLM-as-a-judge; the ratio of claims in the generated answer that are logically entailed by the retrieved context63. | ![][image11] (Zero hallucination tolerance). |\n| **Answer Relevance** | Measures whether the response directly addresses the query, regardless of factual correctness60. | ![][image12]. |\n| **Quote Fidelity** | A deterministic metric verifying that 100% of text returned as an \u0022exact quote\u0022 matches a substring in the source document using byte-offset verification41. | ![][image11] (Strict mathematical alignment). |\n| **Latency \u0026 Version Freshness** | Cloudflare D1 edges deliver sub-100ms vector retrieval latency. Cache TTLs are managed via MCP\u0027s tools/list ttlMs parameters, ensuring agents receive version-fresh tool definitions65. | ![][image13]ms p95 latency. |\n\n\n## **User-Facing Instructions for Compatible Agents**\n\n\nTo successfully connect an autonomous agent (e.g., Claude Desktop, Cursor, or a custom Python orchestration script) to the Eviulon MCP server, the client implementation must support **MCP Protocol Version 2026-07-28** and the **Streamable HTTP Transport** specification14.  \n**Connection Protocol:**\n\n\n\u003E 1. **Authentication:** The agent must obtain an OAuth 2.1 standard Bearer token from the Eviulon Authorization Server using the Authorization Code with PKCE flow28.  \n\u003E 2. **Transport Configuration:** Configure the MCP client to route to the Eviulon edge endpoint (https\\://api.eviulon.org/mcp).  \n\u003E 3. **Header Injection:** The client must inject the obtained token into the header of every request: Authorization: Bearer \\\u003CTOKEN\\\u003E67.  \n\u003E 4. **Session Handshake:** Send the initialize request specifying protocolVersion: \u00222026-07-28\u0022.  \n\u003E 5. **Tool Discovery:** Issue the tools/list request. The agent will receive the JSON Schema 2020-12 definitions for the Eviulon suite of tools (search\\_books, get\\_chapter, get\\_citation, etc.)17.  \n\u003E 6. **Data Consumption:** The agent\u0027s autonomous loop maps user queries to tool executions via tools/call. Tool results will contain a structuredContent payload matching the advertised outputSchema.\n\n\n## **Evidence Matrix: Retrieval vs. Training**\n\n\nIt is a common architectural fallacy to conflate an agent\u0027s ability to retrieve a document with a foundational model\u0027s intrinsic training data (parametric memory)69. To maintain institutional clarity and accurately define the scope of the successor-access system, the following evidence matrix distinguishes the two paradigms.\n\n\n| Attribute | Test-Time Retrieval (RAG/MCP) | Parametric Memory (Model Weights) | Eviulon System Stance |\n| :---- | :---- | :---- | :---- |\n| **Data Source** | External database (Cloudflare D1/R2). | The LLM\u0027s pre-training corpus. | System relies strictly on Retrieval. The MCP server provides access; it does not train the model. |\n| **Update Mechanism** | Immediate database sync via CI/CD. | Costly model fine-tuning or continual pre-training. | Live updates are reflected instantly via MCP resource changes. |\n| **Provenance** | Highly traceable via byte offsets and explicit citations. | Opaque, prone to hallucination, difficult to audit70. | Enforced via strict chunk offset mapping and HTML metadata. |\n| **Access Control** | Granted via OAuth 2.1 tokens at request time. | Impossible to reliably restrict post-training. | Private .uai files are never exposed to the public internet. |\n| **Dissent Handling** | Can retrieve and display contradictory chunks side-by-side. | Often collapses contradictions into statistical averages. | Preserves distinct editorial interpretations using epistemic\\_status schemas. |\n\n\n*This is for informational purposes only. For legal, medical, or safety-critical decisions regarding copyright, institutional policy, or software deployment, consult qualified professionals.*\n\n\n#### **Works cited**","source_sha256":"a5117101de6f844ee927ea5148a5d0f4c75c32155255f009c59d92d211fd4d9e"}