Skip to content
Docs
GitHub

Generic Harness (deprecated)

The default harness, bundling core capabilities for general-purpose agent sessions.

3 min readEdit on GitHub

The Generic harness is deprecated. Existing agents, sessions and child harnesses retain its legacy behavior. Choose Conversation for dialogue, Worker for files, skills and delegation, or Bashkit Worker or Sandbox Worker for a shell. Generic is not an alias for Worker. It configures 25 capabilities. Together they cover file operations, command execution, web access, memory, budgeting, context management, durable tool output, citations, and runtime safeguards.

  • General-purpose assistants
  • Coding and scripting tasks
  • Research workflows
  • Any session where you want a solid set of defaults
PropertyValue
Typegeneric
System PromptInstruction hierarchy only; the agent’s own prompt follows it
Default ModelNone (inherits from agent or organization)
CapabilityWhat it provides
File SystemRead, write, edit, list, grep, stat, and delete files in the session workspace (/workspace)
Bashkit ShellSandboxed bash shell for running commands, scripts, and text processing
Web FetchFetch web content with file download support
StorageKey/value store for general data and encrypted secret storage
SessionAccess session metadata and manage session title
Session SchedulesCreate and manage cron-style schedules that wake the session
AGENTS.mdReads AGENTS.md from workspace and injects project-level instructions
Agent SkillsDiscover and activate skills from /.agents/skills/
Infinity ContextTrims older messages from the live prompt while exposing earlier history via query_history
Auto Tool SearchDefers tool schema loading to reduce prompt size, using the provider’s native tool search where available
Context CompactionAuto-compacts context at 85% budget via cascading strategies
BudgetingBudget awareness in the system prompt and a check_budget tool, which currently returns a placeholder; use the REST budget-check endpoint for detailed status
Self-BudgetPrompt-only guidance for reasoning about a user-requested indicative budget using session usage data
Ask UserAsk the user 1–4 structured questions, or collect a credential, and wait for the answer
Soft ApprovalPrompt-level gate asking permission before a destructive, irreversible, or outward-facing action
Tool Output PersistencePersists full tool output to /.outputs/ before truncation for lossless retrieval
Tool Output DistillationDistills large tool output before it enters the context
Retrieval CitationsClaim-level citations for answers drawn from retrieval feeds
Citation VerificationStamps faithfulness verdicts on citations (deterministic heuristic mode by default)
Parallel Tool CallsPrefers parallel tool calls where the provider supports them
Message MetadataAnnotates messages with timestamps
Human IntentAdds model-authored intent narration to each tool call for UI rendering
BTWEphemeral side-question command for the current session
Tool Loop DetectionDetects repeated tool loops and injects a warning to break them
Error DisclosureShows full provider error detail (detailed mode)

Infinity Context and Context Compaction work together to bound the active context while retaining older history. See Context Compaction for details.