Skip to main content

build_oxi_engine

Function build_oxi_engine 

Source
pub fn build_oxi_engine() -> Result<Oxi>
Expand description

This is the new entry point for oxi-cli run modes. It uses oxi-fs adapters and OxiBuilder::with_port_* to construct an Oxi with persistence, auth, config, and skills wired. The legacy App::new path is still used by the interactive TUI during the migration period.

§Example

use oxi::build_oxi_engine;
let oxi = build_oxi_engine()?;
println!("providers: {}", oxi.providers().names().len());