Get the agent guide
GET
/llms.txt
const url = 'http://127.0.0.1:8765/llms.txt';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:8765/llms.txtShort plain-text guide for an agent: what this server is, how to call it, where the spec is. Localhost-only, Host-checked plain text. Writes need Content-Type: application/json.
Responses
Section titled “Responses”Success.
Media typetext/plain
string format: plain
Forbidden / forbidden_origin: loopback peer and Host 127.0.0.1:<port> or localhost:<port> only (Origin too on writes).
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Examplegenerated
{ "error": { "allowed_keys": [ "example" ], "code": "example", "message": "example" }}