agentcontract v0.0.1: A Portable JSON Permission Layer for AI Coding Agents

agentcontract v0.0.1 is a tiny, MIT-licensed Python library that defines a portable JSON permission layer for AI coding agents. The core idea is a simple JSON contract that specifies which tools, paths, and network actions an agent is allowed to perform, independent of any specific agent runtime.
Key Features
- Permission Contract: A JSON structure that lists allowed/denied tools, allowed/denied file paths, network access control, and tools requiring human approval.
agc gui: A new local browser UI for interactively writing, validating, and saving a contract, plus dry-running a proposed tool call against it.- Portable: The contract can be committed to a repo, code-reviewed like normal config, and reused across different agents/runtimes.
Example Contract
{
"allow_tools": ["read_file", "write_file"],
"deny_tools": ["shell"],
"allow_paths": ["./src/"],
"deny_paths": ["~/.ssh/", "~/.env"],
"allow_network": false,
"require_approval": ["shell"]
}The contract enforces that an agent can only read/write files under ./src/, cannot execute shell commands (unless approved), and has no network access. Blocks access to sensitive paths like ~/.ssh/ and ~/.env.
Instead of trusting each tool's internal permission model, you define a single portable policy that any runtime can check before an action touches files, runs commands, calls APIs, or burns tokens.
Who It's For
Developers building agent tooling or running coding agents against real repos who want a boring, portable, and auditable permission layer.
📖 Read the full source: r/openclaw
👀 See Also

Open-source MCP server enables AI agents to handle L402 payments via Lightning Network
A Python MCP plugin built with FastMCP intercepts HTTP 402 Payment Required responses, pays Lightning Network invoices, and retrieves data for AI agents. The repository includes a local dummy-agent for testing without spending real funds.

Architect CLI: Open-source tool for orchestrating headless AI coding agents in CI/CD
Architect is an open-source CLI tool designed for autonomous AI coding agents in CI/CD pipelines, featuring the Ralph Loop for test-retry cycles, deterministic guardrails, YAML pipeline definitions, and support for multiple LLMs via LiteLLM.

Agent-factory: A Claude Code Plugin for Persistent AI Sub-Agent Teams
Agent-factory is a Claude Code plugin that creates persistent sub-agent teams with distinct personalities and file-based memory. It scaffolds 2-5 agents per project through a conversational interview process, with each agent having specific roles like code review, tech debt tracking, or strategy.

Benchmark Results: 331 GGUF Models Tested on Mac Mini M4 16GB
A benchmark of 331 GGUF models on a Mac Mini M4 with 16GB RAM reveals only 11 Pareto-optimal models, all Mixture-of-Experts architectures. Mixture-of-Experts models dominate performance with median 20.0 tokens/second versus 4.4 for dense models.