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
| Module | Description |
|---|---|
chat | Message types and session actor for conversation history |
env | Runtime environment: watch-based hot-reload (FuneraEnv, FuneraEnvWatcher) plus reversible effects (effect / dispose, LIFO teardown) |
env_actor | EnvActor — single source of truth owning all env state, mutations, and ToolExecutor |
event_bus | Event buses for streaming tokens, ReAct cycle events, session lifecycle, and tool commands |
provider | Provider abstraction over LLM backends (OpenAI, DeepSeek) |
re_act | The ReAct execution loop, Tool trait and registry, and skill system |
security | Tool/shell policy enforcement, path allowlisting, audit logging, and secure API key storage |
middleware | Pluggable event interception pipeline (Inspector + Mutator) with typestate error channel |