agentomatic 0.1.0__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 (55) hide show
  1. agentomatic/__init__.py +59 -0
  2. agentomatic/_version.py +5 -0
  3. agentomatic/cli/__init__.py +7 -0
  4. agentomatic/cli/commands.py +715 -0
  5. agentomatic/cli/templates.py +188 -0
  6. agentomatic/config/__init__.py +3 -0
  7. agentomatic/config/defaults.py +10 -0
  8. agentomatic/config/settings.py +117 -0
  9. agentomatic/core/__init__.py +31 -0
  10. agentomatic/core/lifespan.py +102 -0
  11. agentomatic/core/manifest.py +100 -0
  12. agentomatic/core/platform.py +571 -0
  13. agentomatic/core/registry.py +198 -0
  14. agentomatic/core/router_factory.py +541 -0
  15. agentomatic/core/state.py +63 -0
  16. agentomatic/middleware/__init__.py +18 -0
  17. agentomatic/middleware/auth.py +53 -0
  18. agentomatic/middleware/feedback.py +207 -0
  19. agentomatic/middleware/logging.py +40 -0
  20. agentomatic/middleware/metrics.py +93 -0
  21. agentomatic/middleware/rate_limit.py +70 -0
  22. agentomatic/observability/__init__.py +11 -0
  23. agentomatic/observability/concurrency.py +109 -0
  24. agentomatic/observability/metrics.py +101 -0
  25. agentomatic/observability/telemetry.py +316 -0
  26. agentomatic/optimize/__init__.py +112 -0
  27. agentomatic/optimize/dataset.py +142 -0
  28. agentomatic/optimize/loop.py +870 -0
  29. agentomatic/optimize/metrics.py +781 -0
  30. agentomatic/optimize/optimizer.py +891 -0
  31. agentomatic/optimize/report.py +774 -0
  32. agentomatic/optimize/runner.py +261 -0
  33. agentomatic/optimize/strategies.py +592 -0
  34. agentomatic/optimize/synthesizer.py +729 -0
  35. agentomatic/prompts/__init__.py +7 -0
  36. agentomatic/prompts/manager.py +59 -0
  37. agentomatic/protocols/__init__.py +3 -0
  38. agentomatic/protocols/decorators.py +75 -0
  39. agentomatic/providers/__init__.py +3 -0
  40. agentomatic/providers/embeddings.py +44 -0
  41. agentomatic/providers/llm.py +116 -0
  42. agentomatic/py.typed +1 -0
  43. agentomatic/storage/__init__.py +40 -0
  44. agentomatic/storage/base.py +192 -0
  45. agentomatic/storage/memory.py +167 -0
  46. agentomatic/storage/models.py +129 -0
  47. agentomatic/storage/sqlalchemy.py +317 -0
  48. agentomatic/ui/.chainlit/config.toml +14 -0
  49. agentomatic/ui/__init__.py +50 -0
  50. agentomatic/ui/chat.py +198 -0
  51. agentomatic-0.1.0.dist-info/METADATA +363 -0
  52. agentomatic-0.1.0.dist-info/RECORD +55 -0
  53. agentomatic-0.1.0.dist-info/WHEEL +4 -0
  54. agentomatic-0.1.0.dist-info/entry_points.txt +2 -0
  55. agentomatic-0.1.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,59 @@
1
+ """
2
+ Agentomatic — Drop agents, not code.
3
+
4
+ Zero-code multi-agent API platform framework.
5
+
6
+ Usage::
7
+
8
+ from agentomatic import AgentPlatform, AgentManifest
9
+
10
+ platform = AgentPlatform.from_folder("agents/")
11
+ app = platform.build()
12
+
13
+ # Run: uvicorn main:app --reload
14
+
15
+ With storage::
16
+
17
+ from agentomatic import AgentPlatform
18
+ from agentomatic.storage import MemoryStore, SQLAlchemyStore
19
+
20
+ platform = AgentPlatform.from_folder(
21
+ "agents/",
22
+ store=MemoryStore(), # or SQLAlchemyStore("postgresql+asyncpg://...")
23
+ enable_metrics=True,
24
+ enable_auth=True,
25
+ auth_api_key="secret",
26
+ )
27
+ """
28
+
29
+ from __future__ import annotations
30
+
31
+ # Version
32
+ from agentomatic._version import __version__
33
+
34
+ # Core public API
35
+ from agentomatic.core.manifest import AgentManifest, RegisteredAgent
36
+ from agentomatic.core.platform import AgentPlatform
37
+ from agentomatic.core.registry import AgentRegistry
38
+ from agentomatic.core.state import BaseAgentState
39
+ from agentomatic.prompts import PromptManager
40
+
41
+ # Protocols
42
+ from agentomatic.protocols.decorators import APIResponse, handle_api_errors, log_api_call
43
+
44
+ __all__ = [
45
+ # Core
46
+ "AgentPlatform",
47
+ "AgentManifest",
48
+ "RegisteredAgent",
49
+ "AgentRegistry",
50
+ "BaseAgentState",
51
+ # Protocols
52
+ "APIResponse",
53
+ "handle_api_errors",
54
+ "log_api_call",
55
+ # Prompts
56
+ "PromptManager",
57
+ # Version
58
+ "__version__",
59
+ ]
@@ -0,0 +1,5 @@
1
+ """Agentomatic version."""
2
+
3
+ from __future__ import annotations
4
+
5
+ __version__ = "0.1.0"
@@ -0,0 +1,7 @@
1
+ """Agentomatic CLI."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from .commands import cli
6
+
7
+ __all__ = ["cli"]