mirror of
https://github.com/hanzoai/agent.git
synced 2026-09-11 21:08:51 +00:00
hanzoai/agents carried the reconciled Go, TypeScript and Python SDKs: memory in Base with one record schema across all three, scope ids resolved the way the control plane resolves them, /v1 paths, one address per vector operation, agents that start under Express 5, and suites that run (Go green, 92 TypeScript, 527 Python). They come home here. The Go module is github.com/hanzoai/agent/sdk/go, because the path has to name the repository it is fetched from. The TypeScript manifest names its versions directly and keeps npm's lockfile; this repo is not a pnpm workspace. Versions are 0.2.10. Co-authored-by: Hanzo Dev <[email protected]>
84 lines
1.6 KiB
Python
84 lines
1.6 KiB
Python
from .agent import Agent
|
|
from .base_memory import BaseMemory
|
|
from .router import AgentRouter
|
|
from .types import (
|
|
AIConfig,
|
|
CompactDiscoveryResponse,
|
|
DiscoveryResponse,
|
|
DiscoveryResult,
|
|
MemoryConfig,
|
|
ReasonerDefinition,
|
|
SkillDefinition,
|
|
)
|
|
from .multimodal import (
|
|
Text,
|
|
Image,
|
|
Audio,
|
|
File,
|
|
MultimodalContent,
|
|
text,
|
|
image_from_file,
|
|
image_from_url,
|
|
audio_from_file,
|
|
audio_from_url,
|
|
file_from_path,
|
|
file_from_url,
|
|
)
|
|
from .multimodal_response import (
|
|
MultimodalResponse,
|
|
AudioOutput,
|
|
ImageOutput,
|
|
FileOutput,
|
|
detect_multimodal_response,
|
|
)
|
|
from .media_providers import (
|
|
MediaProvider,
|
|
FalProvider,
|
|
LLMProvider,
|
|
OpenRouterProvider,
|
|
get_provider,
|
|
register_provider,
|
|
)
|
|
|
|
__all__ = [
|
|
"BaseMemory",
|
|
"Agent",
|
|
"AIConfig",
|
|
"MemoryConfig",
|
|
"ReasonerDefinition",
|
|
"SkillDefinition",
|
|
"DiscoveryResponse",
|
|
"CompactDiscoveryResponse",
|
|
"DiscoveryResult",
|
|
"AgentRouter",
|
|
# Input multimodal classes
|
|
"Text",
|
|
"Image",
|
|
"Audio",
|
|
"File",
|
|
"MultimodalContent",
|
|
# Convenience functions for input
|
|
"text",
|
|
"image_from_file",
|
|
"image_from_url",
|
|
"audio_from_file",
|
|
"audio_from_url",
|
|
"file_from_path",
|
|
"file_from_url",
|
|
# Output multimodal classes
|
|
"MultimodalResponse",
|
|
"AudioOutput",
|
|
"ImageOutput",
|
|
"FileOutput",
|
|
"detect_multimodal_response",
|
|
# Media providers
|
|
"MediaProvider",
|
|
"FalProvider",
|
|
"LLMProvider",
|
|
"OpenRouterProvider",
|
|
"get_provider",
|
|
"register_provider",
|
|
]
|
|
|
|
__version__ = "0.2.10"
|