Skip to content

Commit 92f5460

Browse files
Revise README for clarity and structure
Updated README.md to enhance clarity and formatting, including new sections and improved descriptions.
1 parent 72e5374 commit 92f5460

1 file changed

Lines changed: 79 additions & 67 deletions

File tree

README.md

Lines changed: 79 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,31 @@ Fail-closed orchestration • Tamper-evident audit chains • Zero-trust verific
1111
[![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-brightgreen)]()
1212
[![CI](https://github.com/PAXECT-Interface/open-agentic/actions/workflows/ci.yml/badge.svg)](https://github.com/PAXECT-Interface/open-agentic/actions/workflows/ci.yml)
1313

14-
15-
16-
> Replace `<org>` above with your GitHub user/org once the repo is live.
14+
<!-- Optional later:
15+
[![PyPI](https://img.shields.io/pypi/v/open-agentic.svg)](https://pypi.org/project/open-agentic/)
16+
-->
1717

1818
---
1919

2020
## Overview
2121

22-
Open Agentic 2.0 is a compact framework for verifiable agent execution.
23-
Every action is recorded in an append-only cryptographic audit chain (SHA-256 or HMAC), making each run tamper-evident, reproducible, and auditable.
22+
Open Agentic 2.0 is a compact framework for **verifiable agent execution**.
23+
Every action is recorded in an append-only **cryptographic audit chain** (SHA-256 or HMAC), making each run **tamper-evident, reproducible, and auditable**.
2424

2525
### Motivation
2626

2727
Modern AI apps suffer from instability, corruption, and hallucinations.
28-
Open Agentic introduces a verifiable kernel where each step is evidence-based, policy-constrained, and logged for post-hoc review.
28+
Open Agentic introduces a **verifiable kernel** where each step is evidence-based, policy-constrained, and logged for post-hoc review.
29+
30+
---
31+
32+
## Why Open Agentic?
33+
34+
* **Audit-first:** every step is cryptographically chained and fsync’d for tamper evidence.
35+
* **Fail-closed by design:** if evidence or shape checks fail, the orchestrator abstains.
36+
* **Zero-trust boundaries:** legacy code via subprocess, remote agents via HTTP—always isolated and time-boxed.
37+
* **Minimal surface area:** pure stdlib (PyYAML optional), simple manifests, predictable CLI.
38+
* **Production-friendly:** deterministic bundles (hashes for code/policy/plan), easy key management, complete pytest suite.
2939

3040
---
3141

@@ -42,37 +52,24 @@ Open Agentic introduces a verifiable kernel where each step is evidence-based, p
4252

4353
---
4454

45-
## Comparison to AutoGen
55+
## Getting Started
4656

47-
| Aspect | **Open Agentic 2.0** | **Microsoft AutoGen** |
48-
| --------------- | --------------------------------------------------------- | ------------------------------------------ |
49-
| Audit Chain | Cryptographic chain (SHA-256 or HMAC), fsync per event | Logging only; no cryptographic chaining |
50-
| Fail-Closed | Orchestrator abstains/blocks on uncertainty | Agents continue unless explicitly coded |
51-
| Policy Engine | Allowlist + per-tool budgets + max steps/time (YAML/JSON) | No built-in policy layer |
52-
| Verifier | Evidence required; min_coverage/min_sources; shape checks | No built-in verifier |
53-
| Isolation | Subprocess/HTTP plugins with strict timeouts | In-process agents; optional external tools |
54-
| Dependencies | Python stdlib (+ optional PyYAML) | OpenAI/Azure SDKs; optional MCP/npm |
55-
| Reproducibility | Optional `bundle_<trace>.json` with hashes | Not a core feature |
56-
| License | Apache-2.0 | MIT |
57+
1. **Clone & enter**
5758

58-
---
59+
```bash
60+
git clone https://github.com/PAXECT-Interface/open-agentic.git
61+
cd open-agentic
62+
```
5963

60-
## Installation
64+
2. **Create venv & (optionally) install PyYAML**
6165

6266
```bash
63-
git clone https://github.com/<org>/open-agentic.git
64-
cd open-agentic
6567
python3 -m venv .venv
6668
. .venv/bin/activate
67-
# stdlib-only; PyYAML is optional if you load YAML configs
68-
pip install pyyaml # optional
69+
pip install pyyaml # optional, only if you use YAML configs
6970
```
7071

71-
---
72-
73-
## Quick Start
74-
75-
Run a demo plan:
72+
3. **Run the demo plan**
7673

7774
```bash
7875
python agentic2_micro_plugin.py --plan plan.json --policy policy.yaml --bundle
@@ -85,7 +82,17 @@ pytest -q tests/test_audit_chain_all.py -vv
8582
python tools/list_key_ids.py
8683
```
8784

88-
Example report:
85+
---
86+
87+
## Quick Start
88+
89+
Run the standard demo:
90+
91+
```bash
92+
python agentic2_micro_plugin.py --plan plan.json --policy policy.yaml --bundle
93+
```
94+
95+
Example audit report:
8996

9097
```
9198
=== Audit Chain Report ===
@@ -99,12 +106,12 @@ Run a single tool directly from Python to verify everything is wired:
99106
```bash
100107
python - <<'PY'
101108
from agentic2_micro_plugin import TOOLS
102-
out = TOOLS["echo"]({"msg":"Hello, Open Agentic 2.0!"})
109+
out = TOOLS["echo"]({"msg": "Hello, Open Agentic 2.0!"})
103110
print(out)
104111
PY
105112
```
106113

107-
Expected output (shape may vary slightly):
114+
Expected output (shape may vary):
108115

109116
```python
110117
{'ok': True,
@@ -115,6 +122,23 @@ Expected output (shape may vary slightly):
115122

116123
---
117124

125+
## Comparison to AutoGen
126+
127+
| Aspect | **Open Agentic 2.0** | **Microsoft AutoGen** |
128+
| --------------- | --------------------------------------------------------- | ------------------------------------------ |
129+
| Audit Chain | Cryptographic chain (SHA-256 or HMAC), fsync per event | Logging only; no cryptographic chaining |
130+
| Fail-Closed | Orchestrator abstains/blocks on uncertainty | Agents continue unless explicitly coded |
131+
| Policy Engine | Allowlist + per-tool budgets + max steps/time (YAML/JSON) | No built-in policy layer |
132+
| Verifier | Evidence required; min_coverage/min_sources; shape checks | No built-in verifier |
133+
| Isolation | Subprocess/HTTP plugins with strict timeouts | In-process agents; optional external tools |
134+
| Dependencies | Python stdlib (+ optional PyYAML) | OpenAI/Azure SDKs; optional MCP/npm |
135+
| Reproducibility | Optional `bundle_<trace>.json` with hashes | Not a core feature |
136+
| License | Apache-2.0 | MIT |
137+
138+
> Reference: **[microsoft/autogen](https://github.com/microsoft/autogen)**
139+
140+
---
141+
118142
## Architecture
119143

120144
```
@@ -156,16 +180,16 @@ open-agentic/
156180
* **Zero-trust boundaries**: plugins are isolated via subprocess or HTTP.
157181
* **Deterministic bundles**: optional `bundle_<trace>.json` with plan/policy/code hashes for reproducibility.
158182

159-
> Security notes:
160-
>
161-
> * Never commit real HMAC keys. The `keys/` directory should be git-ignored.
162-
> * Prefer ephemeral keys for local testing; distribute production keys out-of-band.
183+
**Security notes**
184+
185+
* Never commit real HMAC keys. The `keys/` directory should be git-ignored.
186+
* Prefer ephemeral keys for local testing; distribute production keys out-of-band.
163187

164188
---
165189

166190
## CLI Reference (micro)
167191

168-
```
192+
```bash
169193
python agentic2_micro_plugin.py \
170194
--plan plan.json \
171195
--policy policy.yaml \
@@ -211,42 +235,35 @@ Key tests:
211235

212236
---
213237

214-
## Example Audit Event (truncated)
215-
216-
```json
217-
{
218-
"ts": 1762886368.792943,
219-
"trace": "34997dfe-594e-4112-a7b8-5290c80a1d6e",
220-
"type": "success",
221-
"details": {
222-
"task": "meta",
223-
"result": "{\"extracted\":\"dummy content from https://example.org/doc\"}",
224-
"evidence": {"coverage": 0.85, "sources": ["meta_stub", "crawler"]}
225-
},
226-
"prev": "",
227-
"key_id": "b16de09ae524",
228-
"chain": "55af0c3fde94379f3d6a3f530c96ee76…"
229-
}
230-
```
238+
## Demos & Screenshots
239+
240+
* **Asciinema demo (coming soon)** — visualize a run and the resulting audit chain.
241+
* **Screenshots (coming soon)** — quick overview of audit reports and CI status.
242+
243+
---
244+
245+
## Changelog
246+
247+
See **[CHANGELOG.md](CHANGELOG.md)** for what’s new in v2.0 and subsequent releases.
231248

232249
---
233250

234251
## Contributing
235252

236-
Interested in contributing? See **[CONTRIBUTING.md](CONTRIBUTING.md)** for guidelines on how to get started.
253+
Interested in contributing? See **[CONTRIBUTING.md](CONTRIBUTING.md)** for guidelines.
237254
We welcome contributions of all kinds: bug fixes, new features, tests, examples, and documentation improvements.
238255

239-
* Open an issue for proposals and bugs: **[GitHub Issues](https://github.com/<org>/open-agentic/issues)**
240-
* Join the discussion: **[GitHub Discussions](https://github.com/<org>/open-agentic/discussions)**
241-
* Real-time chat (community-run): **[Discord](https://discord.gg/<invite-code>)**
242-
* News & updates: **[Project blog](https://open-agentic.org/blog)** or **[Announcements](https://github.com/<org>/open-agentic/discussions/categories/announcements)**
256+
* Issues: **[GitHub Issues](https://github.com/PAXECT-Interface/open-agentic/issues)**
257+
* Discussions: **[GitHub Discussions](https://github.com/PAXECT-Interface/open-agentic/discussions)**
258+
* Community chat: **Discord (coming soon)**
259+
* News & updates: **Project blog (coming soon)**
243260

244261
---
245262

246263
## FAQ
247264

248265
Have questions? Check the **[FAQ](FAQ.md)** for answers to common topics (auditing, HMAC keys, plugin manifests, evidence thresholds).
249-
If you don’t find what you’re looking for, feel free to open a discussion or reach out on Discord.
266+
If you don’t find what you’re looking for, feel free to open a discussion.
250267

251268
---
252269

@@ -257,22 +274,17 @@ Unless otherwise noted:
257274
* **Code** in this repository is licensed under the **Apache License, Version 2.0**. See **[LICENSE](LICENSE)**.
258275
* **Documentation** (README, guides, FAQs) is also provided under **Apache-2.0**, unless a file header states a different license.
259276

260-
**Trademarks.**
261-
“Open Agentic” and any associated logos are names used by the community project. The licenses for this project do **not** grant rights to use project names, logos, or trademarks. Please follow applicable trademark guidelines of the respective owners. If you want to reference the project, use plain text attribution and link to the repo.
277+
**Trademarks.** “Open Agentic” and any associated logos are names used by the community project. The licenses for this project do **not** grant rights to use project names, logos, or trademarks. Please follow applicable trademark guidelines of the respective owners. If you want to reference the project, use plain text attribution and link to the repo.
262278

263-
**Privacy.**
264-
This open-source project does not collect personal data by default. If you deploy services (e.g., web endpoints, telemetry, error reporting), provide your own privacy notice and comply with applicable laws and policies.
279+
**Privacy.** This open-source project does not collect personal data by default. If you deploy services (e.g., web endpoints, telemetry, error reporting), provide your own privacy notice and comply with applicable laws and policies.
265280

266-
**Reservation of Rights.**
267-
Contributors reserve all other rights not expressly granted under the applicable licenses.
281+
**Reservation of Rights.** Contributors reserve all other rights not expressly granted under the applicable licenses.
268282

269283
---
270284

271285
*Looking to extend or embed Open Agentic in production? See the “Security & Audit” section for guidance on HMAC key management, fsync policies, and chain validation.*
272286

273287
2025 PAXECT — Open Agentic Project
274288

275-
---
276-
277289

278290

0 commit comments

Comments
 (0)