Conjure.Backend.Local (Conjure v0.1.1-alpha)

View Source

Backend for local execution of skills.

Executes skill tool calls directly on the host system using bash commands. Uses Conjure.Executor.Local for command execution and Conjure.Conversation for the tool-use loop.

Usage

{:ok, skills} = Conjure.load("priv/skills")
session = Conjure.Backend.Local.new_session(skills, [])

{:ok, response, session} = Conjure.Backend.Local.chat(
  session,
  "Read the config file",
  &api_callback/1,
  []
)

Options

  • :working_directory - Working directory for file operations
  • :timeout - Execution timeout in milliseconds (default: 30_000)
  • :max_iterations - Maximum tool-use iterations (default: 25)
  • :executor_config - Additional executor configuration

See Also