Expand description
FleetForge runtime state machine and orchestrator components.
Re-exports§
pub use adapters::AgentRunAction;pub use adapters::AgentRunAdapter;pub use adapters::AgentRunContext;pub use adapters::AgentRunEnvelope;pub use executor::BudgetCtx;pub use executor::DeterministicReplayExecutor;pub use executor::DockerToolExecutor;pub use executor::ExecutorRegistry;pub use executor::FirecrackerToolExecutor;pub use executor::HttpProxyExecutor;pub use executor::LangGraphAgentExecutor;pub use executor::LlmExecutor;pub use executor::ResourceUsage;pub use executor::StepCtx;pub use executor::StepExecutionResult;pub use executor::StepExecutor;pub use executor::ToolRouterExecutor;pub use features::set_trust_mesh_alpha;pub use features::trust_mesh_alpha_enabled;pub use gateway::speech::NoopStt;pub use gateway::speech::NoopTts;pub use gateway::speech::SpeechToText;pub use gateway::speech::TextToSpeech;pub use gateway::anthropic::AnthropicConfig;pub use gateway::anthropic::AnthropicLanguageModel;pub use gateway::openai::OpenAiConfig;pub use gateway::openai::OpenAiLanguageModel;pub use gateway::GatewayRegistry;pub use gateway::LanguageModel;pub use gateway::ToolAdapter;pub use guardrails::OutputGuardPolicy;pub use guardrails::PolicyBundle;pub use guardrails::PromptInjectionFallbackPolicy;pub use memory::InMemoryAdapter;pub use memory::MemoryAdapter;pub use memory::MemoryRecord;pub use memory::VectorMatch;pub use memory::VectorMemoryAdapter;pub use model::ChatMessage;pub use model::ChatRole;pub use model::ContextSource;pub use model::LlmInputs;pub use model::QueuedStep;pub use model::ResponseSchema;pub use model::RunId;pub use model::RunStatus;pub use model::StepId;pub use model::StepSpec;pub use model::StepStatus;pub use model::StepType;pub use model::ToolChoice;pub use model::ToolSpec;pub use policy::enforce_policy;pub use policy::PolicyOutcome;pub use policy::RuntimePolicyPack;pub use replay::DriftTolerance;pub use replay::ReplayExecutor;pub use replay::ReplayOutcome;pub use replay::ReplayStrategy;pub use replay::StepDrift;pub use replay::StepReplay;pub use scheduler::Scheduler;pub use scheduler::SchedulerConfig;
Modules§
- adapters
- Adapter scaffolding for bridging authoring frameworks (LangGraph, AutoGen, CrewAI) into FleetForge’s delivery/policy/replay kernel.
- aibom
- executor
- features
- gateway
- Gateway traits that abstract external language models and tools.
- guardrails
- memory
- model
- otel
- policy
- replay
- Time-travel replay executor for deterministic verification and evals.
- scheduler
Macros§
Structs§
- Allow
AllPolicy - Attestation
- Placeholder attestation envelope attached to trust decisions and replay events.
- Basic
PiiPolicy - Regex-based PII detector and redactor.
- Compiled
Prompt - Result of compiling a prompt reference with variables and context.
- InMemory
Attestation Vault - In-memory attestation vault used for tests and local development.
- Model
Response - Canonical response returned from chat invocations.
- Model
Usage - Provider usage metrics returned by language model adapters.
- Object
Store Attestation Vault - Object store backed attestation vault with a Postgres index.
- Policy
Decision - Policy decision produced by evaluating a policy.
- Policy
Request - Prompt
Compiler - Filesystem-backed prompt registry that compiles reusable packs.
- Regulated
Pack - Schema
Error Detail - Details about a generic schema validation failure.
- Schema
Validation Error - Error returned when validating instances against embedded schemas.
- Step
Spec Error - Error returned when validating step specifications.
- Step
Spec Error Detail - Schema validation failure details.
- Trust
Decision - Outcome of evaluating a policy against a subject.
- Trust
Origin - Describes how the runtime obtained an untrusted or derived value.
- Trusted
- Strongly-typed wrapper for trusted values.
- Untrusted
- Strongly-typed wrapper for untrusted values.
Enums§
- Regulated
Vertical - Regulated verticals supported by the policy pack.
- Trust
- High-level trust classification.
- Trust
Boundary - Boundary within the runtime where trust is assessed.
- Trust
Source - Source system that produced the value.
- Trust
Subject - Identifies what entity an attestation or trust decision covers.
- Trust
Verdict - Placeholder for future detailed policy verdict information.
Constants§
- AGENT_
RUN_ SCHEMA_ JSON - ARTIFACT_
SCHEMA_ JSON - RUN_
EVENT_ SCHEMA_ JSON - RUN_
SCHEMA_ JSON - RUN_
SPEC_ SCHEMA_ JSON - STEP_
SCHEMA_ JSON - Embedded JSON schemas shared across FleetForge surfaces.
- TRUST_
MESH_ ALPHA_ FLAG - Environment flag that gates Trust Mesh alpha capabilities.
Traits§
- Attestation
Vault - Policy
Engine - Prompt
Registry - Registry contract that resolves reusable prompt references into compiled prompts.
Functions§
- bootstrap
- Bootstraps the FleetForge runtime components.
- digest_
bytes - Computes a deterministic SHA256 digest for a byte slice.
- digest_
json - Computes a deterministic SHA256 digest for the supplied JSON value.
- shared_
default_ pack - validate_
agent_ run - Validates an AgentRun adapter envelope.
- validate_
artifact - Validates artifact metadata.
- validate_
run - Validates a stored run record.
- validate_
run_ event - Validates a run event envelope.
- validate_
run_ spec - Validates a run specification instance.
- validate_
step_ spec - Validates a step specification against the FleetForge step schema.