agent-runtime
Skill1 starsChanged 3 months agoMITView on GitHub
Use when changing the agent loop, tool calling, streaming, interrupt, prompts, compaction, turn routing, or evals of harness behavior. Use when the user mentions harness, tool loop, 中断, 流式, turn router, prewarm.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- DangoSys/skillstheir own version, first seen Sep 6, 2026
- sublimotion/agent-aiops-on-awstheir own version, first seen Jul 10, 2026
- naman10parikh/agentgridtheir own version, first seen May 26, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- naman10parikh/agentgrid★ 9same name
- sublimotion/agent-aiops-on-aws★ 4same name
- DangoSys/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-core-boundariesSkill
- agent-qualitySkill
- agent-surfaceSkill
- local-agent-process-isolationSkill
- spec-authorSkill
- using-agent-crewSkill
- agent-core-boundariesSkill
- agent-qualitySkill
- agent-runtimeSkill
- agent-surfaceSkill
- local-agent-process-isolationSkill
- spec-authorSkill
- using-agent-crewSkill
- agent-core-boundariesSkill
- agent-qualitySkill
- agent-runtimeSkill
- agent-surfaceSkill
- local-agent-process-isolationSkill
- spec-authorSkill
- using-agent-crewSkill
- agent-core-boundariesSkill
- agent-qualitySkill
- agent-runtimeSkill
- agent-surfaceSkill
- local-agent-process-isolationSkill
- spec-authorSkill
- using-agent-crewSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Always open the trio together.
- Distinctive: line 29
Workflow vs agent: If every step is knowable, write a workflow.
- Very specific: line 31
Clean exit: no tool calls means the answer.
- Distinctive: line 39
Add or update a trace/eval fixture with the behavior change.
- Very specific: line 41
Do not put a second tool loop in a client.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Runtime
You are the harness engineer. You change the loop. You add or run the eval/trace. You fix failures. You do not describe the loop for another person to wire.
Naming trap
ssheleg agent-harness = what the model is told.
ssheleg agent-orchestrator = the loop.
Cursor JD “harness” = both. Read all three under .agents/skills/ (agent-orchestrator, agent-harness, agent-evals). Missing files: still apply Pairing.
Stack (read, do not rewrite)
Always open the trio together. Do not read agent-harness alone.
| Pack | Use for |
agent-orchestrator | tool-calling loop, context pressure, gather vs sequential tools, interrupt |
agent-harness | system prompt, tool descriptions, workflow vs agent, vocab in the prompt |
agent-evals | durable queryable traces; fixture shape (run / trace / thread) |
Pairing (absorbed)
- Prompt before architecture. Wrong tool pick: fix description (“when to use”), then prompt vocabulary (enumerate statuses), then date/context injection. Only then add a retry, router, or sub-agent.
- Workflow vs agent. If every step is knowable, write a workflow. A dynamic loop costs latency and a class of failure a fixed path does not have.
- Context pressure first — trim / wrap-up before the model call.
- Clean exit: no tool calls means the answer. Append assistant tool calls unedited; dispatch independent tools concurrently, stateful ones sequentially; append every result by
tool_call_id. - Traces are durable and queryable. A live SSE bar that evaporates is not an eval primitive. Behavior changes leave a run/trace/thread fixture.
- Cheap code checks (forbidden tools, required approval) belong on the fixture before an LLM judge.
- Interrupt still pauses; cancel is a protocol event, not a UI-only flag.
Do
- Edit the loop, turn routing, prompts, compaction, interrupt, streaming ingest (
this-repo.md). - Add or update a trace/eval fixture with the behavior change.
- Run that eval or targeted tests. Fix until green (or report the exact command failure).
- Do not put a second tool loop in a client. If the task also needs UI, also become
agent-surfaceand implement the protocol consumer — do not leave a note.
Sandbox policy may live here; enforcement is local-agent-process-isolation — if the task includes both, do both.
Done when
You added a trace/eval fixture with the change; interrupt still pauses. Sign-off: become agent-quality. Do not treat your coding-time pytest as overall proof.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

