talos-runtime 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 (103) hide show
  1. talos/__init__.py +42 -0
  2. talos/agent.py +1228 -0
  3. talos/api/__init__.py +3 -0
  4. talos/api/app.py +1331 -0
  5. talos/api/contracts.py +198 -0
  6. talos/api/extension_routes.py +67 -0
  7. talos/api/model_routes.py +57 -0
  8. talos/api/server.py +127 -0
  9. talos/capabilities.py +92 -0
  10. talos/cli/__init__.py +1 -0
  11. talos/cli/api_client.py +194 -0
  12. talos/cli/arguments.py +100 -0
  13. talos/cli/bootstrap.py +80 -0
  14. talos/cli/doctor_bridge.py +34 -0
  15. talos/cli/doctor_host.py +83 -0
  16. talos/cli/entrypoints.py +46 -0
  17. talos/cli/environment.py +51 -0
  18. talos/cli/extensions.py +178 -0
  19. talos/cli/main.py +284 -0
  20. talos/cli/phase3.py +334 -0
  21. talos/cli/phase4.py +94 -0
  22. talos/cli/phase5.py +76 -0
  23. talos/cli/phase6.py +132 -0
  24. talos/cli/phase7.py +157 -0
  25. talos/cli/prompting.py +72 -0
  26. talos/cli/rendering.py +70 -0
  27. talos/cli/routing.py +70 -0
  28. talos/cli/scaffold.py +55 -0
  29. talos/cli/shell.py +414 -0
  30. talos/config.py +684 -0
  31. talos/context_window.py +99 -0
  32. talos/conversation_titles.py +24 -0
  33. talos/conversations.py +74 -0
  34. talos/credentials.py +91 -0
  35. talos/diagnostics.py +71 -0
  36. talos/domain.py +75 -0
  37. talos/embeddings.py +73 -0
  38. talos/errors.py +49 -0
  39. talos/evaluation.py +346 -0
  40. talos/event_store.py +59 -0
  41. talos/events.py +45 -0
  42. talos/extensions.py +199 -0
  43. talos/graph.py +539 -0
  44. talos/guardrails.py +486 -0
  45. talos/knowledge.py +500 -0
  46. talos/memory.py +233 -0
  47. talos/model_credentials.py +81 -0
  48. talos/model_profiles.py +214 -0
  49. talos/observability.py +645 -0
  50. talos/pdf_extract.py +74 -0
  51. talos/persistence/__init__.py +5 -0
  52. talos/persistence/approvals.py +149 -0
  53. talos/persistence/database.py +26 -0
  54. talos/persistence/evaluation.py +624 -0
  55. talos/persistence/guardrails.py +47 -0
  56. talos/persistence/knowledge.py +467 -0
  57. talos/persistence/memory.py +108 -0
  58. talos/persistence/models.py +358 -0
  59. talos/persistence/repository.py +397 -0
  60. talos/persistence/runtime_settings.py +40 -0
  61. talos/persistence/stores.py +401 -0
  62. talos/providers/__init__.py +14 -0
  63. talos/providers/base.py +45 -0
  64. talos/providers/factory.py +36 -0
  65. talos/providers/fake.py +46 -0
  66. talos/providers/openai.py +5 -0
  67. talos/providers/openai_compatible.py +146 -0
  68. talos/reliability.py +75 -0
  69. talos/repository.py +275 -0
  70. talos/repository_index.py +204 -0
  71. talos/retrieval.py +244 -0
  72. talos/skill_management.py +81 -0
  73. talos/skills.py +87 -0
  74. talos/telemetry.py +87 -0
  75. talos/templates/.env.example +143 -0
  76. talos/templates/config/capabilities.yaml +22 -0
  77. talos/templates/config/extensions.yaml +2 -0
  78. talos/templates/config/guardrails.yaml +61 -0
  79. talos/templates/config/models.yaml +24 -0
  80. talos/templates/config/pipelines/simple-chat.yaml +31 -0
  81. talos/templates/config/prompts/default-system.md +3 -0
  82. talos/templates/config/prompts/knowledge-context.md +6 -0
  83. talos/templates/config/prompts.yaml +6 -0
  84. talos/templates/config/providers.yaml +21 -0
  85. talos/templates/config/rag.yaml +34 -0
  86. talos/templates/config/reliability.yaml +13 -0
  87. talos/templates/config/skills.yaml +6 -0
  88. talos/templates/config/tools.yaml +19 -0
  89. talos/templates/skills/concise-explainer.md +12 -0
  90. talos/templates/talos.example.yaml +41 -0
  91. talos/tools/__init__.py +3 -0
  92. talos/tools/builtins.py +59 -0
  93. talos/tools/declarative.py +165 -0
  94. talos/tools/runtime.py +301 -0
  95. talos/tools/sandbox.py +150 -0
  96. talos/why.py +355 -0
  97. talos/worker.py +218 -0
  98. talos_runtime-0.1.0.dist-info/METADATA +251 -0
  99. talos_runtime-0.1.0.dist-info/RECORD +103 -0
  100. talos_runtime-0.1.0.dist-info/WHEEL +4 -0
  101. talos_runtime-0.1.0.dist-info/entry_points.txt +3 -0
  102. talos_runtime-0.1.0.dist-info/licenses/LICENSE +202 -0
  103. talos_runtime-0.1.0.dist-info/licenses/NOTICE +7 -0
talos/__init__.py ADDED
@@ -0,0 +1,42 @@
1
+ from talos.agent import TalosAgent
2
+ from talos.config import ExecutionBudgets, TalosConfig
3
+ from talos.domain import ConfigurationSnapshot, RunResult, Usage
4
+ from talos.errors import (
5
+ ConfigurationError,
6
+ ConversationNotFoundError,
7
+ ExecutionBudgetExceededError,
8
+ ExecutionTimeoutError,
9
+ ProviderAuthenticationError,
10
+ ProviderError,
11
+ RunCancelledError,
12
+ TalosError,
13
+ )
14
+ from talos.events import EventType, RuntimeEvent
15
+ from talos.knowledge import KnowledgeService
16
+ from talos.providers import FakeModelProvider, ModelProvider
17
+ from talos.skills import Skill
18
+ from talos.tools import tool
19
+
20
+ __all__ = [
21
+ "ConfigurationError",
22
+ "ConfigurationSnapshot",
23
+ "ConversationNotFoundError",
24
+ "EventType",
25
+ "ExecutionBudgetExceededError",
26
+ "ExecutionTimeoutError",
27
+ "ExecutionBudgets",
28
+ "FakeModelProvider",
29
+ "ModelProvider",
30
+ "KnowledgeService",
31
+ "ProviderAuthenticationError",
32
+ "ProviderError",
33
+ "RunCancelledError",
34
+ "RunResult",
35
+ "RuntimeEvent",
36
+ "TalosAgent",
37
+ "TalosConfig",
38
+ "Skill",
39
+ "tool",
40
+ "TalosError",
41
+ "Usage",
42
+ ]