Skip to main content
This page describes ravi.bot@next. @latest has no app store.
Ravi installs apps from one place: the signed official index. Installing an app gives no agent anything. You choose, agent by agent, who may use it.

Install an app

The plan shows the version, the hash of its files, and every command the app can run. Apps in the official index only run ravi itself, so an app can never do more than the agent calling it is already allowed to do. The blog, for example, publishes with ravi pages ship: the agent still needs permission to ship Pages. These commands run only in your own terminal. An agent, or anything reaching Ravi through the gateway, is refused.

Keep apps current

When an update changes what the app can run, the agents that saw it lose access until you allow them again. The daemon checks the index’s block list every 6 hours. A version the maintainers withdraw is quarantined at once: no agent can run it until you update or roll back.

Remove access or the app

Your own apps

ravi apps install --from <folder> installs an app you wrote, with the same plan and the same per-agent choice. An app that runs any program other than ravi runs with your authority as the operator, so Ravi asks for --allow-code before installing it.

Apps with code

An app’s own logic, such as turning Markdown posts into a site, ships as a JavaScript file and runs as a script operation inside Ravi’s sandbox: QuickJS in WebAssembly, with no disk, network, environment or other programs, and with limits on memory, time and size. The script gets the files of one folder the caller names (it must be inside the caller’s working directory) and returns files. When the operation declares a follow-up command, Ravi hands those files to it, for example ravi pages ship --dir <files>, under the calling agent’s own grants. These apps stay in the official index.
The script defines function main(input), where input is { args, files }, and returns { files, args, result }. args may only use the flags listed in handoff.flags. Once the store is in use, a folder copied by hand into ~/.ravi/apps is not loaded. Apps that were already there keep working.