LLM.txt

IntelligenceBox supports the llm.txt standard - a simple way to provide context about your server to AI tools and agents.

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?

  • AI Tools: Tools like Claude, ChatGPT plugins, and agents can discover your API
  • Documentation: Human-readable summary of your API
  • Standardized: Growing standard for AI-to-API communication

Learn More