File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments