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.
Files changed (42) hide show
  1. agentfield/__init__.py +66 -0
  2. agentfield/agent.py +3569 -0
  3. agentfield/agent_ai.py +1125 -0
  4. agentfield/agent_cli.py +386 -0
  5. agentfield/agent_field_handler.py +494 -0
  6. agentfield/agent_mcp.py +534 -0
  7. agentfield/agent_registry.py +29 -0
  8. agentfield/agent_server.py +1185 -0
  9. agentfield/agent_utils.py +269 -0
  10. agentfield/agent_workflow.py +323 -0
  11. agentfield/async_config.py +278 -0
  12. agentfield/async_execution_manager.py +1227 -0
  13. agentfield/client.py +1447 -0
  14. agentfield/connection_manager.py +280 -0
  15. agentfield/decorators.py +527 -0
  16. agentfield/did_manager.py +337 -0
  17. agentfield/dynamic_skills.py +304 -0
  18. agentfield/execution_context.py +255 -0
  19. agentfield/execution_state.py +453 -0
  20. agentfield/http_connection_manager.py +429 -0
  21. agentfield/litellm_adapters.py +140 -0
  22. agentfield/logger.py +249 -0
  23. agentfield/mcp_client.py +204 -0
  24. agentfield/mcp_manager.py +340 -0
  25. agentfield/mcp_stdio_bridge.py +550 -0
  26. agentfield/memory.py +723 -0
  27. agentfield/memory_events.py +489 -0
  28. agentfield/multimodal.py +173 -0
  29. agentfield/multimodal_response.py +403 -0
  30. agentfield/pydantic_utils.py +227 -0
  31. agentfield/rate_limiter.py +280 -0
  32. agentfield/result_cache.py +441 -0
  33. agentfield/router.py +190 -0
  34. agentfield/status.py +70 -0
  35. agentfield/types.py +710 -0
  36. agentfield/utils.py +26 -0
  37. agentfield/vc_generator.py +464 -0
  38. agentfield/vision.py +198 -0
  39. agentfield-0.1.22rc2.dist-info/METADATA +102 -0
  40. agentfield-0.1.22rc2.dist-info/RECORD +42 -0
  41. agentfield-0.1.22rc2.dist-info/WHEEL +5 -0
  42. 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"