Skip to main content

Module agent

Module agent 

Source
Expand description

Agent system for intelligent conversation management

Re-exports§

pub use blocked_handoff::AsyncApprovalArtifacts;
pub use blocked_handoff::BlockedHandoffArtifacts;
pub use blocked_handoff::BlockedHandoffInfo;
pub use blocked_handoff::BlockedHandoffResume;
pub use blocked_handoff::clear_current_blocked_handoff;
pub use blocked_handoff::clear_current_blocked_handoff_for_session;
pub use blocked_handoff::read_current_blocked_handoff;
pub use blocked_handoff::write_blocked_handoff;
pub use blocked_handoff::write_blocked_handoff_with_resume;
pub use bootstrap::AgentComponentBuilder;
pub use bootstrap::AgentComponentSet;
pub use context_reset::ContextResetDecision;
pub use context_reset::ContextResetManifest;
pub use evaluator::DimensionScore;
pub use evaluator::EvaluationResult;
pub use evaluator::EvaluationRubric;
pub use evaluator::ScoringDimension;
pub use evaluator::default_code_rubric_with_hypothesis_revision;
pub use evaluator::hypothesis_revision_dimension;
pub use evaluator::score_hypothesis_revision;
pub use features::FeatureGate;
pub use features::FeatureSet;
pub use features::FeatureStage;
pub use features::OpenResponsesFeature;
pub use handoff::BoundaryItem;
pub use handoff::BoundaryStatus;
pub use handoff::HandoffReceipt;
pub use handoff::HandoffRequest;
pub use hypothesis::MismatchEvidence;
pub use hypothesis::MismatchKind;
pub use hypothesis::append_revision_guidance;
pub use hypothesis::classify_mismatch;
pub use hypothesis::revision_guidance;
pub use orient::OrientationContext;
pub use session_config::ResolvedSessionConfig;
pub use types::*;

Modules§

beliefs
Agent beliefs: a structured store of what the agent “knows” about the user, system, task, and conversation.
blocked_handoff
bootstrap
Component builder and bootstrap utilities for the core agent.
cache_health
Session-level prompt-cache health monitoring.
compaction_checkpoint
Compaction checkpoint: writes compaction summaries to persistent artifacts.
completion
config
context_reset
Context reset logic for long-running harness sessions.
conversation
Helpers for composing agent conversations and bridging provider-specific message formats.
core
Core agent implementation and orchestration
display
error_recovery
evaluator
Structured evaluator with scoring dimensions and hard thresholds.
events
Event recording utilities for the agent runner.
features
handoff
Structured agent handoff protocol (Swarm pattern).
harness_artifacts
harness_kernel
hash_utils
Hash utilities for tool catalog and system prompt caching.
hypothesis
Hypothesis-loop mismatch classification for the agent runloop.
orient
Orient phase for agent sessions.
progress_monitor
Monotonic progress monitoring for long-horizon sessions.
refusal
Provider refusal handling shared by the interactive turn loop and the headless runner.
request_envelope
Immutable, cache-stable request envelope for one harness segment.
request_plan
Harness request plan construction.
result_reducers
Token-efficient tool result reducers.
runner
Agent runner for executing individual agent instances
runtime
session
Centralized agent session state management.
session_config
snapshots
state
steering
task
Task-related data structures shared across the agent runner modules.
task_history
Cross-session task history index for few-shot retrieval.
tool_batching
Tool call batching for parallel execution.
tool_catalog
Tool catalog snapshot for session-scoped tool management.
types