chimera-agent 0.4.1__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 (179) hide show
  1. chimera/__init__.py +19 -0
  2. chimera/cli/__init__.py +1 -0
  3. chimera/cli/main.py +3239 -0
  4. chimera/config.py +281 -0
  5. chimera/core/__init__.py +90 -0
  6. chimera/core/agent.py +194 -0
  7. chimera/core/autonomous.py +585 -0
  8. chimera/core/checklist.py +115 -0
  9. chimera/core/checkpoint.py +98 -0
  10. chimera/core/contract.py +122 -0
  11. chimera/core/events.py +53 -0
  12. chimera/core/explorer.py +197 -0
  13. chimera/core/ledger.py +135 -0
  14. chimera/core/planner.py +53 -0
  15. chimera/core/repomap.py +101 -0
  16. chimera/core/runstate.py +88 -0
  17. chimera/core/spine.py +85 -0
  18. chimera/core/strong_verify.py +63 -0
  19. chimera/core/subagent.py +96 -0
  20. chimera/core/supervisor.py +104 -0
  21. chimera/core/verify.py +60 -0
  22. chimera/core/worktree.py +124 -0
  23. chimera/deliver.py +41 -0
  24. chimera/ecosystem/__init__.py +64 -0
  25. chimera/ecosystem/change_queue.py +58 -0
  26. chimera/ecosystem/events.py +53 -0
  27. chimera/ecosystem/evolution.py +258 -0
  28. chimera/ecosystem/loop.py +216 -0
  29. chimera/ecosystem/meta_agent.py +119 -0
  30. chimera/ecosystem/spec.py +100 -0
  31. chimera/ecosystem/trajectory.py +119 -0
  32. chimera/eval/__init__.py +137 -0
  33. chimera/eval/anytime.py +58 -0
  34. chimera/eval/bench_ab.py +110 -0
  35. chimera/eval/chained.py +72 -0
  36. chimera/eval/continuous.py +293 -0
  37. chimera/eval/evoclaw.py +126 -0
  38. chimera/eval/fusion_ab.py +109 -0
  39. chimera/eval/hard.py +88 -0
  40. chimera/eval/injection.py +154 -0
  41. chimera/eval/memory_bench.py +109 -0
  42. chimera/eval/rubric.py +95 -0
  43. chimera/eval/rubric_grade.py +131 -0
  44. chimera/eval/sandbox.py +151 -0
  45. chimera/eval/scenarios.py +99 -0
  46. chimera/eval/schema_ab.py +139 -0
  47. chimera/eval/skillcard_ab.py +165 -0
  48. chimera/eval/spec_tuning.py +28 -0
  49. chimera/eval/swe_bench.py +157 -0
  50. chimera/eval/terminal_bench.py +143 -0
  51. chimera/evolution/__init__.py +79 -0
  52. chimera/evolution/attribution.py +67 -0
  53. chimera/evolution/auto_evolve.py +185 -0
  54. chimera/evolution/card_retrieval.py +114 -0
  55. chimera/evolution/collective.py +90 -0
  56. chimera/evolution/edit_diagnostic.py +70 -0
  57. chimera/evolution/evolver.py +196 -0
  58. chimera/evolution/experience.py +109 -0
  59. chimera/evolution/gepa.py +305 -0
  60. chimera/evolution/learned_skill.py +146 -0
  61. chimera/evolution/playbook.py +282 -0
  62. chimera/evolution/skill_nudges.py +63 -0
  63. chimera/evolution/skill_store.py +152 -0
  64. chimera/evolution/stagnation.py +150 -0
  65. chimera/features.py +109 -0
  66. chimera/fusion/__init__.py +33 -0
  67. chimera/fusion/consistency.py +154 -0
  68. chimera/fusion/engine.py +356 -0
  69. chimera/fusion/router.py +213 -0
  70. chimera/fusion/verifier_select.py +98 -0
  71. chimera/governance/__init__.py +90 -0
  72. chimera/governance/actors.py +90 -0
  73. chimera/governance/allowlist.py +65 -0
  74. chimera/governance/audit.py +40 -0
  75. chimera/governance/drift.py +118 -0
  76. chimera/governance/governed_tool.py +52 -0
  77. chimera/governance/kernel.py +78 -0
  78. chimera/governance/ledger.py +240 -0
  79. chimera/governance/ledger_tool.py +157 -0
  80. chimera/governance/policy.py +91 -0
  81. chimera/governance/precedent.py +99 -0
  82. chimera/governance/quarantine.py +153 -0
  83. chimera/governance/validator.py +79 -0
  84. chimera/integrations/__init__.py +54 -0
  85. chimera/integrations/a2a.py +243 -0
  86. chimera/integrations/connectors.py +59 -0
  87. chimera/integrations/mcp_client.py +204 -0
  88. chimera/integrations/messaging.py +75 -0
  89. chimera/integrations/openapi.py +245 -0
  90. chimera/interface/__init__.py +10 -0
  91. chimera/interface/session.py +103 -0
  92. chimera/kanban/__init__.py +26 -0
  93. chimera/kanban/board.py +72 -0
  94. chimera/kanban/dispatch.py +66 -0
  95. chimera/kanban/lanes.py +67 -0
  96. chimera/kanban/models.py +24 -0
  97. chimera/memory/__init__.py +35 -0
  98. chimera/memory/consolidate.py +73 -0
  99. chimera/memory/gate.py +52 -0
  100. chimera/memory/graph.py +152 -0
  101. chimera/memory/manager.py +236 -0
  102. chimera/memory/models.py +27 -0
  103. chimera/memory/nudges.py +70 -0
  104. chimera/memory/semantic.py +68 -0
  105. chimera/memory/sqlite_store.py +110 -0
  106. chimera/memory/store.py +63 -0
  107. chimera/memory/value.py +55 -0
  108. chimera/migration/__init__.py +23 -0
  109. chimera/migration/base.py +203 -0
  110. chimera/migration/importers.py +48 -0
  111. chimera/orchestration/__init__.py +57 -0
  112. chimera/orchestration/comms.py +58 -0
  113. chimera/orchestration/crew.py +255 -0
  114. chimera/orchestration/isolation.py +184 -0
  115. chimera/orchestration/lifecycle.py +139 -0
  116. chimera/orchestration/roles.py +78 -0
  117. chimera/pet.py +92 -0
  118. chimera/providers/__init__.py +19 -0
  119. chimera/providers/cache.py +69 -0
  120. chimera/providers/gateway.py +439 -0
  121. chimera/sandbox/__init__.py +34 -0
  122. chimera/sandbox/base.py +25 -0
  123. chimera/sandbox/docker.py +86 -0
  124. chimera/sandbox/local.py +53 -0
  125. chimera/scheduler/__init__.py +21 -0
  126. chimera/scheduler/daemon.py +111 -0
  127. chimera/scheduler/engine.py +179 -0
  128. chimera/scheduler/learner.py +101 -0
  129. chimera/scheduler/models.py +32 -0
  130. chimera/scheduler/store.py +72 -0
  131. chimera/server/__init__.py +39 -0
  132. chimera/server/discord_adapter.py +139 -0
  133. chimera/server/gateway.py +89 -0
  134. chimera/server/http.py +156 -0
  135. chimera/server/mcp_server.py +126 -0
  136. chimera/server/signal_adapter.py +96 -0
  137. chimera/server/slack_adapter.py +114 -0
  138. chimera/server/telegram_adapter.py +112 -0
  139. chimera/server/whatsapp.py +104 -0
  140. chimera/skills/__init__.py +28 -0
  141. chimera/skills/base.py +86 -0
  142. chimera/skills/builtin/__init__.py +39 -0
  143. chimera/skills/builtin/code_skills.py +76 -0
  144. chimera/skills/builtin/echo_skill.py +26 -0
  145. chimera/skills/llm_skill.py +46 -0
  146. chimera/skills/registry.py +62 -0
  147. chimera/skills/retrieval.py +46 -0
  148. chimera/telemetry.py +45 -0
  149. chimera/tools/__init__.py +41 -0
  150. chimera/tools/base.py +42 -0
  151. chimera/tools/browser.py +134 -0
  152. chimera/tools/browser_playwright.py +88 -0
  153. chimera/tools/builtin.py +102 -0
  154. chimera/tools/calendar.py +70 -0
  155. chimera/tools/code.py +99 -0
  156. chimera/tools/documents.py +68 -0
  157. chimera/tools/edit.py +153 -0
  158. chimera/tools/email.py +88 -0
  159. chimera/tools/files.py +77 -0
  160. chimera/tools/http.py +37 -0
  161. chimera/tools/media.py +113 -0
  162. chimera/tools/registry.py +66 -0
  163. chimera/tools/research.py +99 -0
  164. chimera/tools/schema_compact.py +93 -0
  165. chimera/tools/search.py +106 -0
  166. chimera/tools/shell.py +80 -0
  167. chimera/tools/web.py +57 -0
  168. chimera/tools/workspace.py +26 -0
  169. chimera/tui/__init__.py +1 -0
  170. chimera/tui/app.py +78 -0
  171. chimera/workflow/__init__.py +40 -0
  172. chimera/workflow/executors.py +82 -0
  173. chimera/workflow/models.py +35 -0
  174. chimera/workflow/runner.py +91 -0
  175. chimera_agent-0.4.1.dist-info/METADATA +311 -0
  176. chimera_agent-0.4.1.dist-info/RECORD +179 -0
  177. chimera_agent-0.4.1.dist-info/WHEEL +4 -0
  178. chimera_agent-0.4.1.dist-info/entry_points.txt +2 -0
  179. chimera_agent-0.4.1.dist-info/licenses/LICENSE +201 -0
chimera/__init__.py ADDED
@@ -0,0 +1,19 @@
1
+ """Chimera — a self-evolving AI agent with an LLM-Fusion reasoning core.
2
+
3
+ See the architecture overview in the project README. The package is organized
4
+ into focused subsystems (core, fusion, memory, skills, tools, integrations,
5
+ scheduler, migration, evolution, governance, orchestration, providers, sandbox,
6
+ eval) plus the CLI/TUI/server interfaces.
7
+ """
8
+
9
+ from importlib.metadata import PackageNotFoundError
10
+ from importlib.metadata import version as _pkg_version
11
+
12
+ try:
13
+ # Single source of truth: the installed package metadata (pyproject `version`),
14
+ # so `chimera version` / doctor / the A2A card never drift from the release.
15
+ __version__ = _pkg_version("chimera-agent")
16
+ except PackageNotFoundError: # running from a source tree without an install
17
+ __version__ = "0.0.0+source"
18
+
19
+ __all__ = ["__version__"]
@@ -0,0 +1 @@
1
+ """Command-line interface (CLI-first). Entry point: ``chimera`` -> chimera.cli.main:app."""