- harness/es.py: append-only event store + проекции (образец — кооп-портал) - harness/levels.py: уровни 1с/1м/1ч/1д, контекст ∝ масштабу - harness/scheduler.py: уровневые потоки, идемпотентные тики, absorbed-стабы - harness/isolated_runner.py + _llm_worker.py: LLM-тик в сабпроцессе (глобальный asyncio-рантайм Strands не переживает 2+ create_harness) - cli.py: init/task/tasks/status/events + requeue (написан самим минутным агентом) - 9router: отдельный ключ sk-simbiot, модель auto (glm-5.3 первым)
19 lines
575 B
Python
19 lines
575 B
Python
"""Agent tool interfaces and utilities.
|
|
|
|
This module provides the core functionality for creating, managing, and executing tools through agents.
|
|
"""
|
|
|
|
from .decorator import tool
|
|
from .structured_output import convert_pydantic_to_tool_spec
|
|
from .tool_provider import ToolProvider
|
|
from .tools import InvalidToolUseNameException, PythonAgentTool, normalize_schema, normalize_tool_spec
|
|
|
|
__all__ = [
|
|
"tool",
|
|
"PythonAgentTool",
|
|
"InvalidToolUseNameException",
|
|
"normalize_schema",
|
|
"normalize_tool_spec",
|
|
"convert_pydantic_to_tool_spec",
|
|
"ToolProvider",
|
|
]
|