Re-exports§
pub use governance::Governance;pub use governance::GovernanceVerdict;pub use harness::CriterionResult;pub use harness::Harness;pub use harness::HarnessEvent;pub use harness::HarnessOutcome;pub use harness::HarnessRequest;pub use harness::QualityGate;pub use harness_loop::EvalLoopHarness;Deprecated pub use harness_loop::HarnessLoop;pub use harness_loop::SinglePassHarness;pub use harness_loop::VerdictCtx;pub use harness_loop::VerdictFn;pub use knowledge::KnowledgeSource;pub use memory::DreamResult;pub use memory::DreamStore;pub use memory::InMemoryDreamStore;pub use memory::WorkingMemory;pub use providers::RuntimePolicy;pub use providers::anthropic::AnthropicProvider;pub use providers::openai::OpenAIProvider;pub use providers::openai::deepseek;pub use providers::openai::kimi;pub use providers::openai::minimax;pub use providers::openai::ollama;pub use providers::openai::qwen;pub use providers::LLMProvider;pub use providers::ProviderRunState;pub use providers::ProviderToolSpec;pub use providers::StreamEvent;pub use providers::TokenUsage;pub use run_event::RunEvent;pub use runtime::ChainedCredentialVault;pub use runtime::CredentialVault;pub use runtime::EnvCredentialVault;pub use runtime::InMemoryCredentialVault;pub use runtime::ExecutionPlane;pub use runtime::LocalExecutionPlane;pub use runtime::FileSessionLog;pub use runtime::InMemorySessionLog;pub use runtime::SessionEntry;pub use runtime::SessionLog;pub use runtime::replay_provider::ReplayProvider;pub use runtime::replay_provider::ReplayProviderOpts;pub use runtime::replay_fixture::extract_recorded_messages;pub use runtime::replay_fixture::extract_recorded_messages_from_entries;pub use runtime::eval::judge;pub use runtime::eval::build_eval_messages;pub use runtime::eval::parse_verdict;pub use runtime::eval::verdict_output_schema;pub use runtime::eval::Verdict;pub use runtime::McpProxyPlane;pub use runtime::McpServerConfig;pub use runtime::AttentionPolicy;pub use runtime::GovernancePolicy;pub use runtime::MemoryWriteRateLimit;pub use runtime::NativeOsProfile;pub use runtime::OsProfile;pub use runtime::SchedulerBudget;pub use runtime::assert_native_profile;pub use runtime::default_native_governance_policy;pub use runtime::os_profile;pub use runtime::os_profile;pub use runtime::DEFAULT_NATIVE_ATTENTION_POLICY;pub use runtime::MilestoneEvaluationContext;pub use runtime::MilestoneEvaluationHandler;pub use runtime::MilestonePolicy;pub use runtime::RuntimeOptions;pub use runtime::RuntimeRunner;pub use runtime::collect_text;pub use runtime::PermissionRequest;pub use runtime::PermissionRequestHandler;pub use runtime::PermissionResponse;pub use runtime::RunContext;pub use runtime::ToolSuspendHandler;pub use runtime::ToolSuspendRequest;pub use runtime::ProcessSandboxPlane;pub use runtime::SandboxOptions;pub use runtime::RemoteVpcOptions;pub use runtime::RemoteVpcPlane;pub use safety::Permission;pub use safety::PermissionDecision;pub use safety::PermissionManager;pub use safety::PermissionMode;pub use signals::GatewayReceiver;pub use signals::RuntimeSignal;pub use signals::ScheduledPrompt;pub use signals::SignalGateway;pub use signals::SignalSource;pub use tools::RegisteredTool;pub use tools::SafeToolResult;pub use tools::TextToolSession;pub use tools::ToolChunk;pub use tools::ToolEnvelope;pub use tools::ToolEnvelopeFail;pub use tools::ToolEnvelopeOk;pub use tools::ToolSession;pub use tools::ToolStep;pub use tools::execute_tools;pub use tools::fail;pub use tools::ok;pub use tools::read_file_tool;pub use tools::safe_tool;pub use tools::tool_fail;pub use tools::validate_tool_arguments;
Modules§
- governance
- harness
- harness_
loop - knowledge
- memory
- providers
- run_
event - runtime
- Runtime v1 — session event log, execution planes, credential vault, and runner.
- safety
- signals
- tools
Structs§
- Classify
AndAct - A classifier followed by labeled branches, exactly one of which runs.
- Criterion
- Re-export the kernel’s
Criterionso callers don’t need to import fromdeepstrike_core. A single evaluation criterion with optional weight and required flag. - Judge
Match - A pairwise judge assignment carried to the SDK on a tournament judge’s
WorkflowSpawnInfo: the two entrant agent ids whose produced outputs are to be compared. The SDK maps each id back to that entrant’s candidate and asks the judge which is better. - Memory
Metadata - Lightweight memory metadata (kernel stores, SDK provides full content).
- Memory
Policy - Declarative configuration for the kernel’s long-term memory subsystem.
- Memory
Query - Memory query request (kernel → SDK).
- Memory
Retrieval - Memory retrieval response (SDK → kernel).
- Memory
Write Request - Memory write request (SDK → kernel).
- Rendered
Context - Structured render output aligned with LLM API slots.
- Resource
Quota - Opt-in resource limits. An unset field imposes no limit; an unset
ResourceQuota(the default, when [crate::scheduler::state_machine::LoopStateMachine::set_resource_quota] is never called) preserves the pre-M2 behavior of unconditionalAllowfor spawn / memory syscalls. - Workflow
Node - One node in a workflow DAG: a task plus the contract its agent runs under.
- Workflow
Run - The state of one in-flight workflow execution.
- Workflow
Spawn Info - Enough to run one spawned workflow node, carried to the SDK in the
WorkflowBatchSpawnedobservation. Role/isolation/inheritance are canonical snake_case strings (serde names) so the host SDK can rebuild an agent run spec — the kernel generates these specs internally, so this is how the goal reaches the SDK that actually executes the node. - Workflow
Spec - A declarative workflow DAG.
Enums§
- Error
- Memory
Kind - Memory kind (4 types, mirroring Claude Code’s taxonomy).
- Permission
Action - Permission action for a tool.
Functions§
- classify_
and_ act - Build a classify-and-act workflow: a
Planclassifier plus labeledImplementbranches. - fanout_
synthesize - N parallel workers feeding a single synthesize barrier that depends on all of them.
- format_
tool_ error - Error-aware serialization for tool-execution error paths. Replaces
e.to_string()at the sites that hand the model a failure message: - generate_
and_ filter - N parallel generators feeding a single filter/dedupe step that depends on all of them.