Browse Source

feat: tool examples

Howard 1 month ago
parent
commit
41e9b72b1d

+ 0 - 0
reson_agent/__init__.py → agent/__init__.py


+ 0 - 0
reson_agent/events.py → agent/events.py


+ 0 - 0
reson_agent/models/__init__.py → agent/models/__init__.py


+ 0 - 0
reson_agent/models/memory.py → agent/models/memory.py


+ 0 - 0
reson_agent/models/trace.py → agent/models/trace.py


+ 0 - 0
reson_agent/runner.py → agent/runner.py


+ 0 - 0
reson_agent/storage/__init__.py → agent/storage/__init__.py


+ 0 - 0
reson_agent/storage/memory_impl.py → agent/storage/memory_impl.py


+ 0 - 0
reson_agent/storage/protocols.py → agent/storage/protocols.py


+ 0 - 0
reson_agent/tools/__init__.py → agent/tools/__init__.py


+ 0 - 0
reson_agent/tools/registry.py → agent/tools/registry.py


+ 0 - 0
reson_agent/tools/schema.py → agent/tools/schema.py


+ 0 - 40
pyproject.toml

@@ -1,40 +0,0 @@
-[project]
-name = "reson-agent"
-version = "0.1.0"
-description = "Extensible, learnable Agent framework with execution tracing and memory"
-readme = "README.md"
-requires-python = ">=3.10"
-license = {text = "MIT"}
-authors = [
-    {name = "Resonote Team"}
-]
-keywords = ["agent", "llm", "ai", "memory", "trace"]
-
-dependencies = [
-    "docstring-parser>=0.15",  # 用于解析函数 docstring 生成 schema
-]
-
-[project.optional-dependencies]
-postgres = ["asyncpg>=0.29"]
-redis = ["redis>=5.0"]
-openai = ["openai>=1.0"]
-dev = [
-    "pytest>=7.0",
-    "pytest-asyncio>=0.21",
-]
-all = [
-    "asyncpg>=0.29",
-    "redis>=5.0",
-    "openai>=1.0",
-]
-
-[build-system]
-requires = ["hatchling"]
-build-backend = "hatchling.build"
-
-[tool.hatch.build.targets.wheel]
-packages = ["reson_agent"]
-
-[tool.pytest.ini_options]
-asyncio_mode = "auto"
-testpaths = ["tests"]