Packages:
OLLMchat API - Package Overview
This documentation covers the OLLMchat application and its libraries.
Application
* libollmapp — namespace: OLLMapp. Main
application: window, settings dialogs. Entry point and window management.
Core libraries
* libollmchat — namespace: OLLMchat. LLM
chat client: Ollama/OpenAI-compatible API, tool calling, streaming, history, and configuration without GTK.
- Client — API communication and
chat entry point. Message — chat
message representation.
- Call — API call implementations.
Base,
Chat,
Embed,
Models,
Create,
Delete,
Pull,
Version.
- Response — Response types for
API results. Base,
Chat,
CallFunction,
ToolCall.
- Tool — Function calling (tools,
params, requests). BaseTool,
Function,
Param,
RequestBase.
- History — Session persistence and
list. Manager,
Session,
SessionBase.
- Settings — Configuration
(connections, models, usage).
Connection, Config2
, ConnectionModels
, ModelUsage.
- Agent — Agent interface and
implementations. Interface,
Base,
Factory,
JustAsk,
JustAskFactory.
- Prompt — Prompt templates for
agents. Template.
- ChatPermission —
Permission provider for tool access.
Provider,
Dummy.
* liboctools — namespace: OLLMtools. Built-
in tools; registered via Tool and used by
the chat/agent stack.
- ReadFile — Read file contents.
Tool,
Request.
- WriteFile — Write file
contents. Tool,
Request.
- RunCommand — Run shell
commands. Tool,
Request.
- WebFetch — Fetch URLs.
Tool,
Request.
- GoogleSearch — Web search.
Tool,
Config.
- CodebaseSearch — Semantic
codebase search. Tool,
Request.
- HuggingFace — Hugging Face
model search and download. Tool
, Request.
- Child — Child/sub-agent tool.
Tool,
Agent,
Factory.
- EditMode — Edit-in-place
streaming. Tool,
Stream.
- Registry — Tool registration.
* libocfiles — namespace: OLLMfiles. File
and project management: buffers, files, folders, project list, tree-sitter AST paths, diff/patch.
* libollmchatgtk — namespace: OLLMchatGtk
. Chat widget, history browser, tool permission UI, model usage list. Application-facing GTK pieces.
RPC and daemons
* libocrpc — namespace: OLLMrpc. Binary RPC
client and wire types for ollmfilesd (Unix socket / stdio / TCP) and HTTPS JSON APIs. Overview and usage examples on the namespace page.
* ollmfilesd — namespace: OLLMfilesd.
Headless file and semantic-index daemon (RPC over stdio or TCP).
Semantic search
* libocfiles (vector metadata) — namespace:
OLLMfiles.SQT. SQLite vector metadata used by the file daemon and codebase search.
Hugging Face and Ollama web
* libochf — namespace: OLLMhf. Hugging Face
Hub model catalog (search, detail, GGUF download).
* libollamaweb — namespace: OllamaWeb. Live
search and model metadata from ollama.com.
MCP and sandboxing
* libocmcp — namespace: OLLMmcp. MCP (Model
Context Protocol) client: load servers, discover tools, expose as agent tools.
* libocbwrap — namespace: OLLMbwrap.
Bubblewrap overlay and seccomp sandboxing for tool execution.
Markdown parsing and rendering
* libocmarkdown — namespace: Markdown.
Markdown parsing and document model. Used by skills and chat rendering.
* libocmarkdowngtk — namespace: MarkdownGtk
. GTK markdown rendering for the chat UI.
Coding and Skills
* liboccoder — namespace: OLLMcoder. Code-
editor and task/skill layer: skills, tasks, GTK source view. Skill-based task creation, refinement, and execution.
- Skill — Skill definitions, runner,
manager, templates. Runner,
Manager,
Factory,
Definition,
PromptTemplate.
- Task — Task list, details, tool
runs, steps, result parsing. List,
Details,
Tool,
Step,
ResultParser.
- Agent — Coding agent.
AgentFactory — Factory.
SourceView — Code editor widget.
Database
* libocsqlite — namespace: SQ. SQLite wrapper.
Used by libocfiles and vector metadata.
Reference
- Vala — Vala language site (external).
Content:
Packages:
- glib-2.0
- gobject-2.0
- gee-0.8
- gio-2.0
- gio-unix-2.0
- gobject-introspection-1.0
- json-glib-1.0
- libsoup-3.0
- libxml-2.0
- sqlite3
- gtk4
- cairo-gobject
- cairo
- gdk-pixbuf-2.0
- gmodule-2.0
- graphene-gobject-1.0
- pango
- harfbuzz-gobject
- pangocairo
- libadwaita-1
- gtksourceview-5
- webkitgtk-6.0
- javascriptcoregtk-6.0
- atspi-2
- posix
- fiass
- tree-sitter
- seccomp
- linux
- ollmchat