go

module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: AGPL-3.0

Directories

Path Synopsis
api
debugapi
Package debugapi provides primitives to interact with the openapi HTTP API.
Package debugapi provides primitives to interact with the openapi HTTP API.
engineapi
Package engineapi provides primitives to interact with the openapi HTTP API.
Package engineapi provides primitives to interact with the openapi HTTP API.
llmapi
Package llmapi provides primitives to interact with the openapi HTTP API.
Package llmapi provides primitives to interact with the openapi HTTP API.
workflow
Package workflow provides primitives to interact with the openapi HTTP API.
Package workflow provides primitives to interact with the openapi HTTP API.
cmd
engine command
Single source of truth for the engine version.
Single source of truth for the engine version.
backend
Package backend is the engine-side HTTP client for everything the engine needs from fh-backend: agent registration, log ingestion, LLM chat, RAG queries.
Package backend is the engine-side HTTP client for everything the engine needs from fh-backend: agent registration, log ingestion, LLM chat, RAG queries.
backend/internal/httpclient
Package httpclient is a minimal JSON HTTP client vendored into the engine so the fh-backend capability implementation has no dependency on the closed fh-backend module.
Package httpclient is a minimal JSON HTTP client vendored into the engine so the fh-backend capability implementation has no dependency on the closed fh-backend module.
channel
Package channel defines the engine's workflow-level handles to external resources — hardware drivers (GPIO, ADC, UART, ...) and network protocols (MQTT, future HTTP).
Package channel defines the engine's workflow-level handles to external resources — hardware drivers (GPIO, ADC, UART, ...) and network protocols (MQTT, future HTTP).
driver
Package driver is the OS-level abstraction for I/O resources.
Package driver is the OS-level abstraction for I/O resources.
memory
Package memory manages the engine's local copy of an agent's declared memory files.
Package memory manages the engine's local copy of an agent's declared memory files.
rag
Package rag provides a local implementation to satisfy Retriever interface of the engine.
Package rag provides a local implementation to satisfy Retriever interface of the engine.
transport
Package transport is the protocol-level abstraction for network resources the engine talks to.
Package transport is the protocol-level abstraction for network resources the engine talks to.
websearch
Package websearch hosts the web search provider abstraction used by the engine's WebSearchTool node.
Package websearch hosts the web search provider abstraction used by the engine's WebSearchTool node.
Package llmproxy provides a unified client interface for interacting with multiple LLM providers.
Package llmproxy provides a unified client interface for interacting with multiple LLM providers.
agent
Package agent defines concepts for agentic applications
Package agent defines concepts for agentic applications
config
Package registry wires concrete LLM providers into an llmproxy.Client.
Package registry wires concrete LLM providers into an llmproxy.Client.
provider
Package provider contains common constants for LLM providers
Package provider contains common constants for LLM providers
provider/anthropic
Package anthropic implements the Anthropic LLM provider using the official anthropic-sdk-go.
Package anthropic implements the Anthropic LLM provider using the official anthropic-sdk-go.
provider/gemini
Package gemini implements the Gemini LLM provider using the Google genai SDK.
Package gemini implements the Gemini LLM provider using the Google genai SDK.
provider/mistral
Package mistral implements the Mistral LLM provider.
Package mistral implements the Mistral LLM provider.
provider/openai
Package openai implements the OpenAI LLM provider.
Package openai implements the OpenAI LLM provider.
provider/selfhosted
Package selfhosted implements the SelfHosted LLM provider for routing chat requests to operator-run inference servers (llama-server, vLLM, Ollama, etc.) via the OpenAI-compatible Chat Completions API.
Package selfhosted implements the SelfHosted LLM provider for routing chat requests to operator-run inference servers (llama-server, vLLM, Ollama, etc.) via the OpenAI-compatible Chat Completions API.
schemautil
Package schemautil provides utilities for generating and manipulating JSON schemas with OpenAI's constraints.
Package schemautil provides utilities for generating and manipulating JSON schemas with OpenAI's constraints.
test
Package test provides common test methods and types for LLM providers.
Package test provides common test methods and types for LLM providers.
Package logging configures a structured zerolog logger and supplies an HTTP writer for shipping log lines to an arbitrary endpoint.
Package logging configures a structured zerolog logger and supplies an HTTP writer for shipping log lines to an arbitrary endpoint.
util
httpclient
Package httpclient provides a reusable HTTP client for JSON-based APIs.
Package httpclient provides a reusable HTTP client for JSON-based APIs.
pointer
Package pointer provides helper functions for working with pointers in Go.
Package pointer provides helper functions for working with pointers in Go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL