Directories
¶
| Path | Synopsis |
|---|---|
|
Package catalog defines eyrie's model catalog: the versioned set of known providers and their model entries, the bootstrap (built-in) catalog, and helpers to compile and query catalog data (e.g.
|
Package catalog defines eyrie's model catalog: the versioned set of known providers and their model entries, the bootstrap (built-in) catalog, and helpers to compile and query catalog data (e.g. |
|
opencodego
Package opencodego holds shared constants and helpers for the OpenCode Go gateway (https://opencode.ai/docs/go/).
|
Package opencodego holds shared constants and helpers for the OpenCode Go gateway (https://opencode.ai/docs/go/). |
|
xiaomi
Package xiaomi resolves Xiaomi MiMo API base URLs for pay-as-you-go and Token Plan.
|
Package xiaomi resolves Xiaomi MiMo API base URLs for pay-as-you-go and Token Plan. |
|
zai
Package zai resolves Z.AI (Zhipu GLM) API base URLs for General (pay-as-you-go) and Coding Plan subscriptions, with full support for both OpenAI-compatible and Anthropic-compatible endpoints, plus International vs China regions.
|
Package zai resolves Z.AI (Zhipu GLM) API base URLs for General (pay-as-you-go) and Coding Plan subscriptions, with full support for both OpenAI-compatible and Anthropic-compatible endpoints, plus International vs China regions. |
|
Package client provides LLM provider clients for Anthropic, OpenAI, and OpenAI-compatible APIs with streaming, retry, and provider detection.
|
Package client provides LLM provider clients for Anthropic, OpenAI, and OpenAI-compatible APIs with streaming, retry, and provider detection. |
|
Package codeagent provides intelligent retry and fallback strategies tailored to code agent workloads.
|
Package codeagent provides intelligent retry and fallback strategies tailored to code agent workloads. |
|
Package config holds eyrie's provider configuration model and accessors for the active provider/model selection (ActiveProvider, ActiveModel, SetActiveProvider, SetProviderModel) used to route requests.
|
Package config holds eyrie's provider configuration model and accessors for the active provider/model selection (ActiveProvider, ActiveModel, SetActiveProvider, SetProviderModel) used to route requests. |
|
Package credentials manages provider API-key storage for eyrie, combining an OS keychain and an env-file store (CombinedStore) and providing migration of legacy env-file and keychain credentials into the current scheme.
|
Package credentials manages provider API-key storage for eyrie, combining an OS keychain and an env-file store (CombinedStore) and providing migration of legacy env-file and keychain credentials into the current scheme. |
|
examples
|
|
|
basic
command
Example: basic chat with eyrie.
|
Example: basic chat with eyrie. |
|
multi-provider
command
Example: multi-provider fallback chain.
|
Example: multi-provider fallback chain. |
|
streaming
command
Example: streaming chat with auto-continuation.
|
Example: streaming chat with auto-continuation. |
|
internal
|
|
|
api
Package api implements eyrie's internal HTTP API server (Server) and its configuration, including the reranker interface used to score results.
|
Package api implements eyrie's internal HTTP API server (Server) and its configuration, including the reranker interface used to score results. |
|
cache
Pluggable distributed cache backend interface.
|
Pluggable distributed cache backend interface. |
|
grpc
Package grpc holds a dependency-free skeleton for an eyrie gRPC API.
|
Package grpc holds a dependency-free skeleton for an eyrie gRPC API. |
|
health
Package eyrie (internal/health) provides provider health-check tracking — the HealthState type and helpers that record and report provider liveness.
|
Package eyrie (internal/health) provides provider health-check tracking — the HealthState type and helpers that record and report provider liveness. |
|
httputil
Package httputil provides shared HTTP server primitives used across eyrie's API surfaces.
|
Package httputil provides shared HTTP server primitives used across eyrie's API surfaces. |
|
observability
Audit log sink for LLM calls.
|
Audit log sink for LLM calls. |
|
probehttp
Package probehttp contains shared helpers for the eyrie credential-probe and catalog-probe call sites.
|
Package probehttp contains shared helpers for the eyrie credential-probe and catalog-probe call sites. |
|
shrink
Package shrink compresses LLM tool descriptions before they are sent to the provider.
|
Package shrink compresses LLM tool descriptions before they are sent to the provider. |
|
version
Package eyrie is the core LLM client library for hawk.
|
Package eyrie is the core LLM client library for hawk. |
|
Package router contains eyrie's request-routing building blocks: a CircuitBreaker for failing providers and a ToolFilter for constraining the tools exposed to a given request.
|
Package router contains eyrie's request-routing building blocks: a CircuitBreaker for failing providers and a ToolFilter for constraining the tools exposed to a given request. |
|
Package runtime is the **recommended entry point** for host applications (e.g.
|
Package runtime is the **recommended entry point** for host applications (e.g. |
|
Package setup wires catalog-backed deployment routing for hawk and eyrie CLIs.
|
Package setup wires catalog-backed deployment routing for hawk and eyrie CLIs. |
|
Package storage provides eyrie's persistence layer: virtual keys and an SQLite-backed budget store (BudgetStore / SQLiteStore) for tracking usage and spend limits.
|
Package storage provides eyrie's persistence layer: virtual keys and an SQLite-backed budget store (BudgetStore / SQLiteStore) for tracking usage and spend limits. |
|
Package types holds eyrie's shared data types — message/content blocks and related request/response shapes — plus small cross-cutting helpers such as retry backoff (BackoffDelay, CryptoRandDuration).
|
Package types holds eyrie's shared data types — message/content blocks and related request/response shapes — plus small cross-cutting helpers such as retry backoff (BackoffDelay, CryptoRandDuration). |
|
Package verify provides a data-driven conformance harness that certifies a provider behaves correctly before it is relied on in the catalog.
|
Package verify provides a data-driven conformance harness that certifies a provider behaves correctly before it is relied on in the catalog. |
Click to show internal directories.
Click to hide internal directories.