Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 5.18 KB

File metadata and controls

87 lines (65 loc) · 5.18 KB

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.

AI assistants and documentation indexers can use the repository-level llms.txt and llms-full.txt files. MCP clients such as Context7 can also query the public documentation directly.

AbstractFramework ecosystem

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

Start here (recommended reading order)

  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

  • Tool Calling — native + prompted tools; passthrough vs execution
  • Tool Syntax Rewriting — normalize tool-call markup for different runtimes/clients
  • Structured Outputresponse_model=... strategies and limitations
  • Session Management — conversation state, persistence, compaction
  • Prompt Cachingprompt_cache_key, KV/prefix caches, and persistence (MLX)
  • Generation Parameters — unified parameter vocabulary + provider quirks
  • Memory Blocs — persistent extracted text snapshots + per-model KV artifacts
  • Model/architecture registries (source of truth)abstractcore/assets/model_capabilities.json + abstractcore/assets/architecture_formats.json (see abstractcore/assets/README.md)
  • Centralized Config — config file + config CLI (abstractcore --config)
  • Events and Structured Logging — observability hooks
  • Interaction Tracing — record prompts/responses/usage for debugging
  • Capabilities — what AbstractCore can and cannot do
  • Capability plugins (voice/audio/vision) — optional deterministic outputs via llm.voice/llm.audio/llm.vision (see capabilities.md and server.md)

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