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.

examplesopencodeREADME.md

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

Spin up the OpenCode coding agent inside a VM session and prompt it with natural language. Reach for this when you want an autonomous coding agent that can read files, run commands, and follow project conventions — backed by your own Anthropic API key.

How it works

Register the opencode software with agentOS({ software: [opencode] }) so the runtime knows the agent type. The client calls agent.sessions.open({ agent: "opencode", ... }), which infers the default main session, passes ANTHROPIC_API_KEY through env, and then drives the agent with agent.sessions.prompt. The example also shows two extension points: drop a SKILL.md into ~/.config/opencode/skills/ before opening the session and the agent auto-discovers it, and wire in extra tools through native ACP mcpServers. Pre-install any npx MCP server first so install output does not corrupt the stdio handshake.

Run it

npm install
export ANTHROPIC_API_KEY=sk-ant-...
npx tsx server.ts   # starts the registry on http://localhost:6420
npx tsx client.ts   # creates a session and prints the agent's reply

The agent answers your prompt — e.g. listing the files in the working directory.

Source

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

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

Activeupdated yesterday

README badge

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