You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sarr-io edited this page Sep 14, 2026
·
12 revisions
Portable Agents
Portable Agents compiles Lua and Markdown into an Image and invokes one entry
module in an isolated Lua 5.5 runtime. An Agent owns that Image, its HTTP
client, and per-state limits.
Only byte strings cross package, Eval, Import, and embedder boundaries. The
package owns the meaning of input and config; Portable Agents does not parse
either.
Model
Image: compiled .lua and .md modules.
Agent: an Image plus its entry module, client, and limits.
Entry: a callable table with direct callable members.
Eval: fresh restricted Lua states with selected entry members as self.
Import: another configured Agent exposed by name.
Host: trusted filesystem, HTTP, and process operations.