PitBridge is a locally operated Model Context Protocol (MCP) bridge designed to connect AI trading agents to NinjaTrader 8 while enforcing strict, software-based risk controls. It addresses the need for deterministic, non-promptable guardrails in AI-driven algorithmic trading, ensuring that every order proposed by an agent is evaluated against a set of hard limits before reaching the trading platform. This architecture is intended to prevent AI agents from bypassing risk constraints through prompt manipulation or software errors, thereby protecting users from unintended or oversized trades.
The core of PitBridge consists of a daemon and a guardrail engine, both running on the user's machine. Orders initiated by an AI agent are routed through the PitBridge daemon via MCP or REST API, then evaluated by the guardrail engine on localhost. Only orders that pass all enforced rules are forwarded to NinjaTrader 8; blocked orders are accompanied by clear, logged reasons. The system enforces up to twelve distinct guardrails, including maximum contracts per order, daily loss limits, trading time windows, allowed instruments, order rate caps, and mandatory human confirmation for live accounts. A kill switch feature enables users to halt all order flow instantly, adding an additional safety layer. The guardrail engine operates outside the AI model, ensuring its verdicts cannot be influenced by the agent’s output.
PitBridge is open source, with its core released under the Apache 2.0 license, allowing users to review and audit the code. The product is designed for traders and developers who require robust, software-enforced risk management for AI-powered trading strategies on NinjaTrader 8. Integration is supported with various agent runtimes, and setup instructions are provided for different environments, including Mac and Windows configurations. While an optional cloud component exists for telemetry, it is opt-in only and never involved in the actual order path, preserving user control and security.
By running entirely on the user's local infrastructure and enforcing explicit, transparent trading limits, PitBridge offers a solution for those seeking deterministic, auditable safeguards in automated futures trading with AI agents.
pitbridge is a Frameworks & SDKs product. It focuses on enabling safe, local, and guardrailed AI agent integration with NinjaTrader 8 for algorithmic trading. It is built as an open-source project for algorithmic trading developers. pitbridge is open source under the Apache-2.0 license. The product ships for the web and the command line.
Behind pitbridge is ToolstackVault, and the product first shipped in 2026. Key capabilities include risk management, AI agent guardrails, and local-first bridge. It exposes integrations via an MCP server.
Latest indexed changes and source events
Other apps tracked under the same category.