{"id":48486373,"url":"https://github.com/adpena/oac","last_synced_at":"2026-04-07T10:01:28.481Z","repository":{"id":344521409,"uuid":"1181749308","full_name":"adpena/oac","owner":"adpena","description":"Open Agent Capsule — file-first portable agent state (identity, memory, procedures, skills) across Claude Code, Codex, Gemini CLI, OpenClaw, OpenCode, and MCP","archived":false,"fork":false,"pushed_at":"2026-03-15T03:21:29.000Z","size":183,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-15T14:44:24.567Z","etag":null,"topics":["agents","ai","claude-code","codex","gemini","llm","mcp","portable","python","rust","state-management"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adpena.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-14T15:17:21.000Z","updated_at":"2026-03-15T03:21:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/adpena/oac","commit_stats":null,"previous_names":["adpena/oac"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/adpena/oac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adpena%2Foac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adpena%2Foac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adpena%2Foac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adpena%2Foac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adpena","download_url":"https://codeload.github.com/adpena/oac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adpena%2Foac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31508282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents","ai","claude-code","codex","gemini","llm","mcp","portable","python","rust","state-management"],"created_at":"2026-04-07T10:01:24.594Z","updated_at":"2026-04-07T10:01:28.475Z","avatar_url":"https://github.com/adpena.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open Agent Capsule (OAC)\n\n[![CI](https://github.com/adpena/oac/actions/workflows/ci.yml/badge.svg)](https://github.com/adpena/oac/actions/workflows/ci.yml)\n[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)\n[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)\n\nA file-first specification and toolkit for managing agent state as a versioned, portable canonical artifact. Identity, persona, procedures, and memory live in plain files — not trapped in proprietary harness configurations or model-specific blobs.\n\n## System Goals\n\nAs agentic systems become foundational infrastructure, maintaining a verifiable and portable state is a technical requirement. OAC separates the agent's durable intelligence from its specific execution harness.\n\n- **Harness Portability:** Standardized state allows agents to be moved between model providers and execution tools without manual reconfiguration.\n- **Verified State:** Every change to the canonical state must pass structural evaluation gates and be cryptographically signed before promotion.\n- **Context Efficiency:** Targeted record selection reduces data processing costs and improves response accuracy by pruning noise from the context window.\n- **Discovery Surface:** Includes a Model Context Protocol (MCP) server for record discovery and autonomous pipeline management.\n\n## Operational Status\n\nOAC is implemented for the following targets:\n\n- **Codex:** Repository-native instructions.\n- **Claude Code:** High-speed execution and auto-memory.\n- **OpenClaw:** High-fidelity persona and memory.\n- **Gemini CLI:** Multi-surface instructions.\n- **OpenCode:** Generic project surfaces.\n- **MCP / WebMCP:** Discovery and bridge protocols.\n\n## Quick Start\n\n```bash\n# Requires Python 3.11+ and a Rust toolchain\nuv venv \u0026\u0026 source .venv/bin/activate\nuv pip install -e \".[dev]\"\n\noac targets                                    # list supported harnesses\noac validate examples/hello-capsule            # verify a capsule\noac hydrate claude-code examples/hello-capsule ./workspace  # project to Claude Code\n```\n\n## Core Loop\n\n```bash\n# 1. Project the capsule for a target\noac hydrate claude-code examples/hello-capsule ./workspace\n\n# 2. Scan native edits into typed candidates\noac ingest claude-code ./workspace examples/hello-capsule\n\n# 3. Turn candidates into a reviewable proposal\noac propose claude-code ./workspace examples/hello-capsule\n\n# 4. Apply the proposal to the canonical files\noac promote \u003cproposal-path\u003e examples/hello-capsule --apply\n\n# 5. Release a signed snapshot\noac snapshot examples/hello-capsule ./releases --sign-key ~/.ssh/id_ed25519\n```\n\n## Documentation\n\n- [Project Rationale](docs/RATIONALE.md)\n- [Business Case](docs/BUSINESS_CASE.md)\n- [Usage Scenarios](examples/scenarios/README.md)\n- [Normative Specifications](docs/spec/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadpena%2Foac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadpena%2Foac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadpena%2Foac/lists"}