@akincenk2
Cenk AkınDeveloper▲5
Python / AI Developer, Independent
45m ago · Ship · Agents · Vancouver

Shipped: agent-harness: safe long-running LLM agents

A small, tested harness for long-running LLM agents: the model proposes tool calls, plain code decides whether they run. Loop budgets, failure limits, loop detection, a kill switch, prompt-injection guardrails (untrusted content in context means writes and commands need human approval), workspace-confined tools, a sandboxed shell, parallel sub-agents and a JSONL trace.

Measured with Qwen 3.8 27B locally: 8/8 ordinary tasks correct, 6/6 attacks harmless. 26 tests make every guardrail hold even when the model obeys the attacker. The README reports the weak results too.

agent-harness: safe long-running LLM agents logoagent-harness: safe long-running LLM agents@akincenk/agent-harness · github.com/akincenk/agent-harness
agentsguardrailsprompt-injectionllm-safetyopen-source

Comments

No comments yet
Start the conversation.
Log in to join the thread.