Skip to main content

Local-first, guardrailed MCP bridge for NinjaTrader 8, with hard risk limits your AI agent cannot bypass.

Project description

pitbridge (daemon)

Python 3.12 daemon that sits between AI agents (MCP / REST / WS) and the NinjaTrader 8 AddOn (outbound WebSocket, port 8873). Binding spec: ../docs/architecture.md.

Dev setup

cd daemon
uv venv --python 3.12
uv pip install -e ".[dev]"
uv run pytest
uv run ruff check .

Status: M2 daemon-core — protocol models (14 message types, schema-mirrored), guardrail engine (M1), the AddOn WS link (hello/auth/heartbeat/snapshot/ reconnect-reconcile, reconcile-first hard), executor (idempotent pending-order table + ack timeouts), the frozen pipeline (schema -> permission -> guardrails -> confirm gate -> submit -> audit) as the single order path, the /v1 REST + WS surfaces, and tools/fake_addon.py for chaos tests. pitbridge run --config serves it. MCP surface + C# AddOn land in M3/M4.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pitbridge-0.1.2.tar.gz (140.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pitbridge-0.1.2-py3-none-any.whl (75.3 kB view details)

Uploaded Python 3

File details

Details for the file pitbridge-0.1.2.tar.gz.

File metadata

  • Download URL: pitbridge-0.1.2.tar.gz
  • Upload date:
  • Size: 140.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pitbridge-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c72412b7264aab3714ca5a11251c9e8bea7fa6db8571dbe7a4610b65aa9c0195
MD5 135f03fe2e6cb371a32c09157f5930c2
BLAKE2b-256 cba037db74b630cec7c1a1254fb7d34325f0c4e6af6ee25baa7ac7d57388db50

See more details on using hashes here.

File details

Details for the file pitbridge-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pitbridge-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 75.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pitbridge-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa09baa874b084f2865a56035df89b4ab149f57a5869240d314fe72163b6d6e1
MD5 eb16cd0425c8aebdf35c6a286e1cb0eb
BLAKE2b-256 da2148ca06964e5b56f5609a455cff91a73d20ef59cbaa838d6714d46fda5b91

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page