Skip to main content

Crate fluers_runtime

Crate fluers_runtime 

Source
Expand description

§fluers-runtime

The harness layer — Flue’s own contribution on top of the agent core.

This is where the bulk of a faithful port lives:

  • agentdefine_agent / AgentProfile (model + tools + skills + sandbox + instructions), mirroring @flue/runtime’s defineAgent.
  • env — the SessionEnv trait: the filesystem + process abstraction that every sandbox backend implements.
  • sandbox — virtual / local / remote sandbox backends.
  • session — session management, event store, dispatch/invoke.
  • runner — session-aware coordination and persistence after each turn.
  • skillSKILL.md parsing and packaged-skill directories.
  • tool — the built-in tools: read, write, edit, bash, grep, glob (with Flue’s byte/line limits).
  • event — the event stream observers subscribe to.

Re-exports§

pub use agent::define_agent;
pub use agent::Agent;
pub use agent::AgentProfile;
pub use agent::AgentSpec;
pub use env::Limits;
pub use env::SessionEnv;
pub use error::RuntimeError;
pub use error::RuntimeResult;
pub use event::Event;
pub use event::EventBus;
pub use json_file_adapter::JsonFileAdapter;
pub use local_env::LocalSessionEnv;
pub use persistence::PersistenceAdapter;
pub use process_sandbox::Enforcement;
pub use process_sandbox::ExecSandboxContext;
pub use process_sandbox::OnUnavailable;
pub use process_sandbox::ProcessSandbox;
pub use process_sandbox::SandboxPolicy;
pub use process_sandbox::SandboxProfile;
pub use process_sandbox::WrappedCommand;
pub use runner::SessionRunner;
pub use sandbox::local;
pub use sandbox::LocalSandbox;
pub use sandbox::Sandbox;
pub use session::Session;
pub use session::SessionId;
pub use session::SessionState;
pub use session::SessionStore;
pub use skill::Skill;
pub use tool::mvp_tools;

Modules§

agent
Agent definition — define_agent / AgentProfile.
env
The SessionEnv trait — the filesystem + process abstraction.
error
Runtime error types.
event
The event stream.
json_file_adapter
JSON-file persistence adapter.
local_env
The real local-filesystem SessionEnv.
persistence
Persistence adapter contract.
process_sandbox
Process-sandbox backend slot (shape only).
runner
Session-aware agent runner coordination.
sandbox
Sandbox backends.
session
Sessions and the event store.
skill
Skills — SKILL.md loading and packaged-skill directories.
tool
Built-in tools, wired to a real SessionEnv.