open-index/open-npm huggingface dataset:
npm package: @openbee/openbee
Description: OpenBee — Busy as a Bee, Smart as AI, Automated for You. Building a user-friendly, strong, and secure AI agent/skills CLI tool. A hive of specialized AI bees working in harmony, where every role contributes unique strengths and distinct capacities to make
Author: openbee
Latest version: 1.0.3

# OpenBee 🐝

**Busy as a Bee, Smart as AI, Automated for You.**

OpenBee is a hive of specialized AI agents (Bees) working in harmony to help you build a user-friendly, strong, and secure AI agent/skills CLI tool. Each Bee has its own unique role and distinct capacity, contributing to complex task completion.

---

## 🏗️ Hive Architecture

The core of OpenBee is built around the concept of a **Hive**, inspired by [OpenClaw](https://github.com/openclaw/openclaw).

- **Bee Roles**: Specialized agents with specific identities, system prompts, and capabilities.
  - **Worker Bee**: A general-purpose assistant for common tasks.
  - **Researcher Bee**: Specialized for deep research and information synthesis.
  - **Architect Bee**: Focused on system design and high-level planning.
- **Skill System**: A Markdown-based skill loader that allows defining agent capacities (e.g., [filesystem.md](skills/filesystem.md)) in a human-readable format.
- **Hive Registry**: A central hub that manages the lifecycle and summoning of different Bee roles.

---

## 🚀 Getting Started

### Installation

```bash
npm install @openbee/openbee
```

### Usage

OpenBee provides a powerful CLI to interact with your hive.

#### Local Development Testing

If you are developing locally, you can test the features using `tsx`:

- **List available roles:**
  ```bash
  npx tsx src/index.ts list
  ```

- **Summon a bee for a task:**
  ```bash
  npx tsx src/index.ts ask researcher "Find information about climate change"
  ```

#### Production Usage

After installation, you can use the `openbee` command:

- **List available roles:**
  ```bash
  openbee list
  ```

- **Summon a bee for a task:**
  ```bash
  openbee ask worker "Create a new project structure"
  ```

---

## 📂 Project Structure

- `src/bees/`: Core logic for specialized agent roles.
- `src/skills/`: Loader for extensible agent capabilities.
- `src/cli/`: Command-line interface logic.
- `bees/`: External role definitions (Markdown).
- `skills/`: Global skill definitions (Markdown).

---

## 🤝 Join the Hive!

We are looking for talents to join this open-source project and build the future of AI automation! If you are interested in building a more user-friendly, secure, and robust AI agent system, check us out.

**GitHub**: [https://github.com/sanpiekankan/openbee](https://github.com/sanpiekankan/openbee)

---

## 📄 License

This project is licensed under the [MIT License](LICENSE).
npm package: @openbits/cli
Description: CLI for AI agents and developers to access the OpenBits API platform
Latest version: 0.1.6

# openbits

CLI for AI agents and developers to access the OpenBits API platform.

One API key, every crypto API. Built for AI agents.

## Install

```bash
# Run directly (no install)
npx @openbits/cli --help

# Or install globally
bun install -g @openbits/cli
```

## Quick Start

```bash
# Authenticate (opens browser)
openbits login

# Or use API key directly
openbits login --key ob_live_xxx

# Make your first API call
openbits call twitter/users/by/username/elonmusk

# Search endpoints
openbits search "wallet balance"

# Browse APIs
openbits apis
```

## Commands

| Command                | Description                                     |
| ---------------------- | ----------------------------------------------- |
| `login`                | Open browser to log in (or `--key` for API key) |
| `logout`               | Clear stored credentials                        |
| `whoami`               | Show current user                               |
| `call <api>/<path>`    | Call an API endpoint (`-q key=val` for params)  |
| `search <query>`       | Search endpoints across all APIs                |
| `describe <api>`       | Show all endpoints for an API                   |
| `apis`                 | List all available APIs                         |
| `balance`              | Check credit balance                            |
| `skill install <name>` | Install a skill for your AI agent               |
| `skill list`           | List available skills                           |

## For AI Agents

Install a skill to teach your agent how to use OpenBits:

```bash
openbits skill install twitter
```

Or point your agent to: `https://api.openbits.ai/skills/twitter`

Discovery document: `https://api.openbits.ai/llms.txt`

## Flags

- `--json` — Force JSON output (auto-detected in non-TTY)
- `--api-url <url>` — Override API base URL
- `--help` — Show help
- `--version` — Show version

## Requirements

- Node.js >= 18 (or Bun >= 1.2)
- Get your API key at [openbits.ai](https://www.openbits.ai/dashboard/api-keys)

## License

MIT
npm package: @openblockhq/aptos-wallet-adapter
Description: OpenBlock plugin to use with Aptos Wallet Adapter
Author: OpenBlock
Latest version: 0.1.5

# OpenBlock plugin for Aptos Wallet Adapter

A OpenBlock wallet plugin to be used with the [Aptos Wallet Adapter](https://github.com/aptos-labs/aptos-wallet-adapter).

## Install

```
npm i @openblockhq/aptos-wallet-adapter
```

and follow the instruction [adapter for dapps](https://github.com/aptos-labs/aptos-wallet-adapter/tree/main/packages/wallet-adapter-react)

## Publish

1. update package.json version and run `npm install`

2. build
```
npm run build
```
3. publish
```
npm publish
```
npm package: @openblog/react-openblog
Description: React integration for OpenBlog
Latest version: 1.0.5

# React library for OpenBlog

![OpenBlog logo](https://openblog.app/openblog-logo.svg)

react-openblog is a react library to integrate OpenBlog in minutes in your app.

You need an account from [openblog.app](openblog.app) to use this library.

## Install

```bash
npm install --save @openblog/react-openblog
```

## Usage

```jsx
import React from 'react'
import { OpenBlog } from '@openblog/react-openblog'

const Blog = () => {
  return <OpenBlog blogId='ce432938-1d15-4375-ad7a-2091322f5b74'></OpenBlog>
}

export default Blog
```

## Router configuration

This library require a catch-all page to intercept all pages requests.

First create a /blog ( or any other name ) directory in your react project.

Then configure the react router to intercept all requests in this directory and send them to the Blog component.

```jsx
<BrowserRouter>
  <Routes>
    ...
    <Route path='/blog'>
      <Route path='' element={<Navigate to='/blog/index' />} />
      <Route path='*' element={<Blog />} />
    </Route>
  </Routes>
</BrowserRouter>
```
npm package: @openbmp/web3
Description: <h1 align="center">Welcome to @openbmp/web3 👋</h1> <p>   <img alt="Version" src="https://img.shields.io/badge/version-0.0.4-blue.svg?cacheSeconds=2592000" />   <a href="https://github.com/soraliu#readme" target="_blank">     <img alt="Documentation" src=
Author: Sora Liu
Latest version: 0.0.5

<h1 align="center">Welcome to @openbmp/web3 👋</h1>
<p>
  <img alt="Version" src="https://img.shields.io/badge/version-0.0.4-blue.svg?cacheSeconds=2592000" />
  <a href="https://github.com/soraliu#readme" target="_blank">
    <img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
  </a>
  <a href="https://github.com/soraliu/graphs/commit-activity" target="_blank">
    <img alt="Maintenance" src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" />
  </a>
</p>

> Binance Mini Program Web3 Provider

## Install

```sh
pnpm add @openbmp/web3
```

## Usage

Wrap App with `Web3Provider`

```typescript
// app.ts
import { Web3Provider } from '@openbmp/web3'

const App = ({ children }) => {
  return <Web3Provider>{children}</Web3Provider>
}

export default App
```

Connect to Binance DeFi Wallet

```typescript
import { Box, Button } from '@openbmp/uikit'
import { useAuth } from '@openbmp/web3'
import React, { useCallback, useState, type FC } from 'react'

// type definitions
export type Props = Record<string, unknown>

const WalletAddr: FC<Props> = () => {
  const { account, login, logOut } = useAuth()
  const [loading, setLoading] = useState(false)
  const isActive = !!account

  const handleWalletClick = useCallback(async () => {
    setLoading(true)
    if (isActive) {
      await logOut()
    } else {
      await login()
    }
    setLoading(false)
  }, [account, login, setLoading])

  return (
    <Box onClick={handleWalletClick}>
      <Button size="small" type="secondary" style={{ marginLeft: '16px' }} loading={loading}>
        {isActive ? 'Log Out' : 'Connect'}
      </Button>
    </Box>
  )
}

export default WalletAddr
```

Get Account Address

```typescript
import { useAuth } from '@openbmp/web3'

const { account } = useAuth()
```

Invoke contract method

```typescript
import { useContract } from '@openbmp/web3'
import { type AbiItem } from 'web3-utils'
import comptrollerAbi from 'path/to/comptroller.json'

const comptrollerContract = useContract<Comptroller>({
  abiItems: comptrollerAbi as AbiItem[],
  contractAddress: '0xfD36E2c2a6789Db23113685031d7F16329158384',
})

comptrollerContract.methods.methodName().call()
```

## Author

👤 **Sora Liu <soraliu.dev@gmail.com>**

- Github: [@soraliu](https://github.com/soraliu)

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

This project is [MIT](https://github.com/soraliu/blob/master/LICENSE) licensed.
npm package: @openbook-dex/openbook
Description: Library for interacting with the openbook dex
Latest version: 0.0.9

[![npm (scoped)](https://img.shields.io/npm/v/@project-serum/serum)](https://www.npmjs.com/package/@openbook-dex/openbook)

# Serum JS Client Library

JavaScript client library for interacting with the OpenBook DEX

## Installation

Using npm:

```
npm install @solana/web3.js @openbook-dex/openbook
```

Using yarn:

```
yarn add @solana/web3.js @openbook-dex/openbook
```

## Usage

```js
import { Account, Connection, PublicKey } from '@solana/web3.js';
import { Market } from '@openbook-dex/openbook';

let connection = new Connection('https://testnet.solana.com');
let marketAddress = new PublicKey('...');
let programAddress = new PublicKey('...');
let market = await Market.load(connection, marketAddress, {}, programAddress);

// Fetching orderbooks
let bids = await market.loadBids(connection);
let asks = await market.loadAsks(connection);
// L2 orderbook data
for (let [price, size] of bids.getL2(20)) {
  console.log(price, size);
}
// Full orderbook data
for (let order of asks) {
  console.log(
    order.orderId,
    order.price,
    order.size,
    order.side, // 'buy' or 'sell'
  );
}

// Placing orders
let owner = new Account('...');
let payer = new PublicKey('...'); // spl-token account
await market.placeOrder(connection, {
  owner,
  payer,
  side: 'buy', // 'buy' or 'sell'
  price: 123.45,
  size: 17.0,
  orderType: 'limit', // 'limit', 'ioc', 'postOnly'
});

// Retrieving open orders by owner
let myOrders = await market.loadOrdersForOwner(connection, owner.publicKey);

// Cancelling orders
for (let order of myOrders) {
  await market.cancelOrder(connection, owner, order);
}

// Retrieving fills
for (let fill of await market.loadFills(connection)) {
  console.log(fill.orderId, fill.price, fill.size, fill.side);
}

// Settle funds
for (let openOrders of await market.findOpenOrdersAccountsForOwner(
  connection,
  owner.publicKey,
)) {
  if (openOrders.baseTokenFree > 0 || openOrders.quoteTokenFree > 0) {
    // spl-token accounts to which to send the proceeds from trades
    let baseTokenAccount = new PublicKey('...');
    let quoteTokenAccount = new PublicKey('...');

    await market.settleFunds(
      connection,
      owner,
      openOrders,
      baseTokenAccount,
      quoteTokenAccount,
    );
  }
}
```
npm package: @openbook-dex/openbook-v2
Description: Typescript Client for openbook-v2 program.
Author: OpenBook contributors
Latest version: 0.2.10

# OpenBook V2

A central-limit order-book program based on [Mango V4](https://github.com/blockworks-foundation/mango-v4) and the [previous OpenBook program](https://github.com/openbook-dex/program) (which was a fork of [Serum](https://github.com/project-serum/serum-dex)).

## License

See the [LICENSE file](LICENSE).

The majority of this repo is MIT-licensed, but some parts needed for compiling
the Solana program are under GPL.

All GPL code is gated behind the `enable-gpl` feature. If you use the `openbook-v2`
crate as a dependency with the `client` or `cpi` features, you use only MIT
parts of it.

The intention is for you to be able to depend on the `openbook-v2` crate for
building closed-source tools and integrations, including other Solana programs
that call into the Openbook program.

But deriving a Solana program with similar functionality to the Openbook program
from this codebase would require the changes and improvements to stay publicly
available under GPL.

## Deployed versions

| tag  | network | program ID                                  |
| ---- | ------- | ------------------------------------------- |
| v1.7 | mainnet | opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb |
| v1.7 | devnet  | opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb |
| v1.7 | testnet | opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb |

## Building & testing

### Pre-requisites

Before you can build the program, you will first need to install the following:

- [Rust](https://www.rust-lang.org/tools/install)
- [Solana](https://docs.solana.com/cli/install-solana-cli-tools)
- [Anchor](https://www.anchor-lang.com/docs/installation) (v0.28.0)
- [Just](https://github.com/casey/just#installation)

### Installing

To install the repo, run:

```bash
git clone https://github.com/openbook-dex/openbook-v2.git --recursive
```

The recursive flag ensures that you receive all of the submodules. If you have already cloned without passing in this flag, you can run:

```bash
git submodule init
git submodule update
```

To ensure that you always have the latest submodules, you can configure your git like so:

```bash
git config --global submodule.recurse true
```

### Building

To build, run:

```bash
just build
```

### IDL

To generate the progam & typescript IDLs, run:

```bash
just idl
```

### Testing

To see whether all of the tests are passing, run:

```bash
just test-all
```

To drill down on a specific test (e.g., test_expired_order), run:

```bash
just test test_expired_order
```

If you want to have tests that automatically re-run when you edit a file, install
[entr](https://github.com/eradman/entr) and run:

```bash
just test-dev
```

### TS Client

```bash
yarn build
```

### TS Testing

```bash
export SOL_RPC_URL=https://a.b.c
export KEYPAIR="[1,2,3,4,...]"
yarn ts/client/src/test/market.ts
yarn ts/client/src/test/openOrders.ts
```
npm package: @openbook-dex/swap
Description: Client for swapping on the Openbook DEX
Latest version: 0.0.7

# Serum Swap

[![Build Status](https://travis-ci.com/project-serum/serum-ts.svg?branch=master)](https://travis-ci.com/project-serum/serum-ts)
[![npm (scoped)](https://img.shields.io/npm/v/@project-serum/swap)](https://www.npmjs.com/package/@project-serum/swap)
[![Discord Chat](https://img.shields.io/discord/739225212658122886?color=blueviolet)](https://discord.com/channels/739225212658122886)
[![Documentation](https://img.shields.io/badge/typedoc-documentation-blue)](https://project-serum.github.io/serum-ts/swap/classes/swap.html)
[![License](https://img.shields.io/github/license/project-serum/serum-dex?color=blue)](https://opensource.org/licenses/Apache-2.0)

Client library for swapping directly on the serum orderbook.
The Solana program can be found [here](https://github.com/project-serum/swap).

## Installation

Using npm:

```
npm install @solana/web3.js @project-serum/swap
```

Using yarn:

```
yarn add @solana/web3.js @project-serum/swap
```

## API Reference

[API Reference](https://project-serum.github.io/serum-ts/swap/classes/swap.html).