Skip to main content

Module limits

Module limits 

Source
Expand description

Machine-wide limits in $STATE/limits.json: backends caps how many Agent reviews of a backend are in flight at once across every verify that shares the state directory, and agentSessions sets whether Agent conversations are saved and how large their store grows.

{"backends": {"codex": 4, "openai": 16},
 "agentSessions": {"enabled": true, "maxBytes": 1073741824, "targetBytes": 805306368}}

Structs§

AgentSessions
Saving Agent conversations and the size bounds of their store. When the store grows past max_bytes, the oldest sessions are deleted until it is at or below target_bytes.
Limits
Backend names to their machine-wide slot counts; a backend without an entry is unlimited.

Constants§

FILE
SESSIONS_MAX_BYTES
The session store’s default size that starts a collection: 1 GiB.
SESSIONS_TARGET_BYTES
The size a collection brings the session store down to by default: 768 MiB.