Oh-My-Pi Agents Run Dual Kernels to Sync Python and JavaScript Workflows 🔗
Persistent Bun and Python workers enable real-time data sharing without leaving the terminal session
Oh-My-Pi (can1357/oh-my-pi) is a terminal-based AI coding agent that integrates a persistent Python sandbox and a Bun worker through a loopback bridge, allowing both kernels to invoke the agent’s own tools—like read, search, and task—without context switching. Built as a fork of Mario Zechner’s Pi, it now supports over 40 LLM providers, 32 built-in tools, and deep LSP and DAP integration, aiming to deliver IDE-level functionality inside the terminal.
Its TUI enables seamless workflows: users can load a CSV in Python, visualize it via JavaScript, and resume edits—all within a single session. Edits are hash-anchored for precision, reads return summarized snippets instead of raw dumps, and model selection adapts dynamically to provider capabilities. The agent generates shell completions from live CLI metadata, ensuring accuracy across bash, zsh, and fish. Recent fixes in v17.2.4 resolved WebSocket transport bypasses in Codex V2 and improved tool-call state tracking to prevent UI telemetry from misrepresenting execution status during steering inputs. These updates refine reliability in multi-turn agent interactions, especially when using remote models via OpenRouter or Anthropic.
The catch: Despite its ambitious scope, the project carries 961 open issues and relies on a complex dual-kernel architecture that may introduce subtle synchronization bugs or resource overhead in constrained environments.
Why this leads today It offers a new class of terminal-based AI agent with hash-anchored edits, subagents, and cross-environment integration that directly streamlines developer workflows without requiring context switching.
- Data scientists iteratively analyze CSVs with live Python-JavaScript bridges
- Debuggers step through code using embedded DAP and LSP inspection
- CLI power users chain LLM-assisted edits across platforms access AI agents via consistent completion systems
Source: can1357/oh-my-pi — based on the README and release notes.