Skip to content

Commit 496b172

Browse files
jddunnclaude
andcommitted
docs: update README with safety primitives details
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 00b9187 commit 496b172

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,14 @@ for await (const chunk of agent.processRequest({
151151

152152
### Safety & Guardrails
153153
- **Input/output guardrails** — Block, modify, or escalate based on content
154-
- **Cost ceiling** — Per-request token budget enforcement
154+
- **Circuit breaker** — Three-state (closed/open/half-open) wrapper for LLM calls with configurable thresholds
155+
- **Cost guard** — Per-agent session and daily spending caps ($1/session, $5/day defaults)
156+
- **Stuck detection** — Detects repeated outputs, repeated errors, and oscillation patterns
157+
- **Action deduplication** — Hash-based recent action tracking with LRU eviction
158+
- **Tool execution guard** — Per-tool timeout (30s default) with circuit breakers
155159
- **Cross-agent guardrails** — Monitor agent-to-agent interactions
156-
- **Circuit breaker** — Automatic backoff on provider failures
160+
161+
See [`docs/SAFETY_PRIMITIVES.md`](docs/SAFETY_PRIMITIVES.md) for full API reference.
157162

158163
### Structured Output
159164
- **JSON schema validation** — Extract typed data from unstructured text

0 commit comments

Comments
 (0)