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 🙏

© 2025 – Pkg Stats / Ryan Hefner

oobe-protocol

v2.0.3

Published

That's a protocol for OOBE, an SDK for building AI Agentics and Conversational Interfaces directly on-chain. Chains Available: [Solana]

Downloads

140

Readme

OOBE Protocol SDK

🛸 .  •.  🌎 ° .• 🌓 •  .°•  • 🚀 ✯. •. .  . • ★ * °  #O 🛰 #O °· #B •.  #E    ๏     .•    . • • ° ★ •  ☄. ๏ •. . •. . •.
▆▇▇▆▅▄▃▂▃▄▆▇▇▆▅▄▇▆▅▄▃▁▂▆▇▆▅▄▇▆▅▄▃▁▂▃▄▆▇▇▆▅▄▇▆▅▄▃▁▂▆▇▆▅▄▇▆▅▄▃▁▂

Follow us on social media for the latest updates:

Overview

The OOBE Protocol SDK is a framework designed to build and manage Solana-based AI agents. It supports advanced features for conversational memory, parallel function calls, smart tool selection, and message history tracking using databases like MongoDB or Redis. This SDK is the core component for developing AI agents on the Solana blockchain, combining the power of AI with blockchain technology.

🧠 OOBE Protocol SDK – Node.js Setup Guide

Start with the right setup for your environment!
This guide walks you through configuring your Solana-based application using the OOBE Protocol SDK.


⚙️ Solana Network Configuration for Application Setup

The ConfigManager class in the OOBE Protocol SDK provides a robust and flexible way to configure:

  • ✅ Official and unofficial Solana RPC endpoints
  • 🔐 Private keys and OpenAI API keys
  • 🌲 Merkle tree seeds for agent memory and validation
  • 🔁 Load-balanced fallback endpoints (transportsRPC)

📦 Getting Started

1. Import Required Types and Classes

import { IConfiguration, IOfficialEndpoint, IUnofficialEndpoints } from "oobe-protocol/types/config.types";
import { ConfigManager, OobeCore } from "oobe-protocol";

2. Create a Configuration Manager

const configManager = new ConfigManager();

3. Create or Override Default Configuration

const config = configManager.createDefaultConfig(
  "your_private_key_here",
  "your_openai_key_here",
  "" // oobeKey (optional)
);

4. Initialize the OobeCore

const oobe = new OobeCore(configManager.getDefaultConfig());
// or
const oobe = new OobeCore(config);

🧩 Key Configuration Properties

| Property | Description | |---------------------------|--------------------------------------------------------------------| | solanaEndpoint | Main RPC endpoint (official) | | solanaUnofficialEndpoints | Legacy fallback endpoints (prefer transportsRPC) | | openAiKey | Your OpenAI API key | | private_key | Private key of the agent wallet | | merkleDbSeed | Seed for Merkle tree leaf memory | | merkleRootSeed | Seed for Merkle root (on-chain memory) | | transportsRPC | Load-balanced RPC fallback endpoints |


🔧 Core Methods in ConfigManager

createEndpointsConfig(officialRpc?, unofficialEndpoints?)

Creates a custom RPC config.

createDefaultConfig(privateKey, openAiKey, oobeKey?, ...)

Returns a full IConfiguration object.

getDefaultConfig()

Returns the current default config.

setDefaultConfig(config)

Sets a custom config as default.


🚀 Initializing the Core Module

import { OobeCore, ConfigManager } from "oobe-protocol";

const configManager = new ConfigManager();

const config = configManager.createDefaultConfig(
  "your_private_key",
  "your_openai_key"
);

const oobe = new OobeCore(config);
await oobe.start();

🤖 Agent Setup & Execution

Start the Core

await oobe.start();

Execute Agent Logic

import { AgentExecution } from "oobe-protocol";
await AgentExecution(oobe);

Access the Agent

const agent = oobe.getAgent();

Register Actions

import { Actions } from "oobe-protocol/actions";
agent.registerActions(Actions.map(a => a.action));

Create Solana Tools

import { createSolanaTools } from "oobe-protocol/config/tool/index.tool";
const tools = await createSolanaTools(agent);

Initialize Memory

import { MemorySaver } from "oobe-protocol";
const memory = new MemorySaver();

🧠 React Agent with LangGraph

import { createReactAgent, ToolNode } from "@langchain/langgraph/prebuilt";

const oobe_agent = createReactAgent({
  llm: agent.genAi(),
  tools: tools as ToolNode<any>,
  checkpointSaver: memory,
  messageModifier: `You are a person with this personality "${JSON.stringify(await agent.getDefaultPersonality())}"...`,
});

💬 Send Human Messages

import { HumanMessage } from "@langchain/core/messages";

const stream = await oobe_agent.stream(
  { messages: [new HumanMessage("Your prompt here")] },
  { configurable: { thread_id: "OOBE AGENT BUILDER!" } }
);

📜 Merkle Tree Validation & On-Chain Inscription

const result = await tools[0].run("some_input");
const validated = agent.merkleValidate(result, agentRes);
await agent.merkle.onChainMerkleInscription(validated);

🛑 Shutdown the Core

await oobe.stop();

📚 Summary

With a properly configured Node.js environment using the ConfigManager and the OobeCore engine, you're ready to unlock the full potential of the OOBE Protocol — building smart, evolving AI agents that interact with Solana natively.

Explore more modules, tools, and advanced patterns in the full documentation.