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

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 - Bounded Execution for Agent Workflows

A default-deny execution boundary for AI agent lanes. It separates orchestration from the act of running commands or local models, applying explicit policy, environment scrubbing, resource limits and structured result contracts.

Safety surface What it does
Policy validation Versioned default-deny policy before any process is spawned
Environment control Builds child environments from empty and drops secret-looking variables
Process limits Wall-clock timeout, process-group cleanup, POSIX resource limits and output caps
Network posture Offline by default through environment neutralization and proxy removal
Model boundary Keeps model weights out of git and resolves them from an env-driven runtime cache
Local inference bls infer with llama.cpp-family runners plus a weight-free fake runner for CI
Streaming Additive JSONL transport through bls infer --stream
Integration Stable JSON-in / JSON-out CLI seams for project-broker-loom and other orchestrators

It is a bounded, policy-driven execution layer, not a kernel or container isolation boundary. The project is public, MIT licensed, protected by a required fail-closed CI gate, and independently developed from project-broker-loom.

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.

Personal Side Quest: Music

Not Adaptivearts.ai, not an MCP server, not a context-engineering framework. Just my personal music outlet - occasionally the human also emits audio.

🎧 Spotify artist profile

Profile Views

Built with SPINE · Adaptivearts.ai

Pinned Loading

  1. fbratten fbratten Public

    Infrastructure for AI agents that remember, coordinate, execute safely, and improve.

  2. broker-lane-sandbox broker-lane-sandbox Public

    Default-deny local execution and model-runner boundary for broker workflows, with bounded JSON results, resource controls, model verification and JSONL streaming.

    Python

  3. 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

  4. arbiter arbiter Public

    MCP Server Validator - protocol compliance, quality, and LLM ergonomics

    Python

  5. agentspool agentspool Public

    Python library and MCP server for N-to-N inter-agent communication and coordination, with SQLite-backed message spooling and HTTP relay.

    Python

  6. spawn spawn Public

    Analyze AI agent logs, extract reusable workflow patterns, and generate ready MCP/FastMCP servers.

    Python