Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
contenox
command
Contenox CLI: run task chains locally with SQLite-backed state.
|
Contenox CLI: run task chains locally with SQLite-backed state. |
|
modeld
command
Command modeld is the contenox model daemon: the per-user, per-data-root owner of resident model state.
|
Command modeld is the contenox model daemon: the per-user, per-data-root owner of resident model state. |
|
Package libauth provides secure authentication and authorization services using JWT tokens.
|
Package libauth provides secure authentication and authorization services using JWT tokens. |
|
Package bus provides an interface for core publish-subscribe messaging.
|
Package bus provides an interface for core publish-subscribe messaging. |
|
Package libcipher provides a collection of cryptographic utilities for encryption, decryption, integrity verification, and secure key generation.
|
Package libcipher provides a collection of cryptographic utilities for encryption, decryption, integrity verification, and secure key generation. |
|
3.
|
3. |
|
Package liblease implements a cooperative, time-bounded file lease: a single-holder lock backed by an ordinary file, not an OS primitive.
|
Package liblease implements a cooperative, time-bounded file lease: a single-holder lock backed by an ordinary file, not an OS primitive. |
|
Package routine provides utilities for managing recurring tasks (routines) with circuit breaker protection.
|
Package routine provides utilities for managing recurring tasks (routines) with circuit breaker protection. |
|
Package modeld is the split-out, transport-facing owner of the model repository.
|
Package modeld is the split-out, transport-facing owner of the model repository. |
|
llama
Package llama is the graduated local coding-node runtime: a persistent, workspace-scoped inference session that keeps a stable prefix's KV hot and re-prefills only the changed suffix (the live warm-reuse hot path), distinct from the toy fixed-constant `local` provider.
|
Package llama is the graduated local coding-node runtime: a persistent, workspace-scoped inference session that keeps a stable prefix's KV hot and re-prefills only the changed suffix (the live warm-reuse hot path), distinct from the toy fixed-constant `local` provider. |
|
openvino
Package openvino contains the modelrepo catalog/provider shell for in-process OpenVINO (Intel) inference.
|
Package openvino contains the modelrepo catalog/provider shell for in-process OpenVINO (Intel) inference. |
|
openvino/ovsession
Package ovsession contains the native OpenVINO session/KV bridge used by the openvino modelrepo provider.
|
Package ovsession contains the native OpenVINO session/KV bridge used by the openvino modelrepo provider. |
|
owner
Package owner manages lease-based ownership of the local runtime's resident state.
|
Package owner manages lease-based ownership of the local runtime's resident state. |
|
transport
Package transport defines the protocol-agnostic surface that modeld exposes over a wire transport.
|
Package transport defines the protocol-agnostic surface that modeld exposes over a wire transport. |
|
transport/grpc
Package grpc is the gRPC transport for modeld.
|
Package grpc is the gRPC transport for modeld. |
|
transport/grpc/modeldpb
Package modeldpb contains the modeld gRPC wire bindings.
|
Package modeldpb contains the modeld gRPC wire bindings. |
|
transport/leader
Package leader routes follower calls to the current modeld owner advertised in the lease file.
|
Package leader routes follower calls to the current modeld owner advertised in the lease file. |
|
runtime
|
|
|
chatservice
Package chatservice persists the conversation thread.
|
Package chatservice persists the conversation thread. |
|
contenoxcli
backends.go contains helpers for LLM backend and provider config KV storage.
|
backends.go contains helpers for LLM backend and provider config KV storage. |
|
hitlservice
Package hitlservice evaluates approval policies for tool calls.
|
Package hitlservice evaluates approval policies for tool calls. |
|
internal/setupcheck
Package setupcheck evaluates local runtime readiness (defaults, backends) for the CLI.
|
Package setupcheck evaluates local runtime readiness (defaults, backends) for the CLI. |
|
internal/tools
internal/tools/multi_repo.go
|
internal/tools/multi_repo.go |
|
llmrepo
Package llmrepo provides a unified facade over LLM backends discovered via runtimestate: prompt, chat, streaming, embedding, and tokenization through a single ModelRepo interface.
|
Package llmrepo provides a unified facade over LLM backends discovered via runtimestate: prompt, chat, streaming, embedding, and tokenization through a single ModelRepo interface. |
|
localtools
Package localtools provides tools that fire around chain execution: approval gates and host-side helpers.
|
Package localtools provides tools that fire around chain execution: approval gates and host-side helpers. |
|
localtools/mcpoauth
Package mcpoauth implements the MCP OAuth 2.1 Authorization Code + PKCE flow for CLI clients.
|
Package mcpoauth implements the MCP OAuth 2.1 Authorization Code + PKCE flow for CLI clients. |
|
mcpserverservice
Package mcpserverservice stores MCP server configs.
|
Package mcpserverservice stores MCP server configs. |
|
mcpworker
Package mcpworker keeps MCP server connections alive across chain steps.
|
Package mcpworker keeps MCP server connections alive across chain steps. |
|
modelrepo
Package modelrepo defines the provider-facing contracts for LLM backends: the Provider interface (capabilities + client factories), the per-capability client interfaces (LLMPromptExecClient, LLMChatClient, LLMEmbedClient, LLMStreamClient), and the shared request/response types (Message, ChatResult, StreamParcel, Tool, ChatArgument).
|
Package modelrepo defines the provider-facing contracts for LLM backends: the Provider interface (capabilities + client factories), the per-capability client interfaces (LLMPromptExecClient, LLMChatClient, LLMEmbedClient, LLMStreamClient), and the shared request/response types (Message, ChatResult, StreamParcel, Tool, ChatArgument). |
|
modelrepo/anthropic
Package anthropic is a direct (non-Vertex) provider for the Anthropic API (api.anthropic.com), which speaks the Messages API.
|
Package anthropic is a direct (non-Vertex) provider for the Anthropic API (api.anthropic.com), which speaks the Messages API. |
|
modelrepo/bedrock
Package bedrock is a provider for AWS Bedrock via the unified Converse API.
|
Package bedrock is a provider for AWS Bedrock via the unified Converse API. |
|
modelrepo/codec/chatcompletions
Package chatcompletions is a transport-agnostic codec for the OpenAI Chat Completions wire format (`/chat/completions`-style request/response and SSE streaming).
|
Package chatcompletions is a transport-agnostic codec for the OpenAI Chat Completions wire format (`/chat/completions`-style request/response and SSE streaming). |
|
modelrepo/codec/messages
Package messages is a transport-agnostic codec for Anthropic's Messages API wire format (request, content-block response, and named-SSE-event streaming).
|
Package messages is a transport-agnostic codec for Anthropic's Messages API wire format (request, content-block response, and named-SSE-event streaming). |
|
modelrepo/gemini
Package gemini implements the modelrepo.Provider contract against Google's Gemini Generative Language API.
|
Package gemini implements the modelrepo.Provider contract against Google's Gemini Generative Language API. |
|
modelrepo/llama
Package llama is the graduated local coding-node runtime: a persistent, workspace-scoped inference session that keeps a stable prefix's KV hot and re-prefills only the changed suffix (the live warm-reuse hot path), distinct from the toy fixed-constant `local` provider.
|
Package llama is the graduated local coding-node runtime: a persistent, workspace-scoped inference session that keeps a stable prefix's KV hot and re-prefills only the changed suffix (the live warm-reuse hot path), distinct from the toy fixed-constant `local` provider. |
|
modelrepo/mistral
Package mistral is a direct (non-Vertex) provider for the Mistral API (api.mistral.ai), which speaks the OpenAI-compatible chat/completions format.
|
Package mistral is a direct (non-Vertex) provider for the Mistral API (api.mistral.ai), which speaks the OpenAI-compatible chat/completions format. |
|
modelrepo/ollama
Package ollama implements the modelrepo.Provider contract against Ollama HTTP endpoints.
|
Package ollama implements the modelrepo.Provider contract against Ollama HTTP endpoints. |
|
modelrepo/openai
Package openai implements the modelrepo.Provider contract against the OpenAI HTTP API and OpenAI-compatible endpoints.
|
Package openai implements the modelrepo.Provider contract against the OpenAI HTTP API and OpenAI-compatible endpoints. |
|
modelrepo/openrouter
Package openrouter is a catalog provider for OpenRouter (openrouter.ai), which exposes 300+ models from many providers through a single OpenAI-compatible endpoint.
|
Package openrouter is a catalog provider for OpenRouter (openrouter.ai), which exposes 300+ models from many providers through a single OpenAI-compatible endpoint. |
|
modelrepo/openvino
Package openvino contains the modelrepo catalog/provider shell for in-process OpenVINO (Intel) inference.
|
Package openvino contains the modelrepo catalog/provider shell for in-process OpenVINO (Intel) inference. |
|
modelrepo/openvino/ovsession
Package ovsession contains the native OpenVINO session/KV bridge used by the openvino modelrepo provider.
|
Package ovsession contains the native OpenVINO session/KV bridge used by the openvino modelrepo provider. |
|
modelrepo/vertex
Package vertex implements the modelrepo.Provider contract against Google Vertex AI publisher endpoints, using OAuth bearer tokens minted from service-account credentials.
|
Package vertex implements the modelrepo.Provider contract against Google Vertex AI publisher endpoints, using OAuth bearer tokens minted from service-account credentials. |
|
modelrepo/vllm
Package vllm implements the modelrepo.Provider contract against vLLM OpenAI-compatible HTTP endpoints.
|
Package vllm implements the modelrepo.Provider contract against vLLM OpenAI-compatible HTTP endpoints. |
|
ollamatokenizer
Package ollamatokenizer provides Tokenizer implementations used by llmrepo to count and split tokens for a given model.
|
Package ollamatokenizer provides Tokenizer implementations used by llmrepo to count and split tokens for a given model. |
|
runtimestate
Package runtimestate reconciles the declared state of LLM backends (from dbInstance) with their actual observed state.
|
Package runtimestate reconciles the declared state of LLM backends (from dbInstance) with their actual observed state. |
|
sessionservice
Package sessionservice stores CLI chat sessions so conversations persist across terminal restarts.
|
Package sessionservice stores CLI chat sessions so conversations persist across terminal restarts. |
|
taskengine
Package taskengine orchestrates an agent: it drives LLM turns, tool calls, and routing in a loop, defined as a JSON chain you version in git.
|
Package taskengine orchestrates an agent: it drives LLM turns, tool calls, and routing in a loop, defined as a JSON chain you version in git. |
|
taskengine/llmretry
Package llmretry wraps a single LLM call with classified retry, exponential backoff, and an optional model fallback.
|
Package llmretry wraps a single LLM call with classified retry, exponential backoff, and an optional model fallback. |
|
tools
|
|
|
version
command
|
Click to show internal directories.
Click to hide internal directories.