Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
chore: trim verbose docstrings
Re-bina818fff8faaa
diff --git a/README.md b/README.mdindex 148c8f4d8..d2483e43b 100644--- a/README.md+++ b/README.md@@ -16,7 +16,7 @@⚡️ Delivers core agent functionality in just **~4,000** lines of code — **99% smaller** than Clawdbot's 430k+ lines.-📏 Real-time line count: **3,897 lines** (run `bash core_agent_lines.sh` to verify anytime)+📏 Real-time line count: **3,955 lines** (run `bash core_agent_lines.sh` to verify anytime)## 📢 Newsdiff --git a/nanobot/agent/tools/registry.py b/nanobot/agent/tools/registry.pyindex 8256a5914..3af4aef58 100644--- a/nanobot/agent/tools/registry.py+++ b/nanobot/agent/tools/registry.py@@ -36,19 +36,7 @@ class ToolRegistry:return [tool.to_schema() for tool in self._tools.values()]async def execute(self, name: str, params: dict[str, Any]) -> str:- """- Execute a tool by name with given parameters.-- Args:- name: Tool name.- params: Tool parameters.-- Returns:- Tool execution result as string.-- Raises:- KeyError: If tool not found.- """+ """Execute a tool by name with given parameters."""_HINT = "\n\n[Analyze the error above and try a different approach.]"tool = self._tools.get(name)diff --git a/nanobot/agent/tools/spawn.py b/nanobot/agent/tools/spawn.pyindex 5884a0731..33cf8e713 100644--- a/nanobot/agent/tools/spawn.py+++ b/nanobot/agent/tools/spawn.py@@ -9,12 +9,7 @@ if TYPE_CHECKING:class SpawnTool(Tool):- """- Tool to spawn a subagent for background task execution.-- The subagent runs asynchronously and announces its result back- to the main agent when complete.- """+ """Tool to spawn a subagent for background task execution."""def __init__(self, manager: "SubagentManager"):self._manager = manager