mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
- hanzo-tools-repl: Multi-language REPL with Jupyter kernel backend - Supports Python, Node.js/TypeScript, Bash, Ruby, Go, Rust - Persistent sessions for stateful evaluation - History and completion support - hanzo-tools-ide: IDE integration for VS Code, Cursor, JetBrains - Full editor control (open, edit, navigate, refactor) - Terminal integration - Diagnostics and quick fixes - WebSocket bridge to IDE extensions - ZAP Protocol (proto/zap/): - MCP superset for agentic operations - Streaming, REPL sessions, IDE integration - Browser DevTools support - Extension bridge specification - hanzo-mcp v0.11.7: - Added [repl], [ide], [interactive] extras
24 lines
802 B
Python
24 lines
802 B
Python
"""
|
|
hanzo-tools-repl: Multi-language REPL with Jupyter kernel backend.
|
|
|
|
Provides interactive code evaluation for agents across multiple languages:
|
|
- Python (ipykernel)
|
|
- Node.js/TypeScript (tslab)
|
|
- Bash (bash_kernel)
|
|
- And any language with a Jupyter kernel
|
|
|
|
Usage:
|
|
repl(action="start", language="python") # Start kernel
|
|
repl(action="eval", code="print('hello')") # Evaluate code
|
|
repl(action="eval", code="const x = 1", language="typescript")
|
|
repl(action="history") # Get history
|
|
repl(action="stop") # Stop kernel
|
|
repl(action="list") # List kernels
|
|
"""
|
|
|
|
from .repl_tool import ReplTool, KernelManager
|
|
|
|
TOOLS = [ReplTool()]
|
|
|
|
__all__ = ["ReplTool", "KernelManager", "TOOLS"]
|