# arcanum v0.1.5 - Table of Contents

Provider-agnostic AI inference library for Elixir. Adapters for OpenAI-compatible APIs (DeepSeek, Z.AI/Zhipu, OpenRouter, Ollama).

## Modules

- [Arcanum](Arcanum.md): Entry point for the inference layer.
- [Arcanum.Adapters.Anthropic](Arcanum.Adapters.Anthropic.md): Inference adapter for the Anthropic Messages API.
- [Arcanum.Adapters.Grimoire](Arcanum.Adapters.Grimoire.md): Inference adapter for Grimoire plugin providers.
- [Arcanum.Adapters.Ollama](Arcanum.Adapters.Ollama.md): Inference adapter for Ollama.
- [Arcanum.Adapters.OpenAI](Arcanum.Adapters.OpenAI.md): Inference adapter for OpenAI-compatible APIs.
- [Arcanum.Auth.Copilot](Arcanum.Auth.Copilot.md): GitHub Copilot OAuth device code authentication.
- [Arcanum.Gateway](Arcanum.Gateway.md): Single entry point for all inference calls.
- [Arcanum.HTTP](Arcanum.HTTP.md): Shared HTTP utilities for Arcanum adapters.
- [Arcanum.Intent](Arcanum.Intent.md): Canonical request struct for all inference calls: chat, streaming,
embeddings, and media generation.
- [Arcanum.ModelProfile](Arcanum.ModelProfile.md): Declares model capabilities so adapters serialize correctly on the first attempt.
- [Arcanum.ModelProfile.Registry](Arcanum.ModelProfile.Registry.md): Fetches and caches model capabilities from models.dev.
- [Arcanum.ModelProfile.Resolver](Arcanum.ModelProfile.Resolver.md): Resolves a `ModelProfile` for a given provider and model.
- [Arcanum.Probe](Arcanum.Probe.md): Probes inference providers to determine availability.
- [Arcanum.Provider](Arcanum.Provider.md): Behaviour for inference provider adapters.
- [Arcanum.Response](Arcanum.Response.md): Canonical response struct from all inference calls.
- [Arcanum.Response.Normalizer](Arcanum.Response.Normalizer.md): Profile-driven post-processing of inference responses.
- [Arcanum.Retry](Arcanum.Retry.md): Shared retry logic for Arcanum adapters.
- [Arcanum.SSE](Arcanum.SSE.md): Shared Server-Sent Events parsing for Arcanum adapters.

