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, Config1
, Config2,
AvailableModels,
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.
* 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.
Semantic Search
* libocvector — namespace: OLLMvector. Vector search and codebase indexing: embeddings,
FAISS, indexing pipeline, semantic search.
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 libocvector.
Reference
- Vala — Vala language site (external).
Content:
Packages:
- glib-2.0
- gobject-2.0
- gee-0.8
- gio-2.0
- gio-unix-2.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
- libgit2-glib-1.0
- posix
- fiass
- tree-sitter
- ollmchat