All skills
rivet-dev avatar

/rivet-agentos

@6bead6f official
by Rivetrivet-dev/skills31 stars
8

agentOS: A computer for every agent.

Use this Skill: https://skilld.dev/gh/rivet-dev/skills/rivet-agentos

This session only. Nothing lands on disk.

examplesfilesystemREADME.md

≈411 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Every VM gets an isolated virtual filesystem (VFS) that you drive from the host. Reach for this when you need to seed files into a VM, read results back out, or expose external storage to the guest without leaking the host disk.

How it works

The host client exposes file APIs directly on a VM handle — writeFile/readFile for single files, writeFiles/readFiles for batches, plus mkdir, readdir, readdirRecursive, stat, exists, move, and remove. Bytes you write land in the kernel's in-memory VFS, which the guest sees through the normal node:fs API; the real host disk is never exposed, so a path that exists in the VFS does not exist on the host.

To bridge in external storage, declare mounts on agentOS({ ... }). Each mount maps a guest path to a plugin: memory for scratch space, host_dir for a host directory (optionally readOnly), s3 for a bucket/prefix, or google_drive for a Drive folder. The guest reads and writes those paths like any other directory.

Run it

npm install
npx tsx server.ts          # start the VM host
npx tsx operations.ts      # in another shell: exercise the file APIs

operations.ts writes, reads, lists, moves, and deletes files; isolation.ts shows the VFS is sealed from the host disk; the mount-*.ts servers swap in different storage backends.

Source

View the source on GitHub: https://github.com/rivet-dev/agent-os/tree/main/examples/filesystem

Source: SKILL.md on GitHub

1 warningtoday3 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    This skill is a comprehensive collection of developer documentation and code examples for the agentOS platform. It demonstrates core features such as virtual machine isolation, process management, and host-to-guest function calls. While it includes examples of command execution and external tool installation, these are standard development practices intended for instructional use within the platform's security boundaries.

  • Sockettoday

    12 alerts: gptAnomaly

  • Snyktoday

    Risk: LOW · No issues

Signed by skilld at 6bead6f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 17 hours ago.

Activeupdated yesterday

README badge

README badge for rivet-dev/skills/rivet-agentos