← Cenk Akın's projects
Repo

agent-harness: safe long-running LLM agents

@akincenkby Cenk Akın · Independent

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.

Built withPython standard libraryOpenAI-compatible APIOllamamacOS sandboxagentsguardrailsprompt-injectionllm-safetyopen-source
Looking forFeedback

Comments · 0

No comments yet. Tried it? Tell Cenk what worked, what didn't, or what you'd want next.
Sign in to comment

More from members

All projects

See what other members are building and what each project is looking for.