feat(python): add zeroclaw-tools companion package for LangGraph tool calling
- Add Python package with LangGraph-based agent for consistent tool calling - Provides reliable tool execution for providers with inconsistent native support - Includes tools: shell, file_read, file_write, web_search, http_request, memory - Discord bot integration included - CLI tool for quick interactions - Works with any OpenAI-compatible provider (Z.AI, OpenRouter, Groq, etc.) Why: Some LLM providers (e.g., GLM-5/Zhipu) have inconsistent tool calling behavior. LangGraph's structured approach guarantees reliable tool execution across all providers.
This commit is contained in:
parent
bc38994867
commit
e5ef8a3b62
17 changed files with 1371 additions and 0 deletions
20
python/zeroclaw_tools/tools/__init__.py
Normal file
20
python/zeroclaw_tools/tools/__init__.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
"""
|
||||
Built-in tools for ZeroClaw agents.
|
||||
"""
|
||||
|
||||
from .base import tool
|
||||
from .shell import shell
|
||||
from .file import file_read, file_write
|
||||
from .web import web_search, http_request
|
||||
from .memory import memory_store, memory_recall
|
||||
|
||||
__all__ = [
|
||||
"tool",
|
||||
"shell",
|
||||
"file_read",
|
||||
"file_write",
|
||||
"web_search",
|
||||
"http_request",
|
||||
"memory_store",
|
||||
"memory_recall",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue