pi-ilo-lang
Pi extension for the ilo programming language: run programs, hold an interactive ilo serv session, and load the ilo skill so the agent knows the syntax.
Package details
Install pi-ilo-lang from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-ilo-lang- Package
pi-ilo-lang- Version
0.12.0- Published
- May 19, 2026
- Downloads
- 1,135/mo · 949/wk
- Author
- ilo-lang
- License
- MIT
- Types
- extension, skill
- Size
- 17.4 KB
- Dependencies
- 0 dependencies · 5 peers
Pi manifest JSON
{
"extensions": [
"./extensions/ilo.ts"
],
"skills": [
"./skills"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-ilo-lang
A Pi extension for the ilo programming language.
Gives the pi coding agent two tools and the ilo skill so it can write ilo code and run it without shelling out.
Install
pi install npm:pi-ilo-lang
The extension calls the ilo binary on PATH. Install it first with the project install script or via npm i -g ilo-lang.
Tools
ilo_run
Run a program. Pass either inline source (code) or a file path (file). Optionally invoke a specific function with func and pass args.
ilo_run({ code: "double n:int >int;*n 2", func: "double", args: ["21"] })
Returns stdout, stderr, and the exit code.
ilo_repl
Hold an interactive ilo serv session. The session auto-closes after 5 minutes of inactivity.
ilo_repl({ command: "start" })
ilo_repl({ command: "send", program: "double n:int >int;*n 2", func: "double", args: ["21"] })
ilo_repl({ command: "stop" })
send writes one JSON request to the running session and returns the matching response line, per the ilo serv protocol.
Skill
Ships the ilo skill at skills/ilo/SKILL.md. Pi loads it automatically so the agent knows the syntax before reaching for the tools.
Configuration
ILO_BINenv var: absolute path to a specificilobinary. Useful when running a development build.
Licence
MIT.