Skip to content
Agentmart
Submit a tool

firecracker-agent

Opt-in Firecracker profile only — provision, verify, reset, and destroy Firecracker microVM sub-agents.

Skill by irisworks

IndexedApache-2.0★ 13
Write a review

Chalk Labs

Need help deploying firecracker-agent?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/irisworks-firecracker-agent

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Opt-in Firecracker profile only — provision, verify, reset, and destroy Firecracker microVM sub-agents.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/firecracker-agent

What's inside

Skill name
firecracker-agent
Description
Opt-in Firecracker profile only — provision, verify, reset, and destroy Firecracker microVM sub-agents.
License
Apache-2.0
Instructions
165 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Skill: firecracker-agent

> **Opt-in profile:** this skill only applies to installs using the Firecracker profile (`--firecracker`, needs KVM). Default Docker-only installs have no microVMs — do not use this skill there.

Provision, verify, and manage a Firecracker microVM sub-agent for Iris.

## When to use

Use this skill when asked to:
- Spin up a new isolated VM for public user sessions
- Verify a Firecracker agent is healthy
- Reset a VM to its clean base image
- Troubleshoot a failing microVM

---

## One-time host setup

Run once on the Azure VM (needs KVM, Ddsv5-series or nested-virt enabled):

```bash
# Installs Firecracker + Jailer, downloads kernel, builds rootfs
bash /iris/repo/bootstrap.sh --firecracker
```

Manual steps if you prefer:

```bash
# 1. Check KVM is available
ls /dev/kvm || echo "No KVM — wrong VM size"

# 2. Install Firecracker + Jailer
FC_VERSION="1.7.0"
ARCH=$(uname -m)   # x86_64 or aarch64
curl -Lo /tmp/fc.tgz \
  "https://github.com/firecracker-microvm/firecracker/releases/download/v${FC_VERSION}/firecracker-v${FC_VERSION}-${ARCH}.tgz"
tar -xzf /tmp/fc.tgz -C /tmp
sudo install /tmp/release-v${FC_VERSION}-${ARCH}/firecracker-v${FC_VERSION}-${ARCH} /usr/local/bin/firecracker
sudo install /tmp/release-v${FC_VERSION}-${ARCH}/jailer-v${FC_VERSION}-${ARCH}      /usr/local/bin/jailer

# 3. Create Jailer system user
sudo groupadd -g 10000 irisjailer
sudo useradd -u 10000 -g 10000 -r -s /usr/sbin/nologin irisjailer
sudo usermod -aG kvm $USER

# 4. Download kernel
sudo mkdir -p /var/lib/iris/firecracker
sudo curl -Lo /var/lib/iris/firecracker/vmlinux \
  "https://s3.amazonaws.com/spec.ccfc.min/img/quickstart_guide/${ARCH}/kernels/vmlinux.bin"

# 5. Build rootfs from iris-runtime Docker image
cd /iris/repo/iris-runtime && npm run build && docker build -t iris-runtime:local .
sudo bash /iris/repo/scripts/build-firecracker-rootfs.sh
```

---

## Provision an agent

Add to `terraform/agents.tf`:

```hcl
module "public_sandbox" {
  source       = "./modules/firecracker-agent"
  agent_name   = "public-sandbox"
  slot         = 1          # network: host 172.20.1.1, guest 172.20.1.2
  vcpu_count   = 2
  mem_size_mib = 512
  use_jailer   = true       # production: always true
}
```

Then apply:
```bash
cd /iris/repo/terraform && terraform apply
```

Terraform will:
1. Copy the base rootfs to `/var/lib/iris/firecracker/agents/public-sandbox/rootfs.ext4`
2. Create tap device `vmtap1` with host IP `172.20.1.1`
3. Write VM config JSON
4. Start systemd service `iris-fc-public-sandbox`
5. Wait up to 30s and verify the VM responds at `172.20.1.2:8080/health`

---

## Verify

```bash
# VM service status
systemctl status iris-fc-public-sandbox

# Health check
curl http://172.20.1.2:8080/health        # → {"status":"ok"}

# Run a test command
curl -s -X POST http://172.20.1.2:8080/exec \
  -H 'Content-Type: application/json' \
  -d '{"command":"uname -a","timeout":10}'
```

---

## Connect iris-runtime to the VM

Pass `--sandbox=firecracker:<guest-ip>` when starting iris-runtime:

```bash
node /iris/repo/iris-runtime/dist/main.js \
  --sandbox=firecracker:172.20.1.2 \
  /iris/agents/public-sandbox/data
```

Or update the systemd ExecStart for the agent's own service.

---

## Reset VM between sessions

From irisworks/iris-core, Apache-2.0.

More from irisworks/iris-core

Compare and alternatives

    Featured in

    Signals

    Stars
    13
    Forks
    3
    Open issues
    7
    Last commit (this folder)
    Jul 20, 2026 (3 months ago)
    Last release
    Oct 14, 2026 (16 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    Apache-2.0
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from irisworks

    Done for you

    Rather not set it up yourself?

    Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

    See how we build AI agents →Read the case studies

    Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

    launches shipped
    50+
    launches shipped
    media placements
    500+
    media placements
    founders on every account
    2
    founders on every account

    Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

    Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

    Get firecracker-agent running in your business

    Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

    Goes to the Chalk Labs founders, not the newsletter. Privacy

    Need help deploying firecracker-agent?

    CallGet help
    Cite this page

    firecracker-agent skill. Agent Mart. https://agentmart.dev/skills/irisworks-firecracker-agent (last updated 2026-10-24)