Built because AI never learned.
I spent three years building the infrastructure for grāmatr℠. Then I figured out how to make it intelligent.
From digital agency to context engineering pipeline.
Gra Matr
I founded Gra Matr as a digital agency. Brand engagement, digital media strategy, competitive analysis, campaign deployment. Full-service team, same domain you're reading this on right now — gramatr.com, owned continuously since 2007.
The agency did the work that every brand needs and few do well: turning research into strategy and strategy into measurable results.
ChatGPT changes everything
November 2022. ChatGPT launches publicly. I was in it the first week — not casually, deeply. The potential was obvious. So was the problem.
AI was powerful. It was also fundamentally broken. Every session started from zero. Every conversation forgot what came before it. I'd explain my codebase, my preferences, my architecture decisions — and the next morning, the AI had no idea who I was.
Building context infrastructure
Before turnkey RAG systems existed, I was hand-building vector memory. Learning embeddings. Understanding similarity search. Building the infrastructure from scratch because I needed it — not because it was trendy.
I was simultaneously building the NEXT90 cross-media attribution platform with AI agents. Every session reset. The agents forgot the architecture, forgot decisions, forgot preferences. I spent more time re-explaining my own codebase than building new features.
This is when I developed hands-on understanding of the infrastructure that companies like Mem0 would later productize. I know how it works because I built it before they did.
The intelligence breakthrough
By early 2026, I had grāmatr running as a context foundation: knowledge graph, vector search, MCP tools for Claude Code. It worked. But my CLAUDE.md file — the instructions file that tells the AI how I work — had bloated to 40,000 tokens. That's roughly 30,000 words of rules, preferences, and patterns, crammed in because the system couldn't learn them on its own.
Around the same time, I encountered Daniel Miessler's Fabric and PAI projects — open-source work in AI workflow orchestration that confirmed I was on the right track.
In one week — March 21 to 28, 2026 — I built the routing engine. Decision router with trained classification models. Seven effort levels. Twenty-five capability categories. Intelligence packets that replaced the 40,000-token file.
CLAUDE.md collapsed from 40,000 tokens to 1,200. Performance was better at 1,200 than it had been at 40,000.
That wasn't compression. That was a system that had learned.
The product builds the product
November 13, 2025. First commit on grāmatr℠. Within three days, the operating regime changed. Week of November 16: 816 GitHub contributions — the highest single week in the entire dataset. The brain worked.
March 24–31, 2026. The second breakthrough. Patent-pending pre-classification routing came online — and with it, the ability to ship at velocity and discipline at the same time. 607 commits. 1,203 files. 354,489 lines added. 15 production releases shipped through feature branches, pull requests, code review, automated CI/CD, and a single grāmatr skill that handles version bump through Kubernetes rollout.
A conventional product team would take six to ten weeks to ship the same scope. One operator, one week — not because of more hands, but because of less rework, less context-switching, less re-explaining. Months of work in a week. Every commit is on GitHub.
4.5 months from first commit to second breakthrough. The platform you're reading about was built on the platform you're reading about.
Personal. Team. Enterprise.
grāmatr started as an experienced operator's answer to an industry-wide failure mode. It's becoming something much larger.
Personal
Your AI learns your preferences, your patterns, your decision-making style. It carries that intelligence across every AI tool you use — Claude, ChatGPT, Gemini, whatever comes next. One brain, every tool.
Teams
Shared conventions, institutional knowledge that doesn't walk out the door when someone leaves, skills created by one person and deployed by everyone.
Enterprise
Organizational intelligence with governance controls at every level. Admins decide what patterns are shared. Everything else stays private.
The vision isn't another developer tool. It's a context engineering platform — model-agnostic, platform-agnostic, built so your intelligence travels with you no matter which AI tool is best for the job today or next year. Developers, writers, analysts, researchers, operators — anyone whose AI should get smarter the longer they use it.
Brian Handrigan
Thirty-two years in technology. Seven issued patents. Seven companies founded — four of them in data and data-adjacent: grāmatr, NEXT90, Advocado, and Traaqr. Forbes Agency Council member with published thought leadership on cross-media measurement, data strategy, and the intersection of traditional and digital media.
The career arc connects: from discovering that TV ads drove web traffic spikes in 2000 (with no way to measure it), to co-founding Recursive Labs and inventing co-browsing technology (US9256691B2, US10067729B2, US10067730B2), to co-founding Advocado and building cross-media attribution and advertising technology (US12045853B2 for conversion tracking, US11790394B2 for call routing, US11544748B2 for advertising coordination, WO2019083848A1 for website traffic tracking), to building gramatr.
The thread is the same problem at every stage: data exists in silos, context gets lost between systems, and the people doing the work spend too much time re-explaining what should already be known. grāmatr is the latest — and most personal — answer to that problem.
I didn't build grāmatr as a product concept. I built it because my AI tools were wasting my time. Then I used it to ship production systems. Then I realized it should exist for everyone.
grāmatr + NEXT90
grāmatr and NEXT90 are independent entities. Brian co-founded NEXT90 with Randy Cairns in 2022 as an insights and data engine — ClickHouse, DBT, Superset, cross-media attribution.
NEXT90 is grāmatr's first enterprise customer. The entire NEXT90 platform was built using the grāmatr intelligence pipeline before grāmatr had a name. Today, grāmatr's intelligence layer is being integrated into NEXT90's Insights & Data Engine AI — the same routing, learning, and skill capabilities that power Brian's development workflow, applied to cross-media data analysis.
They're not parent and subsidiary. They're affiliated companies with a shared founder and a real integration. NEXT90 is proof that grāmatr works in production — not on a demo, not in a pitch deck, but powering a live enterprise platform.
Standing on shoulders
grāmatr's development was informed by the broader open-source AI ecosystem, including Fabric and PAI (Personal AI Infrastructure) by Daniel Miessler, both released under the MIT License. I discovered these projects through the Network Chuck YouTube channel — they validated patterns I was already building toward.
Credit where it's due. Open source makes this possible. We build on what others share, and we're transparent about our influences.
What's next
Want to understand the intelligence pipeline? See how it works. Want the technical proof? Read the science.
Ready to try it?