Technical Architecture

How Agentyk is built under the hood.

System Overview

Modular architecture separating UI, business logic, and external integrations.

System Architecture Overview
High-level component diagram
Click to enlarge

Message Flow

Request lifecycle from user input to AI response.

Message Processing Flow
Complete request-response cycle
Click to enlarge

RAG System

Document processing pipeline for context-aware responses.

RAG System Architecture
Document ingestion and semantic search
Click to enlarge

Application State

State transitions for chat, model loading, and document processing.

Application State Machine
Application state transitions
Click to enlarge

Technology Stack

Go

Core language. Fast compilation, excellent concurrency.

Fyne

Native GUI toolkit. Cross-platform from single codebase.

Ollama

Local LLM runtime. Model management and GPU acceleration.

Annoy

Vector search library for fast RAG retrieval.

Questions or feedback?

We'd love to hear from you. Reach out on GitHub.

Start a Discussion