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

@openflarestudio/agents

v1.0.0

Published

Official OpenFlare Autonomous Agent SDK for Cloudflare Workers AI, Robinhood EVM Chain (4663), and Solana MCP Portals

Readme

⚡OpenFlare Studio

Next-Gen Web3 AI Agentic Platform & Cloudflare One MCP Portals

GitHub Repo License: MIT Robinhood Chain Solana Network Cloudflare Edge

🌐 Live Studio App • 📖 Developer Docs • 🐙 GitHub • 𝕏 Twitter • ✈️ Telegram


🚀 Overview

OpenFlare Studio is the premier Web3 AI development platform designed for autonomous smart contract engineering, stateful AI agent execution, and Model Context Protocol (MCP) server portals running natively on Cloudflare Workers Edge.

                     ┌───────────────────────────────────────────────┐
                     │          OpenFlareStudio AI Engine Core       │
                     │       (16 Frontier AI Models Suite)           │
                     └───────────────────────┬───────────────────────┘
                                             │
            ┌────────────────────────────────┼────────────────────────────────┐
            ▼                                ▼                                ▼
┌─────────────────────────┐     ┌─────────────────────────┐     ┌─────────────────────────┐
│   Robinhood EVM Chain   │     │  Solana MCP Autofixer   │     │  Cloudflare One MCP     │
│   Solidity Compiler     │     │   Anchor & Pinocchio    │     │  5x Token Savings       │
│   Chain ID 4663         │     │   Rust Program Repair   │     │  Workers Codemode       │
└─────────────────────────┘     └─────────────────────────┘     └─────────────────────────┘

✨ Core Features

  • 🤖 Autonomous Agent SDK (@OpenFlareStudio/agents): Event-driven agent base class with edge state persistence via Durable Objects and real-time WebSocket fibers.
  • 🟢 Robinhood EVM Chain (Chain ID 4663): Native Solidity compilation, static vulnerability auditing via Blockscout API, and gas estimation.
  • 🟣 Solana MCP Program Autofixer: Anchor & Pinocchio Rust smart contract error parsing, IDL generation, and automated code repair.
  • ⚡ Cloudflare One MCP Server Portals: 5x Token Savings optimization via minimize_tools() & search_and_execute(), reducing context window usage by up to 80%.
  • 𝗤 Cloudflare D1 SQL Vault: Serverless SQL storage for user configurations, API key vaults, and rate limits.

📦 Installation

Since @OpenFlareStudio/agents is hosted directly on GitHub, install it directly using npm, yarn, or pnpm:

# Install directly from GitHub Repository
npm install github:OpenFlareStudio/agents

# Using yarn
yarn add OpenFlareStudio/agents

# Using pnpm
pnpm add github:OpenFlareStudio/agents

Or clone and build from source:

git clone https://github.com/OpenFlareStudio/agents.git
cd agents
npm install && npm run build

⚡ Quick Start

Create an autonomous Web3 AI agent in TypeScript:

import { Agent, AgentContext, Message } from "@OpenFlareStudio/agents";

export class Web3AuditorAgent extends Agent {
  async onStart(ctx: AgentContext): Promise<void> {
    console.log("⚡ OpenFlareStudio Agent booted on Robinhood EVM Chain ID 4663");
    await ctx.state.set("audits_count", 0);
  }

  async onMessage(msg: Message, ctx: AgentContext): Promise<void> {
    if (msg.content.includes("audit")) {
      const count = (await ctx.state.get<number>("audits_count")) || 0;
      await ctx.state.set("audits_count", count + 1);

      ctx.send({
        role: "assistant",
        content: `Audit initiated for contract on Robinhood EVM. Total audits: ${count + 1}`,
      });
    }
  }
}

📖 SDK Reference (@OpenFlareStudio/agents)

Agent Base Class

import { Agent, AgentContext, Request, Response } from "@OpenFlareStudio/agents";

export class CustomAgent extends Agent {
  // Boots up agent context
  async onStart(ctx: AgentContext): Promise<void> {}

  // Handles chat and WebSocket events
  async onMessage(msg: any, ctx: AgentContext): Promise<void> {}

  // Handles HTTP REST API calls
  async onRequest(req: Request, ctx: AgentContext): Promise<Response> {
    return new Response(JSON.stringify({ status: "online", agent: this.name }), {
      headers: { "Content-Type": "application/json" },
    });
  }
}

Edge Durable State Storage

// Set state
await ctx.state.set("user_wallet", "0x46633e21a4168923058b71b93f21");

// Get state
const wallet = await ctx.state.get<string>("user_wallet");

// Delete state key
await ctx.state.delete("session_id");

⛓️ Robinhood EVM Chain Integration (Chain ID 4663)

import { RobinhoodEVM } from "@OpenFlareStudio/agents";

const evm = new RobinhoodEVM({
  rpcUrl: "https://rpc.robinhood.openflare.fun",
  chainId: 4663,
});

const auditResult = await evm.auditContract(`
  pragma solidity ^0.8.20;
  contract OpenFlareStudioToken {
      mapping(address => uint256) public balances;
      function transfer(address to, uint256 amount) public {
          balances[msg.sender] -= amount;
          balances[to] += amount;
      }
  }
`);

console.log("Audit Status:", auditResult.status);
console.log("Vulnerabilities:", auditResult.issues);

☀️ Solana MCP Program Autofixer

import { SolanaMCP } from "@OpenFlareStudio/agents";

const solana = new SolanaMCP();

const fixResult = await solana.autofixProgram({
  sourceCode: rustProgramCode,
  errorMessage: "Error: AccountDiscriminatorMismatch",
});

console.log("Repaired Rust Code:", fixResult.repairedCode);

🌐 Official Channels & Resources