Skip to main content

hanzo-tools-ide

IDE integration tool for VS Code, Cursor, Windsurf, JetBrains, and LSP-compatible editors.

Features

  • Multi-IDE support: VS Code, Cursor, Windsurf, JetBrains, Neovim
  • Full editor control: Open, edit, navigate, refactor
  • Terminal integration: Create and send commands to terminals
  • Diagnostics: Access errors, warnings, and quick fixes
  • Agent-friendly: Designed for AI agent workflows

Installation

pip install hanzo-tools-ide

Requirements

Install the Hanzo extension in your IDE:

  • VS Code/Cursor/Windsurf: Install "Hanzo AI" extension
  • JetBrains: Install "Hanzo AI" plugin
  • Neovim: Install hanzo.nvim plugin

Usage

from hanzo_tools.ide import IdeTool

ide = IdeTool()

# Connect to IDE (auto-detects)
await ide.call(action="connect")

# Open file
await ide.call(action="open", path="/src/main.py", line=42)

# Insert text
await ide.call(action="insert", text="# TODO: fix", line=10)

# Go to definition
await ide.call(action="go_to_definition", line=15, column=8)

# Rename symbol
await ide.call(action="rename", new_name="betterName", line=10, column=5)

# Run in terminal
await ide.call(action="terminal", command="npm test")

# Get diagnostics
await ide.call(action="diagnostics", severity="error")

# Execute VS Code command
await ide.call(action="command", command="editor.action.formatDocument")

Actions

Action Description Parameters
connect Connect to IDE ide?: vscode|cursor|jetbrains
status Check connection -
open Open file path, line?
close Close file path?
save Save file path?
files List open files -
select Set selection line, column, end_line?, end_column?
insert Insert text text, line, column?
replace Replace text text, line, column, end_line, end_column
get_text Get text line?, end_line?
go_to_definition Navigate line, column
find_references Find refs line, column
rename Rename symbol new_name, line, column
format Format doc -
diagnostics Get errors severity?
quick_fix Apply fix line, column, index?
command Execute cmd command, args?
terminal Terminal command?, name?
search Search query, include?, exclude?

License

MIT - Hanzo Industries Inc

Metadata

Release files for hanzo-tools-ide 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hanzo-tools-ide 0.1.0
File Size Uploaded
hanzo_tools_ide-0.1.0.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hanzo-tools-ide 0.1.0
File Interpreter ABI Platform
hanzo_tools_ide-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / hanzo_tools_ide-0.1.0.tar.gz

Download URL hanzo_tools_ide-0.1.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6737bb9c9e65157eb2660d6ddc363a653561f838cc94b60d40c864b747d40f52
BLAKE2b-256 checksum
How to use checksums
df10ca700250dfc63987635c339ab4caad7b6bde1fa79ac97f212b3a34b291e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / hanzo_tools_ide-0.1.0-py3-none-any.whl

Download URL hanzo_tools_ide-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b1a7fd381c6be5a265e1711b67bd007e1bc2ae5dc61e60bcbbc8d8e6a7d4bb7
BLAKE2b-256 checksum
How to use checksums
8801dc6ffba6b34403d8295a7225af55c2d891ca5db16cfb9420e76264145f75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page