EKOSdocs
Docs / Reference Operate

Plugin API

The traits an extension implements.

Trait Crate Purpose
Observer ekos-observation-sdk name(), async scan(&ScanContext) -> ObservationPackage
CompilerPass ekos-compiler-core name, dependencies, version, cache_inputs, async run(&mut PassContext)
EkosExtension ekos (cli) name, logic_version, observers, recovery_passes, async after_commit, mcp_tools, call_mcp_tool, mcp_tool_is_scoped, commands, command_classes, async run_command, console_pages, workflow_steps, binary, java_decompiler
SqlDialectParser ekos-sql-dialect-sdk name, sqlparser_dialect, preprocess
LlmProvider ekos-recovery model_name, async complete, streaming variant
EmbeddingProvider ekos-recovery embedding backends (Ollama, OpenAI, mock, cached)
KnowledgeReader ekos-ledger every read of the ledger; the runtime, EKL and graph export hold only this, so they cannot write
KnowledgeStore ekos-ledger KnowledgeReader plus the writes (append_*); writers: commit, simulation, the review commands. A new method on either trait needs a read-scope decision in ScopedStore, which a test enforces

All are injected by trait; there is no global mutable state. Guides: Plugin Architecture.