AI Platform

AI Platform Overview

LLM providers, RAG, agents, and MCP.

1 min readDocumentationEdit this page

What is included#

  • Provider abstraction — OpenAI, Anthropic, Gemini, Ollama
  • Streaming — token-by-token SSE
  • Embeddings — text-to-vector
  • Vector store — semantic search
  • RAG pipeline — index and query documents
  • Agents — ReAct reasoning with tools
  • MCP client — external tool integration

Quick example#

typescript
import { OllamaProvider } from '@AxilJS/ai'
 
const ai = new OllamaProvider({ model: 'llama3.2' })
 
const res = await ai.complete({
  messages: [{ role: 'user', content: 'What is AxilJS?' }]
})
 
console.log(res.content)

Switch providers with one env variable — no code changes.

Tip

Start with Providers, then explore RAG and Agents.

Help improve the documentation

AxilJS is open source and documentation improvements are welcome.

AxilJS DocumentationMIT License · Built by SyntaxilitY