Skip to content

Commit 7c98dda

Browse files
committed
docs: add Why Exists, CLI Tools, How Different sections for SEO + clarity
1 parent b62d9b0 commit 7c98dda

File tree

1 file changed

+40
-8
lines changed

1 file changed

+40
-8
lines changed

README.md

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,35 @@
77

88
Hard execution and budget limits for autonomous agents — enforced locally.
99

10-
Autonomous agents can silently burn thousands of dollars in token spend or enter infinite tool loops. AuthorityLayer enforces hard runtime limits so agents stop the moment a boundary is crossed.
11-
1210
✔ No telemetry
1311
✔ Works fully offline
1412
✔ Fail-closed by default
1513
✔ Zero runtime dependencies
1614

1715
---
1816

17+
## Why AuthorityLayer Exists
18+
19+
Autonomous AI agents can fail in expensive, hard-to-detect ways:
20+
21+
- **Runaway token spend** — a looping agent burns thousands of dollars before anyone notices
22+
- **Infinite tool loops** — agents retry the same failing call indefinitely
23+
- **Retry storms** — cascading failures hammer external APIs with no ceiling
24+
- **Cascading tool call explosions** — one agent spawns sub-calls that spawn more
25+
26+
Most tooling detects these problems after they happen — in dashboards, alerts, or post-run analytics.
27+
28+
AuthorityLayer prevents them inside the runtime, before cost or damage accumulates.
29+
30+
It helps developers:
31+
32+
- prevent runaway LLM costs
33+
- stop infinite agent loops
34+
- limit AI agent tool calls per run and per minute
35+
- enforce runtime safety for autonomous agents
36+
37+
---
38+
1939
## Live Enforcement Demo (10-second example)
2040

2141
![AuthorityLayer enforcement demo](https://raw.githubusercontent.com/032383justin/authority-layer/main/docs/assets/enforcement-demo.svg)
@@ -46,13 +66,12 @@ AuthorityLayer Doctor authority-layer@0.1.2
4666
All checks passed. AuthorityLayer is ready.
4767
```
4868

49-
Try a simulated enforcement run:
69+
## CLI Tools
5070

51-
```bash
52-
npx authority-layer simulate
53-
```
54-
55-
Runs a canned agent loop that intentionally exceeds the budget cap — so you can see AuthorityLayer halt execution and verify the event chain without writing any code.
71+
| Command | What it does |
72+
|---------|-------------|
73+
| `npx authority-layer doctor` | Verify your installation passes all environment checks |
74+
| `npx authority-layer simulate` | Run a live enforcement simulation — see a halt in action without writing any code |
5675

5776
---
5877

@@ -100,6 +119,19 @@ When a primitive breaches, AuthorityLayer throws a typed `EnforcementHalt` error
100119

101120
---
102121

122+
## How AuthorityLayer Is Different
123+
124+
Most AI guardrail tools focus on moderation or observability. AuthorityLayer focuses on **runtime enforcement**.
125+
126+
| Tool type | What it does |
127+
|-----------|-------------|
128+
| Prompt guardrails | Filter or rewrite prompts and outputs |
129+
| Observability platforms | Analyze agent behavior after execution |
130+
| Cost analytics | Track and report token usage |
131+
| **AuthorityLayer** | Enforces hard limits **during** execution — halts immediately when a boundary is crossed |
132+
133+
---
134+
103135
## Documentation
104136

105137
| Topic | File |

0 commit comments

Comments
 (0)