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

@corven/agentix

v1.0.8

Published

Local-first AI agent execution engine. Smart wallets, sessions, credentials, and risk-bound execution for AI agents on Base Sepolia.

Readme

AgentIX

Local-first runtime for AI agents on Base Sepolia: local SQLite state, MCP tools, ERC-4337 smart-wallet workflows, credential/proof helpers, and risk-aware action compilation. This package is the npm runtime artifact for @corven/agentix.

This README is intentionally explicit about what is included, what is beta, and what is not shipped in the npm package.

Install / Run

npx @corven/agentix setup
# or, after global install:
npm i -g @corven/agentix
agentix setup

The package exposes two binaries:

  • agentix - CLI for setup, diagnostics, local runtime operations, MCP wiring, wallet/session/credential helpers, proof helpers, and stack/API commands.
  • agentix-mcp - stdio MCP server for AI coding clients.

Data is local by default:

  • ~/.agentix/config/agentix.config.json - config
  • ~/.agentix/db/agentix.db - SQLite database
  • ~/.agentix/backups/ - backups
  • ~/.agentix/logs/ - logs

Set AGENTIX_HOME=/path/to/dir to relocate all runtime state.

What Ships In This Npm Package

Included in the published package:

  • Bundled Node entrypoints: index.js, mcp.js, server.js.
  • CLI shims: bin/agentix, bin/agentix-mcp.
  • TypeScript source: src/ and packages/ for inspection/debugging.
  • ZK proving artifacts needed by the runtime:
    • circuits/prover/credential_V1_final.zkey
    • circuits/prover/credential_V1_js/credential_V1.wasm
    • circuits/build/verification_key.json
    • circuits/artifacts.manifest.json
  • Vendored better-sqlite3 native binaries for Node 22 and Node 24 on common macOS/Linux/Windows x64/arm64 targets.
  • Runtime dependencies for CLI, MCP, SQLite, ethers, snarkjs, circomlibjs, zod, and commander.

Not included in the npm package:

  • The Next.js dashboard application source/build under apps/dashboard.
  • The source repo's development scripts except the bundled runtime behavior.
  • A hosted cloud backend.
  • Private keys, funded accounts, API keys, or production RPC credentials.
  • Mainnet deployments.

Requirements

  • Node.js 18 or newer.
  • Recommended: Node 22 or Node 24. These are the Node ABIs with shipped prebuilt SQLite binaries.
  • If your Node/platform has no matching SQLite binary, either use Node 22/24 or set AGENTIX_SQLITE_BINDING to a locally built better_sqlite3.node.
  • Network: Base Sepolia RPC. Public RPC fallbacks are configured by default; provider keys are optional for higher rate limits.

Current Network / Contract Scope

AgentIX is currently wired for Base Sepolia only:

  • Chain ID: 84532
  • Default public RPC rotation includes Pocket, Base, PublicNode, and dRPC Base Sepolia endpoints.
  • Contract addresses are embedded in the default config and can be printed with:
npx @corven/agentix contracts

Mainnet is not supported by this package today.

Main Commands

npx @corven/agentix setup              # interactive/non-interactive first-run setup
npx @corven/agentix init               # initialize local dirs/db/config
npx @corven/agentix connect            # write MCP config and wire detected clients
npx @corven/agentix connect --print    # print copy-paste MCP JSON
npx @corven/agentix doctor             # comprehensive diagnostics
npx @corven/agentix health             # quick health check
npx @corven/agentix diagnostics        # diagnostic sections
npx @corven/agentix config show        # show local config
npx @corven/agentix rpc                # test configured RPC
npx @corven/agentix contracts          # print Base Sepolia contract addresses
npx @corven/agentix protocol           # protocol notes built into the CLI

Domain commands exposed by the CLI:

npx @corven/agentix org <create|get|list|deactivate|reactivate>
npx @corven/agentix cred <issue|revoke|get|list>
npx @corven/agentix session <create|validate|revoke|get|list>
npx @corven/agentix wallet <create|get|whitelist|execute|batch|deposit|withdraw>
npx @corven/agentix tree <status|rebuild|export|import|snapshot|restore>
npx @corven/agentix delegation <create|revoke|get|list>
npx @corven/agentix capability <register|revoke|get|list>
npx @corven/agentix proof <generate|verify|list>
npx @corven/agentix backup <create|list|restore|export|import>
npx @corven/agentix fund --network baseSepolia --amount 10
npx @corven/agentix stack <start|status>
npx @corven/agentix agent <create|wallet|session|whitelist|execute|balance|deposit|delegation|list>
npx @corven/agentix compile <intent-file>
npx @corven/agentix plans
npx @corven/agentix plan <plan-id>

MCP Integration

Start the MCP server directly:

npx @corven/agentix mcp
# or
npx agentix-mcp

Generate MCP config:

npx @corven/agentix connect --print

setup and connect write a portable AgentIX-owned MCP config at ~/.agentix/mcp.json. connect also attempts to wire detected MCP clients and known harnesses when possible.

