From b4a0014dd22f2f694d0e002808d43a11f3f95166 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Wed, 22 Apr 2026 11:16:35 +0200 Subject: [PATCH] doc: hand-crafted architecture diagram Replace Mermaid-generated SVG with hand-written SVG to avoid font metric clipping. Shows core as foundation, olliesrv as the 9P layer, and front-ends/scripts/pipelines as consumers. --- doc/ARCHITECTURE.md | 2 +- doc/architecture.svg | 113 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 113 insertions(+), 2 deletions(-) diff --git a/doc/ARCHITECTURE.md b/doc/ARCHITECTURE.md index de6bd80..8304191 100644 --- a/doc/ARCHITECTURE.md +++ b/doc/ARCHITECTURE.md @@ -6,7 +6,7 @@ ollie is a small, extensible core library for building agentic systems. It has n ## Overview -![ollie architecture](architecture.svg?v=2) +![ollie architecture](architecture.svg?v=5) ## Package Layout diff --git a/doc/architecture.svg b/doc/architecture.svg index 8ec867f..9711768 100644 --- a/doc/architecture.svg +++ b/doc/architecture.svg @@ -1 +1,112 @@ -

core — Go library

olliesrv — 9P server

imports

invokes

HTTP

file I/O

Front-ends

ollie-tui

ellie

s/sh

custom

9P filesystem

Stores

Scripts

agent.Core

execute_code

backend.Backend

tools.Dispatcher

Tool scripts

LLM providers

\ No newline at end of file + + + + + + + + + + + core (Go library) + + + agent.Core + + + Stores + + + tools.Dispatcher + + + backend.Backend + + + execute_code + + + + + + + + + olliesrv (9P server) + + + 9P filesystem + + + + imports + + + + consumes + + + + + + Front-ends + (ollie-tui, ellie, s/sh, custom) + + + + file I/O + + + + Scripts + (s/sh, b/sched, b/q) + + + + Pipelines + b/q | b/q | ... + + + + compose + + + + + + + Tool scripts (t/) + file_read, subagent_spawn, ... + + + + Inline code + bash, python3, perl, lua, ... + + + + runs + + + + + + + LLM + providers + + + + HTTP +