LemonGateway (lemon_gateway v0.1.0)
View SourcePublic API for submitting execution commands to the Lemon Gateway.
The gateway orchestrates AI agent runs across multiple transport channels (Telegram, Discord, Email, XMTP, Webhooks) and engine backends (Lemon, Claude, Codex, Opencode, Pi).
Usage
command = %LemonCore.ExecutionCommand{
run_id: "run_123",
prompt: "Fix the failing test",
engine_id: "lemon",
session_key: "telegram:12345",
conversation_key: {:session, "telegram:12345"}
}
LemonGateway.submit(command)
Summary
Functions
Submits an execution command for execution.
Functions
@spec submit(LemonCore.ExecutionCommand.t()) :: :ok
Submits an execution command for execution.
The request is routed through the scheduler, which handles concurrency limiting per conversation key.