From d0bbd8aeea139ca4bf4ed37020c71c60a65f0a95 Mon Sep 17 00:00:00 2001 From: batsumaru <> Date: Fri, 11 Sep 2026 17:39:50 +0900 Subject: Added weather, file system, and memory --- client.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'client.py') diff --git a/client.py b/client.py index 8d6829d..0cbd91c 100644 --- a/client.py +++ b/client.py @@ -1,7 +1,14 @@ from agent import Agent from identity import load_agent_identity, load_user_profile from llm import LLM -from tools import CalculatorTool, HelloTool, ToolRegistry +from tools import ( + CalculatorTool, + FileSystemListTool, + FileSystemReadTool, + HelloTool, + ToolRegistry, + WeatherTool, +) llm = LLM( "http://localhost:8080/v1/chat/completions", @@ -13,6 +20,9 @@ user_profile = load_user_profile("user.toml") tools = ToolRegistry() tools.register(HelloTool()) tools.register(CalculatorTool()) +tools.register(WeatherTool()) +tools.register(FileSystemListTool()) +tools.register(FileSystemReadTool()) agent = Agent( llm, @@ -26,6 +36,6 @@ while True: if user_input.lower() in {"exit", "quit"}: break - + answer = agent.chat(user_input) print(f"Agent: {answer}") -- cgit v1.3