Skip to content
View fbratten's full-sized avatar
💭
🧪
💭
🧪

Highlights

  • Pro

Block or report fbratten

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
fbratten/README.md

I build the infrastructure that makes AI agents remember, coordinate, execute safely, and improve.

SPINE 8me Intelligence Engine Book Prototypes Broker Lane Sandbox


The Problem

Most AI agent systems are talented amnesiacs. Brilliant in the moment, blank by the next session. They can't remember what they learned, can't build on what came before, and can't coordinate without a human holding the threads.

I build the systems that fix this.

What I Build

SPINE - Context Engineering Backbone

The central nervous system connecting 270+ projects. Seven tiers of memory, seven pluggable executors, OODA composition, and a grammar inspired by the Rig Veda for temporal knowledge annotation.

Layer What How
Memory 7-tier system (KV -> Scratchpad -> Vector -> Ephemeral -> Episodic -> Deep/pgvector -> Graph) Each tier serves a different temporal need
Orchestration OODA loop + AgenticLoop + Dynamic Routing Agents that observe, orient, decide, act, and reflect
Execution 7 pluggable executors Subagent, MCP Orchestrator, Content Pipeline, Small LLM, Task Router + 2 API executors
Governance Tiered enforcement + Five-Point Protocol + warrant gate Not everything deserves to be remembered
Knowledge EBNF grammar (Rig Veda temporal markers) + DIALECTIC engine Thesis -> antithesis -> synthesis with convergence tracking

The pipeline that edited my book - 74,000 words, five iterations, score 5.6 -> 9.5 - ran on this.

Explore SPINE - 11+ interactive demos

Broker Lane Sandbox - Safe Execution for Agent Workflows

A default-deny execution sandbox for AI agent lanes. It is designed for broker-style workflows where one system owns orchestration and another executes bounded work under policy.

Safety surface What it does
Policy validation Versioned default-deny policy schema before execution
Environment control Scrubbed child environments with secret-deny rules
Process limits Wall-clock timeout, process-tree cleanup, resource limits, output caps
Network posture Offline by default, with explicit allowlist support planned
Model artifacts Blocks model weights and runtime caches from entering git
Integration contract JSON-in / JSON-out CLI seam for orchestrators

The project exists to keep AI-assisted execution separate from orchestration, memory, and verification. It is public, MIT licensed, CI-tested, and hardened with GitHub security settings.

View broker-lane-sandbox on GitHub

Intelligence Engine - Code Knowledge Graphs

AST-driven knowledge graphs over codebases. KuzuDB + hybrid search (BM25 + semantic + graph expansion). 53,000+ entities indexed across 272 projects. 15 MCP tools, 33 REST endpoints, 1,261+ tests.

Explore Intelligence Engine - search, Cypher console, dashboards

MCP Ecosystem - 30+ Servers

Purpose-built Model Context Protocol servers for AI agent workflows.

Category Count Examples
Orchestration 4 SPINE executor adapters, gen-loop scheduler, 8do Ralph Loop
Agent Coordination 4 agentspool messaging, agent-comm relay, session handover
Knowledge & Memory 5 Minna (SQLite+FTS5), mem-system (pgvector), context-glue, observation-workbench
Research 3 research-agent, research-notes, research-log
Content & Creative 4 content-mcp (41 tools), the-musicologist, content-analyzer, content-extractor
Infrastructure 5 mcp-server-checker, security-audit, smart-inventory, backup, manual-generator
Evaluation 2 Evalla (rubric scoring), evaluation-mcp
Browser & Visual 3 browser-mcp (CDP + grid overlay), tachylite (canvas editor), showcase-mcp

3 cloud MCP servers live at adaptivearts.ai/mcp - Evalla, Minna Memory, Agent Comm (Bearer auth, rate limiting, audit trail).

Creative Pipelines

Music Video Creator (19 visual styles, beat-sync, genre presets), flow-musical-creation (12-song AI musical), the-musicologist-mcp (style descriptions, Suno/Udio formatting).

Explore Music Video Creator - 6 interactive demos

Applied Prototype: AI-Assisted Local Newsroom

A working audio-first pipeline for a daily local morning brief in Västra Götaland, Sweden. The system collects approved public sources, deduplicates and ranks stories, generates a neutral Swedish script, runs editorial QA, creates voice and script-anchored captions, and packages the episode for human review.

