Skip to main content

Agent settings

Everything OmniCoreAgent(agent_config={...}) takes. Each description is the comment above the setting in the code.

Defaults in full

memory_config

How much of a session’s earlier history a new run is given. mode “sliding_window” keeps the last value messages; “token_budget” keeps the latest messages that fit in value tokens. The default (10,000 messages) gives the whole history in practice, and context_management keeps each model call under its token budget. summary.enabled replaces what falls out of the window with a summary; summary.retention_policy is whether the summarized messages stay in the store (“keep”) or are deleted (“delete”).

privacy_config

Personal data (email, phone, SSN, card numbers) redacted per boundary. By default only the record (telemetry and its exports) is redacted; the model, memory, files, stream and answer see the real data. redact_public covers everything returned to the application: run()‘s answer and errors, and OmniServe’s responses.

context_management

Keeps what one model call is sent under a budget, within a run: in mode “token_budget”, value is tokens (100,000); in “sliding_window”, it is messages. Past threshold_percent of it, older messages are truncated or summarized (strategy), keeping the preserve_recent latest. memory_config decides the history a run starts from; this keeps the run itself in bounds as it grows.

tool_offload

A tool result over the thresholds is saved to the workspace, and the model gets a preview and an artifact it can read in full.

governance_config

The policy (a profile, a policy, or a policy file), budgets, the sandbox provider and its manifest, and how unanswered approvals are handled. On by default with the permissive-dev profile; {“enabled”: False} turns it off, and is refused alongside a policy, profile or budgets it would drop. Enabling it without a profile means interactive-dev.