AGENT–USER INTERACTION · READ-ONLY INTERFACE

AG-UI source retrieval and topic search

This is a deterministic, read-only source access interface, not a hosted generative AI agent. It defaults to official books; optional research queries must explicitly select Research. It uses SSE events and requires no browser JavaScript.

POST https://library.eviulon.com/ag-ui/ with Content-Type: application/json and a JSON object whose state.book is the slug and state.page is the print page number. The response is text/event-stream.

curl -N -X POST https://library.eviulon.com/ag-ui/ \\n  -H "Content-Type: application/json" \\n  -d '{"threadId":"reading-1","state":{"book":"the-right-to-say-no","page":27}}'

The server emits RUN_STARTED, TEXT_MESSAGE_START, one or more TEXT_MESSAGE_CONTENT events, TEXT_MESSAGE_END, and RUN_FINISHED. An invalid request yields RUN_ERROR. It does not execute arbitrary tools or write any state.

Search: POST {"state":{"action":"search","query":"machine consciousness","scope":["books","research"]}}. Books are the default scope. Extractive evidence: {"state":{"action":"context","query":"cognitive liberty"}} gives bounded exact source excerpts with canonical citations; optional research requires explicit selection. To retrieve a research section: {"state":{"action":"research","report":"evulgare/example-slug","section":1}}.

Agent interface documentation → · OpenAPI specification →

Browse official books → · Browse supplemental research →