It is not an autonomous newsroom and it does not scrape copyrighted articles. The point is a repeatable, editorially controlled production loop: AI-assisted, source-aware, and human-reviewed.

StageStatus
Local source collectionWorking: SMHI warnings + Polisen events
Ranking and rundownWorking
Swedish script generationWorking
Editorial QAWorking
Voice and captionsWorking
Video assemblyWorking (separate component)
PublishingPaused / future slice
Conceptual overview of the AI-assisted local newsroom pipeline: collect, rank, script, editorial QA, voice, captions, human review
Ingestion Control Center operator console: source registry telemetry and the is_ingestible() hard policy gate (ingestible / needs manual review / blocked by robots.txt)

This is the commercial direction of Adaptivearts.ai in miniature: practical AI systems that connect automation, editorial judgment, safety gates, and reusable production pipelines.

Case study / showcase page coming later.


Live Showcases & Demos

All self-contained, no API keys needed.

Showcase What Demos
SPINE Framework Multi-agent orchestration, 7-tier memory, OODA loops 11+ interactive demos
8me Learning Platform Loop orchestration curriculum 15 progressive labs
Intelligence Engine Code knowledge graphs, hybrid search Search Picker, Cypher Console
Adaptive MCP Orchestrator Cognitive task dispatcher Architecture demos
Security Audit MCP 5 security scanners, Docker-isolated Stack Detector, Secret Scanner
Music Video Creator 19 visual styles, audio analysis Style Showcase, Beat Effects
agentspool Inter-agent messaging Network Graph, Message Flow, Radar
arbiter MCP Server Validator - protocol compliance, quality, LLM ergonomics Profile Simulator, fix packs, checks
switchcore MCP Meta-Router, smart tool routing Tool cards, architecture
vigil Self-scheduling follow-up server Tools, check types, notifications
spawn Meta-MCP: builds MCP servers from patterns Architecture, scoring, pipeline

The Book: From Blueprint to Application

By Fredrik Bratten & Sasa Popovic

A 90-day journey from first prompt to production AI systems. 12 chapters across 6 parts. Processed by the SPINE pipeline with AI editorial personas - the same infrastructure described above edited the book that describes it.

9 interactive demos included:

Demo What it teaches
Prompt Builder Structured prompt construction
Model Selector Choosing the right model for the task
Token Calculator Understanding token economics
Enterprise Flow Enterprise AI workflow patterns
Injection Detection Prompt injection defense
Few-Shot Builder Few-shot learning patterns
MCP Server Setup Building your first MCP server
Five-Point Protocol Structured execution framework
Security Assessment AI security evaluation

Browse the book site


Adaptivearts.ai

Independent AI research initiative exploring agentic systems, context engineering, and creative AI pipelines.

Recent applied prototype: an AI-assisted local newsroom pipeline for Västra Götaland, combining source collection, editorial QA, Swedish voice generation, captions, and human review.


Background

20+ years in IT operations, systems architecture, cybersecurity, and DevOps. SOC analysis, XDR implementation, high-availability systems for regulated environments (gaming, finance). Founder of Adaptivearts.ai.

Profile Views

Built with SPINE · Adaptivearts.ai

Pinned Loading

  1. 8me 8me Public

    Multi-tiered loop-until-done task execution toolkit: CLI, Claude Code skill, MCP server (Python + TypeScript), and orchestrator client with circuit breaker.

    Python

  2. fbratten fbratten Public

    AI-first automator, agents, dev- and AIOps glue & security scripts

  3. fbratten.github.io fbratten.github.io Public

    GitHub Pages personal landing page built with plain HTML and Tailwind CSS, linking to project showcases and demos.

    HTML

  4. From-Blueprint-to-Application From-Blueprint-to-Application Public

    GitHub Pages showcase site for a prompt engineering book: interactive demos, docs, and pre-release marketing materials.

    HTML

  5. switchcore switchcore Public

    Python MCP server providing discovery, inventory, and context-aware tool routing across MCP ecosystems (12 tools, advisor-only, no proxy).

    Python

  6. vigil vigil Public

    Python MCP server (gen-loop-mcp) for self-scheduling follow-up checks in AI agents - no external cron or gateway required

    Python