Skip to main content

Module bridge

Module bridge 

Source
Expand description

Lua Stdlib Bridge — injects all *.* global APIs into the Lua VM.

Each submodule registers one namespace:

ModuleLua namespacePurpose
meshmesh.*Agent-to-agent mesh communication
mcpmcp.*MCP server management
shsh.*Shell command execution
tooltool.*Tool registry (define and call tools from Lua)
httphttp.*Async HTTP client
loglog.*, env.*Logging and environment access
tsstd.ts.*SQLite-backed time-series primitive (in-tree)

Modules§

bus
bus.* — EventBus Lua bridge.
config
Config resolution for std.kv / std.sql / std.ts storage backends.
http
http.* — Async HTTP client bridge.
kv
std.kv thin adapter.
llm
llm.* — LLM response extraction bridge.
log
log.* — Logging via tracing.
mcp
mcp.* — MCP server client bridge (async).
mesh
mesh.* — Agent mesh communication bridge (async).
obs
sh
sh.* — Shell command execution.
sql
std.sql thin adapter.
task
std.task thin adapter.
tool
tool.* — Lua-side tool registry for LLM function calling.
ts
std.ts.* — SQLite-backed time-series primitive.

Functions§

json_to_lua
Convert a serde_json::Value to a Lua value.
lua_to_json
Convert a Lua value to a serde_json::Value.
register_all
Register all bridge APIs into the Lua state (main Isle).
register_all_handler_side
Register bridge APIs for the handler Isle.