Skip to main content
  1. Documentation/

Why Ogham?

3 mins
Table of Contents

Ogham (pronounced OH-am) is the earliest known Irish writing system, dating to roughly the 4th century. You carved letters as groups of parallel lines, called flesc (twigs), along the edge of a standing stone. That central edge is the druim (ridge).

Irish mythology credits the alphabet to Ogma, the god of eloquence. Ogma, Ogham, same word really, just Old Irish versus the modern spelling. His title was “Honey-Mouthed” (Cermait). He wasn’t a quiet scholar god sitting in a library. He was a champion, the idea being that intellect and strength are two sides of the same coin.

There’s an image from Gaulish mythology (where he’s called Ogmios) that stuck with us: Ogma depicted as an old man leading a crowd of people, attached to him by fine gold chains running from his tongue to their ears. Not force. Persuasion. Gold chains from tongue to ear. If that sounds familiar, look at the hero image on this site. Gold threads connecting standing stones. We didn’t plan that parallel, but it’s there.

The Ogham Tract, a medieval Irish text, says Ogma invented the script as a “proof of his ingenuity” and to give druids and poets a way to communicate and preserve knowledge. The first Ogham message was supposedly carved into birch wood as a warning to the god Lugh. A writing system built for sharing what you know. We liked that.

Every letter in the alphabet is named after a tree. The Irish didn’t see a list of symbols. They saw a forest – a coill. Individual trees rooted in the same ground, knotted together underneath.

We borrowed that idea for the codebase. The terminology isn’t decorative; each term maps to something specific:

Term Pronunciation Original meaning What it means here
Druim drim Ridge, the central line of a stone The shared database (the trunk everything branches from)
Coill kwill A wood, a forest The search space (the vector index and full-text index where hybrid search happens)
Fid fih A single tree, a single letter A single memory – one complete entry with its vector
Feda feh-da Trees, the letters collectively Memories as a collection (the data in the forest)
Coll kull Hazel, the tree of wisdom Knowledge connections (the relationship graph)
Snaidm sna-dim A knot Relationship edges (where two memories are tied together)
Flesc flesk Twigs, the individual strokes Memory operations (each read and write)
Aicme ak-meh Group, a set of five letters Profiles (isolated memory partitions)

The druim is the trunk. The coill is the ground the trees grow in – the indexed search space you navigate when you query. Each fid is a single tree, a single memory. The feda are the trees collectively, everything stored in a profile. Coll is the hazel, the tree of wisdom in Irish tradition; hazelnuts fell into the well of knowledge and were eaten by the salmon. Here it’s the relationship graph – how memories connect to each other. A snaidm is where two branches knot together – an edge in that graph, an entry in memory_relationships. The flesc are the individual strokes carved into the stone, each read and write. The four aicme are grouped by which side of the druim the strokes fall on, so they’re separate groups sharing a common spine. That’s exactly how profiles work.

You don’t need to know any of this to use the tool. store_memory works the same whether or not you can pronounce “aicme.” But if you’ve been reading the source and wondering about the naming, there it is.

Further reading #

  • Ogam, Ogma and Ogmios — the University of Glasgow’s OGHAM in 3D project on the mythology behind the script, including the Ogmios gold chains image
  • BabelStone Ogham Fonts — free Ogham fonts if you want to see what the script actually looks like beyond Unicode