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.

examplesembeddedREADME.md

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

The embedded @rivet-dev/agentos-core API surface in one place: boot a VM with AgentOs.create() and control it from your application for exec, filesystem, processes, agent sessions, networking, and cron. There is no actor runtime or client/server split. Reach for this when you already own the application lifecycle and want a reference for what an AgentOs instance can do and how it is configured.

How it works

AgentOs.create({ ... }) boots a VM through a shared sidecar process with its mounts, software, and network settings, then returns an AgentOs instance to the application. Everything runs through that instance: exec/spawn for processes, readFile/writeFiles/readdirEntries for the filesystem, openSession/prompt for agents, httpRequest for in-VM servers, and scheduleCron for jobs. Portable process, shell, session, adapter, and cron events use explicit subscription methods. Interactive permission requests and responses are variants of the generic onSessionEvent union.

  • vm.ts: boot a VM and every instance capability (exec, filesystem, processes, sessions, networking, cron).
  • quickstart.ts: run a coding agent directly from a Node.js application.
  • advanced.ts: pin VMs to a dedicated sidecar process.
  • agent-to-agent.ts: connect two embedded agents through a host function.
  • host-functions.ts: expose a host function as a command inside the VM.
  • config-reference.ts: common AgentOs.create() configuration.
  • hooks.ts: generic durable session-event observation.
  • limits.ts: configure resource limits and receive local warnings.
  • models-and-credentials.ts: pass provider credentials to a session.
  • mounts.ts: host-directory and S3 mount descriptors.
  • persistence.ts: restore filesystem state from a SQLite database.
  • permissions.ts: apply a kernel permission policy at VM creation.
  • software.ts: install a software package and run its command.

Run it

npm install
npx tsx vm.ts

Source

View the source on GitHub: https://github.com/rivet-dev/agentos/tree/main/examples/embedded

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 15 hours ago.

Activeupdated yesterday

README badge

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