LLM.txt

IntelligenceBox supports the llm.txt standard -- a simple way to provide context about your server to AI tools and agents. By exposing a structured, plain-text description of your API at a well-known URL, you enable any LLM-powered tool to automatically discover and interact with your IntelligenceBox without manual configuration.

What is LLM.txt?

llm.txt is a plain text file at the root of your server that describes:

  • What the server does
  • Available API endpoints
  • How to authenticate
  • Example requests

AI assistants and tools can read this file to understand how to interact with your IntelligenceBox.

Endpoint

GET /llm.txt

No authentication required.

Example

curl https://your-box-server/llm.txt

Response

# IntelligenceBox API

Private AI server for chat and document search.

## Authentication
All requests require an API key header:
x-api-key: YOUR_API_KEY

## Endpoints

### Chat
POST /api/ai/chat
Send messages and receive streaming AI responses.

Request:
{
  "id": "unique-chat-id",
  "messages": [{"role": "user", "content": "Hello"}],
  "boxAddress": "https://your-server",
  "assistantId": "optional-assistant-id",
  "vector": ["optional-folder-ids"]
}

### List Folders
GET /api/public/vectors
Returns available document folders for RAG.

### List Assistants
GET /api/public/assistants
Returns available AI assistants.

## More Info
https://intelligencebox.it/docs

Why Use LLM.txt?

The llm.txt file bridges the gap between traditional API documentation and the way modern AI agents consume information. Unlike OpenAPI specs or HTML docs, it is designed to be lightweight and immediately parsable by language models without requiring a specialized client library.

  • AI Tools: Tools like Claude, ChatGPT plugins, and autonomous agents can discover your API endpoints, authentication requirements, and request formats automatically.
  • Documentation: The file doubles as a human-readable summary of your API, making it useful for developers who want a quick overview without navigating full documentation.
  • Standardized: As adoption grows, llm.txt is becoming the de facto standard for AI-to-API discovery, similar to how robots.txt became the standard for search engine crawlers.
  • Zero maintenance: IntelligenceBox generates this file automatically based on your server configuration. You do not need to write or update it manually.

Integration Tips

If you are building an AI agent or tool that needs to interact with an IntelligenceBox instance, start by fetching the llm.txt file. Feed its contents into your agent's system prompt or context window so the model understands which endpoints are available and how to authenticate. This approach lets your agent dynamically adapt to any IntelligenceBox server without hardcoded endpoint URLs.

Learn More