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:
agent—define_agent/AgentProfile(model + tools + skills + sandbox + instructions), mirroring@flue/runtime’sdefineAgent.env— theSessionEnvtrait: 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.skill—SKILL.mdparsing 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::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
SessionEnvtrait — 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.mdloading and packaged-skill directories. - tool
- Built-in tools, wired to a real
SessionEnv.