git404hub

what is black-box fr?

ajanaku1/black-box — explained in plain English

Analysis updated 2026-05-18

0SolidityAudience · developerComplexity · 4/5LicenseSetup · hard

tl;dr

A blockchain-based flight recorder that permanently logs every decision an AI agent makes, letting anyone replay and verify its full history later.

vibe map

mindmap
  root((black-box))
    What it does
      Records agent decisions
      Anchors proof on-chain
      Replays full history
    Tech stack
      Solidity
      TypeScript
      Foundry
      viem
    Use cases
      Replay decision history
      Verify tamper-proof records
      Register new agents
      Live demo dashboard
    Audience
      Developers
      Web3 researchers
    Setup
      npm install
      Testnet wallet funding

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Replay and verify an AI agent's full decision history using only public blockchain data.

VIBE 2

Try the live demo dashboard to scrub through a sample trading agent's 65+ recorded decisions.

VIBE 3

Register your own agent identity on-chain and record its decisions as they happen.

VIBE 4

Run a tamper test to see how the verification panel detects an altered decision record.

what's the stack?

SolidityTypeScriptFoundryviemReact

how it stacks up fr

ajanaku1/black-boxagus-ops/amphialexzoid-eth/morpho-midnight-fv
Stars000
LanguageSoliditySoliditySolidity
Setup difficultyhardhardmoderate
Complexity4/54/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1h+

Replaying the demo needs no wallet, but recording your own agent requires a funded testnet key from a faucet.

MIT license: free to use, modify, and distribute for any purpose, including commercial use, as long as you keep the copyright notice.

in plain english

Black Box solves a specific trust problem with AI agents that act on a blockchain: you can see the transactions an agent makes, but not the reasoning behind them. This project records every decision an autonomous agent makes and permanently anchors proof of that decision on a blockchain called BOT Chain, so anyone can later replay the agent's full history using only public blockchain data, with no separate database needed. The system has three main parts. A smart contract, a small program that lives on the blockchain, lets an agent register its identity and stamp a unique fingerprint for each decision it makes. A recorder tool, written in TypeScript, packages each decision record and posts it to the blockchain in a special low-cost transaction format designed for storing larger pieces of data. A replay dashboard, a web page, then reads that history back, checks that each record's fingerprint and signature genuinely match what was stored on-chain, and shows a pass or fail result. If someone tampers with a record after the fact, the check fails and turns red. The project includes a live demo you can try in a browser without a crypto wallet, replaying over 65 recorded decisions from a sample agent that watches a trading price and decides whether to hold or send an alert. Running it yourself requires cloning the repository, installing dependencies with npm, and starting the dashboard, which reads directly from the public test version of BOT Chain. To run your own recording agent rather than just replay the demo, you need a small amount of free test cryptocurrency from a faucet and a private key for signing. The project is built with Solidity for its blockchain contract and TypeScript for its tools and dashboard, and it ships with a working set of automated tests for each part. It is released under the MIT license, and the whole approach depends on BOT Chain's fast, cheap transactions to make recording every single decision practical.

prompts (copy fr)

prompt 1
Help me clone Black Box, install its dependencies, and run the replay dashboard locally.
prompt 2
Explain how Black Box uses blob transactions to store and anchor an AI agent's decisions on-chain.
prompt 3
Show me how to fund a testnet wallet and run my own recording agent with Black Box.
prompt 4
Walk me through what the tamper test in the Black Box dashboard actually checks.

Frequently asked questions

what is black-box fr?

A blockchain-based flight recorder that permanently logs every decision an AI agent makes, letting anyone replay and verify its full history later.

What language is black-box written in?

Mainly Solidity. The stack also includes Solidity, TypeScript, Foundry.

What license does black-box use?

MIT license: free to use, modify, and distribute for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is black-box to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is black-box for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.