Skip to main content

Local-first, guardrailed MCP bridge for NinjaTrader 8 — 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.0.tar.gz (132.4 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.0-py3-none-any.whl (70.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pitbridge-0.1.0.tar.gz
  • Upload date:
  • Size: 132.4 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.0.tar.gz
Algorithm Hash digest
SHA256 098fe08b6db54664c8c4186510f871dd052113e1a478b0a3b857102140ed1b8e
MD5 f07eb05f3e39b442778e169efb123760
BLAKE2b-256 d22f4f41b4ec6f992449e3e3b858da99030274f26033d3db35d93cee3507c64a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pitbridge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 70.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4484ac3dbf03555969b01c941712e9d0050a9714e66f2b0912ce98dcbcff288a
MD5 59811de56b3051553849206f4a7a4e3d
BLAKE2b-256 4c8d3916d16d28dec6d557b670811c838028edb7fca5bda7ec2d918dafface25

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