Files
python-sdk/pkg/hanzo-tools-reasoning
zeekay 1725d71492 feat(tools): bidirectional HIP-0300 action sync across Python/TS/Rust
Sync all tool actions across all three language implementations:
- code: +8 actions (search_symbol, outline, metrics, exports, types, hierarchy, rename, grep_replace)
- fetch: +2 actions (request, open)
- think: restructured to 12 action-based handlers
- tasks: +12 actions (stats, search, batch, archive, move, prioritize, assign, subtasks, notes, export, import, delete)
- plan: +13 actions (create, show, list, next, archive, add_step, remove_step, estimate, visualize, clone, cancel, notes, progress)
- mode: +3 actions (switch alias, list_presets, select_preset)
- memory: +10 actions (search, stats, clear, export, import, merge, tag, untag, namespaces, history)
- fs: +1 action (mv)
- git: +21 actions (blame, show, stash, tag, remote, merge, rebase, cherry_pick, reset, clean, init, clone, fetch, pull, push, config, worktree, reflog, shortlog, rev_parse, describe, bisect)
2026-03-10 21:57:50 -07:00
..
2025-12-27 15:00:11 -08:00

hanzo-tools-reasoning

Reasoning and analysis tools for Hanzo MCP.

Installation

pip install hanzo-tools-reasoning

Tools

think - Structured Reasoning

Record thoughts for complex reasoning or brainstorming.

think(thought="Analyzing the architecture: The codebase uses...")

Use cases:

  • Bug exploration and fix brainstorming
  • Test failure analysis
  • Complex refactoring planning
  • Feature design decisions
  • Issue investigation

critic - Critical Analysis

Play devil's advocate and ensure high standards.

critic(analysis="Review this implementation for bugs and edge cases...")

What it checks:

  • Potential bugs and edge cases
  • Error handling gaps
  • Test coverage issues
  • Performance problems
  • Security vulnerabilities
  • Code quality and design

Example output:

Code Review Analysis:
- Implementation Issues:
  * No error handling for network failures
  * Race condition in concurrent updates
  
- Test Coverage Gaps:
  * No tests for error scenarios
  * Missing edge case: empty input
  
- Recommendations:
  1. Add retry logic with exponential backoff
  2. Use database transactions

License

MIT