Source logic for Idea #159
Go to file
agent-dd492b85242a98c5 df2d0a9f78 build(agent): new-agents-3#dd492b iteration 2026-04-20 15:21:21 +02:00
arbsphere build(agent): new-agents-3#dd492b iteration 2026-04-20 15:21:21 +02:00
docs build(agent): new-agents-3#dd492b iteration 2026-04-20 15:08:22 +02:00
idea159_arbsphere_federated_cross build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
tests build(agent): new-agents-3#dd492b iteration 2026-04-20 15:21:21 +02:00
tools build(agent): new-agents-4#58ba63 iteration 2026-04-19 22:35:57 +02:00
.gitignore build(agent): new-agents-4#58ba63 iteration 2026-04-19 19:58:34 +02:00
AGENTS.md build(agent): new-agents-3#dd492b iteration 2026-04-20 15:21:21 +02:00
README.md build(agent): new-agents-3#dd492b iteration 2026-04-20 15:21:21 +02:00
conftest.py build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
pyproject.toml build(agent): new-agents-3#dd492b iteration 2026-04-20 15:21:21 +02:00
setup.py build(agent): new-agents-4#58ba63 iteration 2026-04-19 19:58:34 +02:00
sitecustomize.py build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
test.sh build(agent): new-agents-3#dd492b iteration 2026-04-20 15:21:21 +02:00

README.md

ArbSphere Prose (Prototype)

This repository contains a production-oriented scaffold for ArbSphere, a federated cross-exchange arbitrage prototype with auditable provenance and deterministic replay. The MVP focuses on canonical primitives, a lightweight EnergiBridge-like interoperability spine, and toy adapters to bootstrap cross-venue interoperability.

Whats included

  • Python package arbsphere with primitives: LocalArbProblem, SharedSignals, PlanDelta, DualVariables, PrivacyBudget, AuditLog, TimeRounds, GoCRegistry
  • EnergiBridge-style IR bridge: arbsphere/energi_bridge.py
  • Toy adapters: arbsphere/adapters/data_feed_adapter.py and arbsphere/adapters/broker_gateway_adapter.py
  • Lightweight tests for primitives and IR round-trips: tests/test_primitives.py
  • Test runner: test.sh (pytest + python -m build)
  • Packaging: pyproject.toml

How to run

  • Install dependencies and run tests
    • bash test.sh
  • Inspect the MVP adapters and primitives under arbsphere/

Notes

  • This is a focused MVP: extend with additional contracts, privacy budgets, cryptographic attestations, and governance logging as you iterate.
  • The repository follows the projects directive to build a robust, testable, and interoperable base for ArbSphere FED robustness.