Thinking about making a harness
The ideas of a super harness?

On this page
After using most popular software develop harnesses, i would like to use some features from one harness into another one, or also my own ideas.
Since January, I have been thinking of features ideas for my own use, my workflow and my work style. Basically, features that matter for me.
Prologue / Context
I usually think how to improve (what to add, to change), in a software, an app, a game etc... Or sometimes i like to create my own solutions (scripts or mini-apps), to solve repetitive work.
At the final year of my university, a popular chat bot was released, since that, i always being curios of how exactly AI works, not how to use it or how to integrate into software by an API, i always being interested on how neural networks, embedding etc... the math behind them (and i am bad at math haha).
So i was improving my knowledge by courses, small projects, research papers, self learning basically. So currently i have a "general idea" how AI works, from transformers to the current agentic and orchestration ones.
So at the start of the 2026 year i have been gathering ideas (annoying by sending watsp audios to all my friends), of what ideas features i would like to have in my own harness developing tool.
What ideas?
DAG
I think that a chart, graphic or diagram helps to understand a huge problem. Why?, in my subjective opinion, breaks into multiple small problems, if the problem is "step-by-step" it can help to see the timeline or what problem depends of another. Thats why UML diagram exists or ERD, to visualizes things, concepts or structure into a space.
But does this have any benefit to AI's model? I think yes. So i propose a directed acyclic graph (DAG), a graph where arrow point one way, its commonly used to show task dependencies and run steps in the correct order. So?
My propose is split a task or a goal, into multiple tasks or steps, so the harness can automatize some workflows in a more deterministic way. But then after abstracting a goal, each node should be a task, So the node can populate itself with a "mini-dag", an step of step to complete the node if required.
Multi agent
The concept is not new, an AI coordinates others to work together, making independent decisions and take actions. But what happen if we take an issue for the repo, the planner agent make the DAG, but for each node/task we choose the "best" model agent.
I was thinking how to route, so i choosed slm, but then magically appear the decision models (jev, kev, laya etc). So we should use them, right?
Well i started overthinking what means "best" model for a task, and many factors like speed, cost, intelligence, etc... appear. And after researching a lot, the current decision is layered gates, starting with own harness statistic finishing with an slm.
My propose is store data like a logger of the agent work timeline, but also it needs a correct skill classification of each task. Anyways all the enginers always should change anything in the dag, included the pre-selected model.
Skill classification
So if we want to route each node to the "best" model, these questions appears:
- how do we classify the skills array, a task actually needs?
- how do we measure which model is truly good at it?
My propose is start with deterministic checks (like looking at the files, intent, or code structure), then use embeddings to match known skills (like code_python, test, or review), and only if it is still ambiguous, use a small tie-breaker classifier (like an slm).
And if it still isn't sure?
Just fall back to a safe generalist model.
With "skill tags", we can build a reward system on top of that execution log. like:
did the tests and compiler pass, how much did it cost, how fast was it, and did the dev have to rewrite half of it?
Over time, the harness learns its own stats per skill (and can even discover new sub-skills when a pattern repeats enough).
But then a problem appears, what happens when a new model drops?
A developer should always change the model of a task, devs can trust on benchmarks online (like the amazing team of artificial analysis), but i think the harness can quietly test it in the background on low-risk tasks (shadow runs) and compare the results.
So i designed a "discovery campaign motor".
Taxonomy
So, if the harness classifies tasks into skills and learns stats for each one, where do those skills actually come from?
If i hardcode a huge list of 200 skills, it will never match a real team's codebase.
And if i let an LLM freely invent tags on every run, i think that it turns into chaos really fast.
So my propose is a 3 level skill tree:
- L0 (the roots): 6 fixed core domains (code, test, research, planning, ops, review).
- L1 (what ecosystem): detected from the project itself, like code:python or code:nodejs.
- L2 (some leaves): specialized sub-skills discovered automatically from real run history (like code:python:concurrency or ops:sql:migrations).
Here is the part I spent a lot of my human thinking tokens, about.
The harness shouldn't create a new L2 sub-skill just because some tasks look similar in embeddings.
It only splits a new sub-skill if the data proves that routing it separately actually gives a real advantage (better success rate or lower cost) over just letting one model handle the parent skill.
And it works in reverse too.
If models evolve and that split stops making a real difference, it merges back cleanly instead of letting the tree grow forever.
Even when API prices change, it can re-evaluate those routing decisions without re-clustering everything from scratch.
Sandbox
Okay, so imagine multiple agents running in parallel across the DAG, the problem is what stops them from editing/breaking on each other's files, and even worse, messing up your current branch, or hallucinating and touching your .env or ~/.ssh?
I don't know but, my mindset with AI agents is assuming that, they will hallucinate or get tricked by a prompt injection sooner or later.
So instead of just asking the model to "please be careful, don't make mistakes" hahaha, i isolate everything at the OS level.
Each task should runs inside its own sandbox (like bwrap, containers, or microVMs) with its own separate Git worktree. Why?
Your active branch checkout will not being modified, agents can't touch .git directly, and they never even see raw API keys or sensitive data.
When tasks finish and pass verification scripts, the harness merges them cleanly in memory in the right order. Nothing touches your working tree or becomes a PR branch until you explicitly review and pull it.
Memory
I saw a really cool project called "codebase-memory", and then another good ones like graphify. I thought "omg what cool brain visualization",
Well, i was confused, thats a different kind of solution/topic, but the harness needs persistence.
My idea here is a structured memory layer organized by project domains (scopes), split into two common process:
a cold path
running asynchronously in the background that turns past runs, decisions, and reviews into clean knowledge, and
a hot path
that is deterministic when retrieving context for a task.
One detail that matters a lot is freshness.
Code changes fast, and an outdated memory is worse than no memory. By anchoring memories to the actual code structure, the harness can tell if a note is still valid in the current worktree or if the code underneath changed.
I want to write an entire blog about all my decisions and experiments that i apply here, its the module/sector that I'm most involved in.
A server
Once you have shared memory, a reward logger, and a DAG engine.
Putting the core brain into a server helps a lot, i think.
Everyone shares the same learned memory, central API keys and quotas, and a full Logger Recorder that logs every run, so anything can be audited or replayed later.
And pooling all of a team's AI capacity in one place unlocks one of my favorite ideas:
Emergency Mode.
Imagine production is down or there is an active security incident.
Instead of everyone burning API limits on regular feature work, two admins can approve to pause dev DAGs and route 100% of the workers and quotas straight to the incident,
Starting with read-only diagnostic nodes, then tightly scoped fixes with temporary permissions, and auto-generating a report when it's over.
Evolving
I don't want to reinvent harnesses or get locked into one provider.
So orchestrating existing CLIs is the right choice for me.
These tools change constantly from flags break, outputs shift, workflows get outdated. Or a technology changes inside of a development team.
So First, i got inspired on harness2 from google, that always evolve their scripts, tools and adapters.
Second, add a Meta-Agent that can analyze the Logger Recorder.
So if a CLI breaks mid-run because of a changed flag, it can inspect and self-heal.
Also i think, after runs finish (or on cold path), it can look at failed nodes or things that devs kept fixing manually, replay them in a sandbox to prove an upgrade actually works, and send you the diff to approve.
Nothing should mutate behind your back it just proposes improvements with proof.
Human on the loop
And that brings everything full cycle back to the first idea: the DAG.
So basically i want to work on a visual node canvas.
Then review the plan before it runs, tweak the graph, swap a model, pause a node mid-flight, check live diffs, or drop in a quick steering note. And the entire system still learning.
At the end of the day, the goal isn't "100% autonomous magic". It's building a visual, deterministic workspace where AI handles the heavy lifting and engineers always stay in control with real decisions.
Too long didn't read
These all characters called "tokens", are the result of my researching and testing, based on simple ideas of how to enhance my workflow, so since November 2026 i was refining concepts, deep researching, self learning, and taking architecture decisions of how and why should be build this "harness" (not sure yet, it seems like an AI assisted development suite).
As i said before the module that i'm involved mostly, is memory, why? i said to my friends: "My human context window is overflow", there are so many fields of study and really interesting topics, so since i am interested on inference engineer, i will focus on memory.
This project have these reasons to exist:
- A tool that i want to use by myself, just a hobby, wont be big and professional like claudia.
- A first "take", to understand deeply AI integration.
Random Music
While writing this, i liked,
Blind Spots -> C418
Azure -> succducc
Living Island -> POGO
References
Thanks to these amazing people, to share their investigations or opinions on the web.
Im just recopiling and building concepts like a lego hahah.
- DAG basics → https://www.datacamp.com/es/blog/what-is-a-dag
- AI orchetrators -> https://www.ibm.com/think/topics/ai-agent-orchestration
- Decision models -> https://vercel.com/i/what-are-decision-models
- Agent routing problems -> https://timetobuildbob.com/blog/how-an-agent-routes-itself/
- Skill scoring for agents -> https://pypi.org/project/skill-curator-mcp/
- Multi-armed bandit -> https://learn.microsoft.com/en-us/archive/msdn-magazine/2019/august/test-run-the-ucb1-algorithm-for-multi-armed-bandit-problems
- OpenAI: Designing Failover Across Model Providers -> https://developers.openai.com/blog/designing-failover-across-openai-model-providers
- Hierarchical clustering & auto-discovered taxonomies -> https://en.papernotes.org/ACL2025/llm_nlp/skillverse_tree_eval/#limitations-future-work
- Jensen-Shannon divergence -> https://ui.adsabs.harvard.edu/abs/2014arXiv1406.2661G/abstract and https://en.wikipedia.org/wiki/Jensen%E2%80%93Shannon_divergence#cite_note-23
- Density-based clustering validation -> https://www.researchgate.net/publication/260333211_Density-Based_Clustering_Validation