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.1.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.1-py3-none-any.whl (75.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pitbridge-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 da8b50ee9343e0ce1e886f8f6955010058a6b89becfff2b9903815920174ae0f
MD5 e6fc969cb0a7ad7e9ce4c581f6acd70c
BLAKE2b-256 819ea2b696109db1b6e7f278432f1bc200f4d4b90dafdf1703456217c0ea3c25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pitbridge-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba2ec75bb31b0e7b5e20b092d0cf67b23836f7591eaab52e7783f79c93a29a5d
MD5 c111062e6d5a20f9d73df5886eb1b5c6
BLAKE2b-256 1c80469c23e58081d1baa22b75657704f5f8ed256f9a190c0ffae9874b186804

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