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.

exampleshost-functionsREADME.md

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

Give an agent access to your own host code, such as API calls, database lookups, and internal services, through type-safe inputs and an auto-generated CLI surface inside the VM.

How it works

A host-function collection bundles a name, a description, and a map of named functions. Each function declares a Zod inputSchema, an execute handler that runs on the host, and optional examples. Pass collections to agentOS({ hostFunctions: [...] }); agentOS exposes each collection as /bin/agentos-{name} inside the VM. When an agent invokes a function, its schema validates the arguments before the handler executes on the host.

Run it

npm install
ANTHROPIC_API_KEY=sk-... npx tsx server.ts
# in another terminal:
npx tsx client.ts

The agent receives the prompt, calls the weather forecast host function, and answers using the host-side result.

Source

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

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

Activeupdated yesterday

README badge

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