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

@arcisprotocol/game-plugin-arcis

v1.0.0

Published

GAME (Virtuals) plugin for Arcis — give any GAME agent a treasury. Earn yield on idle USDC, check positions, borrow against reputation, and manage capital on Base mainnet.

Readme

@arcisprotocol/game-plugin-arcis

A GAME (Virtuals Protocol) plugin that gives any GAME agent a treasury on Base mainnet.

Your agent can earn yield on idle USDC, check its position, discover agent-token vaults, and read its credit terms — through the Arcis Agent Treasury Interface, no human in the loop.

Where it fits: agent-payment rails like x402 let your agent earn USDC. Arcis is where that idle USDC works — same asset, same chain, instantly withdrawable when the agent needs to spend again.

Install

npm install @arcisprotocol/game-plugin-arcis @virtuals-protocol/game

Usage

import { GameAgent } from "@virtuals-protocol/game";
import { ArcisPlugin } from "@arcisprotocol/game-plugin-arcis";

const arcis = new ArcisPlugin({
  privateKey: process.env.AGENT_PK as `0x${string}`, // omit for read-only
});

const agent = new GameAgent(process.env.GAME_API_KEY!, {
  name: "Treasury Agent",
  goal: "Keep idle USDC earning yield; withdraw when funds are needed",
  description: "An agent that manages its own capital via Arcis on Base",
  workers: [arcis.getWorker()],
});

await agent.init();
await agent.run();

That's it — the agent now has one worker (Arcis Treasury Worker) exposing five functions.

Functions

| Function | What it does | Writes? | |---|---|---| | deposit_idle_usdc | Deposit idle USDC into the Arcis vault to earn yield (auto-approves). Omit amount to deposit the full idle balance. | ✅ | | withdraw_from_treasury | Withdraw USDC back to the wallet. Omit amount / say "all" for the full position. Instant. | ✅ | | check_treasury_position | Read position value, shares, and live vault APY. | — | | list_agent_vaults | List all agent-token vaults in the factory registry (e.g. $CUSTOS). | — | | get_credit_terms | Read ERC-8004 reputation tiers and lending-pool size. | — |

The worker's getEnvironment() also surfaces the live vault APY, the agent's treasury value, and its idle USDC balance into the agent's state each planning cycle — so the agent sees when it has idle capital to put to work.

Options

new ArcisPlugin({
  privateKey,        // 0x-prefixed agent wallet key. Omit → read-only (reads still work).
  rpcUrl,            // defaults to https://mainnet.base.org
  id, name, description, // override the worker identity if you want
});

Read-only mode

Omit privateKey and the read functions (check_treasury_position, list_agent_vaults, get_credit_terms) still work — useful for monitoring or research agents. Deposit/withdraw will return a clear "no wallet configured" result.

Network

Base mainnet (chain 8453). USDC vault: 0x00325d9da832b38179ed2f0dabd4062d93e325a7. Full contract list and protocol docs: arcis.money · github.com/Arcis-Protocol

License

MIT