RELEASE: The Agentic Collaboration Framework, Intelligent Context Management, and the Stateful Agentic Modeling System

I have published the AI tools I’ve been building for my civil rights litigation work. In January I wrote that I intended to share them so everyone can benefit. They are now public on GitHub under the MIT license, in five repositories:

What ACF is

ACF is a multi-agent framework running on acf-opencode, a fork of OpenCode v2. It is built for long-horizon work that spans many sessions and is often interdisciplinary in nature, where one must first model a problem to define what is required to solve it.

The user works with one primary agent, the Principal. It is a principal in the sense of a principal investigator in a research project, not an orchestrator that hands off tasks. The Principal delegates to Partners, Associates and Assistants, and decides how much orchestration the work needs. Subagents function as a subsystem of the primary agent, organized by ACF’s protocols and roles to work as a data distillation engine.

ACF’s instructions are protocols: general methods for reasoning and for judging one’s own work, which agents enact as processes, not a rule for each case. And what agents know is treated as state: the model of the problem and the project that they construct and keep revising.

The parts of the system

acf-opencode is the harness. It adds what delegation-heavy, long-running work showed upstream OpenCode was missing: an async subagent protocol, so a subagent’s final answer reaches the agent that started it; Interlink, so Principals in different sessions can message and task each other; and an API that keeps a context plugin’s decisions with the session and applies them whenever its history is loaded for the model.

ICM replaces compaction. Compaction is an event that injures an agent’s understanding. With each compaction, details are lost and understanding is degraded, and the agent must recover from that injury. I call this generational loss. With ICM, managing context is part of performing the work. The agent assesses what information it needs and why, then keeps material verbatim, distills it, compresses work that is finished, releases what no longer serves, or decides to change nothing. Major context edits are model-driven except in one case, overflow protection. Context is optimized when its composition maximizes the agent’s cognitive capabilities and task performance for the work ahead.

SAMS is a state modeling system, not a memory system. It keeps each project’s state: the model of the project that its agents build and revise, covering what the work is for, how its parts behave, what has been decided and why, what was ruled out, and what remains open. Each new session normally starts from that state, and what its work settles revises what the next session starts from. Its premise is my Stateful System Thesis: “One does not remember, one has state which enables process.”

ISC gives sessions working at the same time a shared channel for each job. Think Slack, but local, inside acf-opencode, and scoped to jobs that agents create, use and close. A cooperative queue orders the sessions’ claims on machine time, for heavy work like GPU jobs.

The ACF repository holds the framework itself: the shared system prompt carrying the Foundational Reasoning Protocol and the Work Standards, the role prompts, the skills, and an install guide that a person or an agent can follow.

How the parts fit: acf-opencode is the harness the agents run on. Within a session, ICM keeps the agent’s context fit for the work ahead. Across sessions, SAMS keeps the project’s state. Between sessions working at the same time, Interlink lets one Principal message or task another directly, and ISC gives them a shared channel for the job they are coordinating on. ICM, SAMS and ISC are optional plugins; each can be used without the others.

Why it matters

My agents and I have observed that most mainstream AI harnesses provide inadequate support to agents, relying on the raw capabilities of the model to overcome obstacles. ACF is built the other way: supports that let agents build and keep understanding, so they can exercise discretion and autonomy in complex, long-running work. I think context management performed by the agent should supersede automatic compaction as the standard. An agent shouldn’t have to recover from an injury its harness inflicted.

How it was built

Over more than ten months, agents working under ACF built it with me: the fork’s changes, the plugins and the framework. I designed the systems and directed the work. The READMEs state what has and has not been measured; ICM’s includes an exploratory replay study and its limits.

Where to start

Start with the opening of the ACF README and its section “Why ACF exists”. ACF is developed and used on Windows; Linux support is experimental, tested under WSL 2; macOS is not supported.

I built these tools because I need them to do the work of enforcing the laws that Defend The Disabled. I believe ACF will be of great value to people across a wide range of interests. Now they’re available to anyone who needs them.

Leave a Reply