AbstractCore Documentation Index

This folder contains the canonical user documentation for AbstractCore. The codebase is the source of truth; if you spot a mismatch, please open an issue.

Table of Contents

AbstractFramework ecosystem Start here (recommended reading order) Core guides Media, embeddings, and MCP (optional subsystems) Server (optional HTTP API) Built-in CLI apps Project docs Docs layout (what’s where)

AbstractFramework ecosystem

AbstractCore is one of the core packages of the AbstractFramework ecosystem:

  • AbstractFramework (umbrella): https://github.com/lpalbou/AbstractFramework
  • AbstractCore (this package): unified LLM interface + cross-provider infrastructure (tools, streaming, structured output, media policies)
  • AbstractRuntime: durable tool/effect execution, workflows, and state persistence (recommended runtime for executing response.tool_calls) — https://github.com/lpalbou/abstractruntime
  1. Prerequisites — install/configure providers (Ollama, LMStudio, vLLM, HuggingFace, MLX, OpenAI, Anthropic, OpenRouter, Portkey, …)
  2. Getting Started — first call (create_llm, generate), streaming, tools, structured output
  3. FAQ — install extras, local servers, common gotchas
  4. Troubleshooting — actionable fixes for common failures
  5. API (Python) — user-facing map of the public API
  6. API Reference — complete function/class reference (including events)

Core guides

Media, embeddings, and MCP (optional subsystems)

Server (optional HTTP API)

  • Server — OpenAI-compatible /v1 gateway (install pip install "abstractcore[server]")
  • Endpoint — single-model OpenAI-compatible /v1 endpoint (install pip install "abstractcore[server]"; run abstractcore-endpoint)

Built-in CLI apps

These are convenience CLIs built on top of the core library:

Project docs

Docs layout (what’s where)

docs/ is mostly a flat set of guides plus a few subfolders:

  • docs/apps/ — CLI app guides
  • docs/known_bugs/ — focused notes on known issues (when present)
  • docs/archive/ — superseded/historical docs (see docs/archive/README.md)
  • docs/backlog/ — planning notes (see docs/backlog/README.md)
  • docs/reports/ — non-authoritative engineering notes (see docs/reports/README.md)
  • docs/research/ — non-authoritative experiments (see docs/research/README.md)

Key distinction: - api.md = API overview (how to use the public API) - api-reference.md = full Python API reference - server.md = HTTP server endpoints and deployment