agentfield 0.1.22rc2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- agentfield/__init__.py +66 -0
- agentfield/agent.py +3569 -0
- agentfield/agent_ai.py +1125 -0
- agentfield/agent_cli.py +386 -0
- agentfield/agent_field_handler.py +494 -0
- agentfield/agent_mcp.py +534 -0
- agentfield/agent_registry.py +29 -0
- agentfield/agent_server.py +1185 -0
- agentfield/agent_utils.py +269 -0
- agentfield/agent_workflow.py +323 -0
- agentfield/async_config.py +278 -0
- agentfield/async_execution_manager.py +1227 -0
- agentfield/client.py +1447 -0
- agentfield/connection_manager.py +280 -0
- agentfield/decorators.py +527 -0
- agentfield/did_manager.py +337 -0
- agentfield/dynamic_skills.py +304 -0
- agentfield/execution_context.py +255 -0
- agentfield/execution_state.py +453 -0
- agentfield/http_connection_manager.py +429 -0
- agentfield/litellm_adapters.py +140 -0
- agentfield/logger.py +249 -0
- agentfield/mcp_client.py +204 -0
- agentfield/mcp_manager.py +340 -0
- agentfield/mcp_stdio_bridge.py +550 -0
- agentfield/memory.py +723 -0
- agentfield/memory_events.py +489 -0
- agentfield/multimodal.py +173 -0
- agentfield/multimodal_response.py +403 -0
- agentfield/pydantic_utils.py +227 -0
- agentfield/rate_limiter.py +280 -0
- agentfield/result_cache.py +441 -0
- agentfield/router.py +190 -0
- agentfield/status.py +70 -0
- agentfield/types.py +710 -0
- agentfield/utils.py +26 -0
- agentfield/vc_generator.py +464 -0
- agentfield/vision.py +198 -0
- agentfield-0.1.22rc2.dist-info/METADATA +102 -0
- agentfield-0.1.22rc2.dist-info/RECORD +42 -0
- agentfield-0.1.22rc2.dist-info/WHEEL +5 -0
- agentfield-0.1.22rc2.dist-info/top_level.txt +1 -0
agentfield/__init__.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
from .agent import Agent
|
|
2
|
+
from .router import AgentRouter
|
|
3
|
+
from .types import (
|
|
4
|
+
AIConfig,
|
|
5
|
+
CompactDiscoveryResponse,
|
|
6
|
+
DiscoveryResponse,
|
|
7
|
+
DiscoveryResult,
|
|
8
|
+
MemoryConfig,
|
|
9
|
+
ReasonerDefinition,
|
|
10
|
+
SkillDefinition,
|
|
11
|
+
)
|
|
12
|
+
from .multimodal import (
|
|
13
|
+
Text,
|
|
14
|
+
Image,
|
|
15
|
+
Audio,
|
|
16
|
+
File,
|
|
17
|
+
MultimodalContent,
|
|
18
|
+
text,
|
|
19
|
+
image_from_file,
|
|
20
|
+
image_from_url,
|
|
21
|
+
audio_from_file,
|
|
22
|
+
audio_from_url,
|
|
23
|
+
file_from_path,
|
|
24
|
+
file_from_url,
|
|
25
|
+
)
|
|
26
|
+
from .multimodal_response import (
|
|
27
|
+
MultimodalResponse,
|
|
28
|
+
AudioOutput,
|
|
29
|
+
ImageOutput,
|
|
30
|
+
FileOutput,
|
|
31
|
+
detect_multimodal_response,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
__all__ = [
|
|
35
|
+
"Agent",
|
|
36
|
+
"AIConfig",
|
|
37
|
+
"MemoryConfig",
|
|
38
|
+
"ReasonerDefinition",
|
|
39
|
+
"SkillDefinition",
|
|
40
|
+
"DiscoveryResponse",
|
|
41
|
+
"CompactDiscoveryResponse",
|
|
42
|
+
"DiscoveryResult",
|
|
43
|
+
"AgentRouter",
|
|
44
|
+
# Input multimodal classes
|
|
45
|
+
"Text",
|
|
46
|
+
"Image",
|
|
47
|
+
"Audio",
|
|
48
|
+
"File",
|
|
49
|
+
"MultimodalContent",
|
|
50
|
+
# Convenience functions for input
|
|
51
|
+
"text",
|
|
52
|
+
"image_from_file",
|
|
53
|
+
"image_from_url",
|
|
54
|
+
"audio_from_file",
|
|
55
|
+
"audio_from_url",
|
|
56
|
+
"file_from_path",
|
|
57
|
+
"file_from_url",
|
|
58
|
+
# Output multimodal classes
|
|
59
|
+
"MultimodalResponse",
|
|
60
|
+
"AudioOutput",
|
|
61
|
+
"ImageOutput",
|
|
62
|
+
"FileOutput",
|
|
63
|
+
"detect_multimodal_response",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
__version__ = "0.1.22-rc.2"
|