Named harness adapters exist for:

  • Claude Code
  • MimoCode
  • OpenCode
  • GitHub Copilot / VS Code MCP config shape
  • Hermes
  • Cursor
  • Gemini
  • OpenClaude

The universal connector also understands the common mcpServers, servers, and mcp JSON shapes.

MCP Tools: What Exists

The MCP server currently declares 71 tools. Most are read/query/compile helpers; some submit transactions or create local/on-chain objects if configured with the required keys and funded accounts.

Implemented non-dashboard MCP categories:

  • System/config/RPC: health, stats, contracts, diagnostics, RPC test, protocol docs, config get/show.
  • Wallet/identity: create wallet, owner execute, list/get/balance, identity get.
  • Sessions: list, validate, find sessions by session key, session status.
  • Organizations: list/get/get anchor.
  • Credentials: list/get/history/nullifier check/oracle state.
  • Capabilities: list/get/on-chain verify.
  • Delegations: list, verify, verify chain, get root.
  • Trees/proofs/events/logs: tree status, proof list/verify, events, session logs.
  • Harnesses: scan and list detected harnesses.
  • Transactions: list/get transaction history.
  • Bundler: session-signed send, submit signed UserOp, status, flush, address.
  • Agent key: generate key pair.
  • Onboarding/funding: onboarding status, fund recommendations.
  • Stack: start/status.
  • Compiler/plans/policy: parse intent, compile intent, get/list/approve plan, policy get/check, capability envelope.

Dashboard-only MCP tools are intentionally blocked and return a DASHBOARD_ONLY message instead of mutating owner state from an agent context:

  • agentix_session_create
  • agentix_session_revoke
  • agentix_session_prune
  • agentix_wallet_whitelist
  • agentix_wallet_execute_batch
  • agentix_config_set
  • agentix_backup_create
  • agentix_policy_set

What Works Out Of The Box

With no private keys and no provider keys, a fresh install can:

  • Create local config, directories, SQLite database, logs, and backup paths.
  • Use public Base Sepolia RPC fallbacks.
  • Run diagnostics and health checks.
  • Start the MCP server.
  • Generate MCP config for clients.
  • Query local state tables.
  • Compile/inspect intents and plans locally.
  • Generate local agent key pairs.
  • Show contract addresses and protocol documentation.
  • Generate/list local backups once local state exists.
  • Generate ZK proofs if the required local credential inputs exist, because the proving key and wasm are shipped.

What Requires External Setup

These flows are present in code but require real external preconditions:

  • On-chain writes require Base Sepolia ETH and configured signer/private key environment variables where the specific command/tool expects them.
  • Wallet deployment/execution requires a working RPC, funded operator/bundler or owner path, and valid contract state.
  • Organization approval/credential issuance assumes the deployed Base Sepolia contracts and authority flow are available.
  • ZK credential/session flows require valid credential records and matching on-chain roots; the package ships proving artifacts, not pre-issued credentials.
  • Higher reliability requires your own RPC provider key; public endpoints can rate limit or fail.

What Does Not Exist / Not Supported Yet

  • No mainnet support.
  • No hosted service or cloud sync.
  • No bundled Next.js dashboard in the npm artifact. The source repo contains a dashboard, but this npm package ships the CLI/API/MCP runtime, not the dashboard app. In a published install, stack start can start the bundled API server; a dashboard URL may not exist unless running from the source checkout.
  • No production custody guarantee. Treat wallet/private-key flows as beta and use testnet funds only unless you have independently audited the contracts and runtime.
  • No automatic purchase of ETH. fund only returns official provider/faucet links.
  • No private-key storage magic for every flow. Some owner/operator paths require environment variables or explicit arguments.
  • No guarantee every AI client accepts auto-wiring. MCP clients use different config formats; connect --print is the fallback.
  • No claim that transitive dependencies are advisory-free. snarkjs pulls some dev-tooling transitive packages with published advisories; they are not expected to be reachable from the runtime proving path, but this remains upstream debt.

Security Notes

  • The local API server binds to 127.0.0.1 and is intended for local use only. Do not expose it to a network.
  • The local API has no user authentication; local processes/browser pages that can reach it may trigger local runtime actions.
  • Never commit .agentix, private keys, RPC keys, backups, or generated wallet material.
  • The MCP server gives AI clients access to AgentIX tools. Only wire clients you trust with that local capability surface.
  • This is Base Sepolia/testnet-oriented software. Use test funds.

Package Audit Snapshot

This README describes package version 1.0.7 as generated by bun run bundle.

Verified during packaging:

  • The generated package manifest exposes agentix and agentix-mcp bins.
  • The package allowlist includes bundled JS, TypeScript source, ZK artifacts, vendored SQLite binaries, and lock/config files needed for debugging.
  • MCP tool declarations have handlers, except for the intentionally dashboard-only blocked tools listed above.
  • The bundle/test pipeline is expected to pass with bun run build and bun run test from the source checkout before publishing.

License

MIT