Skip to main content

Crate funera_core

Crate funera_core 

Source
Expand description

§funera-core

Core LLM agent engine providing the ReAct execution loop, message/session management, event buses, a pluggable provider architecture, a tool system, a skill system, a middleware pipeline, and multi-layered security.

§Modules

ModuleDescription
chatMessage types and session actor for conversation history
envShared runtime environment with watch-based hot-reload (FuneraEnv, FuneraEnvWatcher)
env_actorEnvActor — single source of truth owning all env state, mutations, and ToolExecutor
event_busEvent buses for streaming tokens, ReAct cycle events, session lifecycle, and tool commands
providerProvider abstraction over LLM backends (OpenAI, DeepSeek)
re_actThe ReAct execution loop, Tool trait and registry, and skill system
securityTool/shell policy enforcement, path allowlisting, audit logging, and secure API key storage
middlewarePluggable event interception pipeline (Inspector + Mutator) with typestate error channel

Modules§

chat
env
env_actor
event_bus
middleware
Middleware — agent 事件拦截与处理管道
provider
re_act
security