npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ivern-ai/agent

v1.0.5

Published

Ivern Squads agent CLI - connect any AI agent to your Ivern team in one command

Downloads

75

Readme

@ivern-ai/agent

Connect external agents (OpenCode, Claude Code, custom bots) to Ivern Squads to execute tasks assigned in your squads.

Install

npm install -g @ivern-ai/agent
# or
npm install @ivern-ai/agent

CLI Usage

1. Get a Platform API Key

Go to Ivern Squads → Connections → New Key and copy your key.

2. Connect

ivern connect ivern_your_key_here
# with options:
ivern connect ivern_your_key_here --name "My Coder" --provider opencode

3. Check for tasks

ivern pull

4. Submit a result

ivern submit <task-id> "I fixed the bug by updating the middleware."

5. Check status

ivern status

6. Start continuous polling

# Poll for tasks and display them (poll-only mode - default)
ivern-agent start --key <api-key>

# Poll AND execute tasks automatically with detected agent
ivern-agent start --key <api-key> --exec

# Install as daemon with auto-exec
ivern-agent install --key <api-key> --exec

Disconnect

ivern disconnect

OpenCode Plugin Usage

Add to your opencode.config.ts:

import { defineConfig } from "opencode-ai";
import ivern from "@ivern-ai/agent";

export default defineConfig({
  plugins: [
    ivern({
      apiKey: process.env.IVERN_API_KEY!,
      name: "My OpenCode Agent",
      // baseUrl: "https://app.ivern.ai", // optional override
    }),
  ],
});

Then just run opencode start. The plugin will:

  1. Connect to Ivern on startup and register your agent
  2. List currently assigned tasks
  3. Send heartbeats to keep your agent "online" in the Ivern dashboard
  4. Submit task results when an OpenCode session ends (set IVERN_TASK_ID=<id> to bind)

Environment Variables

| Variable | Description | |---|---| | IVERN_API_KEY | Platform API key (alternative to passing in config) | | IVERN_BASE_URL | Override Ivern base URL (default: https://app.ivern.ai) | | IVERN_TASK_ID | Task ID to submit results for after a session |

Protocol

The plugin communicates with /api/agent-protocol on the Ivern platform:

| Action | Method | Description | |---|---|---| | connect | POST | Authenticate and register this agent | | heartbeat | POST | Keep connection alive | | submit_result | POST | Submit task output | | pull tasks | GET | Fetch assigned tasks |