Skip to content

engine

Engine owns core composition and command execution boundary.

Language: rust

Path: crates/engine

Owns:

  • core API entrypoint
  • in-memory core composition
  • shared store bundle wiring
  • model, profile, and skill catalog helpers

Must Not:

  • own product transport details
  • own persistence
  • duplicate module logic

Inputs:

  • core modules
  • user chat turns
  • task run requests
  • tool calls
  • model/profile/skill updates
  • core snapshots

Outputs:

  • composed core outputs
  • command responses from proto
  • core snapshots

Depends On:

  • agent
  • auth
  • chat
  • event
  • model
  • run
  • skill
  • store
  • tool

Verify:

  • cargo check -p engine