hyperagents 1.2.3rc5.post3__tar.gz

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 (367) hide show
  1. hyperagents-1.2.3rc5.post3/LICENSE +21 -0
  2. hyperagents-1.2.3rc5.post3/MANIFEST.in +7 -0
  3. hyperagents-1.2.3rc5.post3/PKG-INFO +469 -0
  4. hyperagents-1.2.3rc5.post3/README.md +430 -0
  5. hyperagents-1.2.3rc5.post3/agents/__init__.py +31 -0
  6. hyperagents-1.2.3rc5.post3/agents/background_monitor.py +453 -0
  7. hyperagents-1.2.3rc5.post3/agents/learning.py +460 -0
  8. hyperagents-1.2.3rc5.post3/agents/planner.py +421 -0
  9. hyperagents-1.2.3rc5.post3/agents/transcriber.py +341 -0
  10. hyperagents-1.2.3rc5.post3/civilization/__init__.py +51 -0
  11. hyperagents-1.2.3rc5.post3/civilization/api/__init__.py +7 -0
  12. hyperagents-1.2.3rc5.post3/civilization/api/civilization_api.py +361 -0
  13. hyperagents-1.2.3rc5.post3/civilization/graph/__init__.py +19 -0
  14. hyperagents-1.2.3rc5.post3/civilization/graph/knowledge_linker.py +348 -0
  15. hyperagents-1.2.3rc5.post3/civilization/graph/org_graph.py +348 -0
  16. hyperagents-1.2.3rc5.post3/civilization/graph/process_graph.py +386 -0
  17. hyperagents-1.2.3rc5.post3/civilization/ingestion/__init__.py +20 -0
  18. hyperagents-1.2.3rc5.post3/civilization/ingestion/chunker.py +273 -0
  19. hyperagents-1.2.3rc5.post3/civilization/ingestion/document_ingestor.py +358 -0
  20. hyperagents-1.2.3rc5.post3/civilization/ingestion/embedder.py +262 -0
  21. hyperagents-1.2.3rc5.post3/civilization/ingestion/extractor.py +224 -0
  22. hyperagents-1.2.3rc5.post3/civilization/interview/__init__.py +19 -0
  23. hyperagents-1.2.3rc5.post3/civilization/interview/gap_detector.py +380 -0
  24. hyperagents-1.2.3rc5.post3/civilization/interview/interviewer.py +323 -0
  25. hyperagents-1.2.3rc5.post3/civilization/interview/questioner.py +363 -0
  26. hyperagents-1.2.3rc5.post3/civilization/retrieval/__init__.py +17 -0
  27. hyperagents-1.2.3rc5.post3/civilization/retrieval/civilization_rag.py +316 -0
  28. hyperagents-1.2.3rc5.post3/civilization/retrieval/context_injector.py +342 -0
  29. hyperagents-1.2.3rc5.post3/civilization/retrieval/relevance_ranker.py +287 -0
  30. hyperagents-1.2.3rc5.post3/civilization/schema.py +299 -0
  31. hyperagents-1.2.3rc5.post3/civilization/store.py +177 -0
  32. hyperagents-1.2.3rc5.post3/civilization/sync/__init__.py +16 -0
  33. hyperagents-1.2.3rc5.post3/civilization/sync/confluence_sync.py +317 -0
  34. hyperagents-1.2.3rc5.post3/civilization/sync/gdrive_sync.py +262 -0
  35. hyperagents-1.2.3rc5.post3/civilization/sync/notion_sync.py +237 -0
  36. hyperagents-1.2.3rc5.post3/civilization/versioning/__init__.py +19 -0
  37. hyperagents-1.2.3rc5.post3/civilization/versioning/diff_engine.py +351 -0
  38. hyperagents-1.2.3rc5.post3/civilization/versioning/staleness_detector.py +303 -0
  39. hyperagents-1.2.3rc5.post3/civilization/versioning/version_manager.py +293 -0
  40. hyperagents-1.2.3rc5.post3/cli/__init__.py +1 -0
  41. hyperagents-1.2.3rc5.post3/cli/doctor.py +334 -0
  42. hyperagents-1.2.3rc5.post3/cli/hyperclaw.py +1357 -0
  43. hyperagents-1.2.3rc5.post3/cli/onboarding.py +469 -0
  44. hyperagents-1.2.3rc5.post3/core/__init__.py +1 -0
  45. hyperagents-1.2.3rc5.post3/core/connectors/__init__.py +119 -0
  46. hyperagents-1.2.3rc5.post3/core/connectors/infrastructure.py +772 -0
  47. hyperagents-1.2.3rc5.post3/core/connectors/messaging.py +586 -0
  48. hyperagents-1.2.3rc5.post3/core/connectors/productivity.py +764 -0
  49. hyperagents-1.2.3rc5.post3/core/connectors/smarthome.py +528 -0
  50. hyperagents-1.2.3rc5.post3/core/connectors/social.py +730 -0
  51. hyperagents-1.2.3rc5.post3/core/hyperrouter/__init__.py +23 -0
  52. hyperagents-1.2.3rc5.post3/core/hyperrouter/bandit.py +218 -0
  53. hyperagents-1.2.3rc5.post3/core/hyperrouter/fast_loop.py +68 -0
  54. hyperagents-1.2.3rc5.post3/core/hyperrouter/slow_loop.py +143 -0
  55. hyperagents-1.2.3rc5.post3/core/hyperstate/__init__.py +24 -0
  56. hyperagents-1.2.3rc5.post3/core/hyperstate/certifier.py +154 -0
  57. hyperagents-1.2.3rc5.post3/core/hyperstate/schema.py +160 -0
  58. hyperagents-1.2.3rc5.post3/core/hyperstate/state_manager.py +103 -0
  59. hyperagents-1.2.3rc5.post3/core/hyperstate/store.py +163 -0
  60. hyperagents-1.2.3rc5.post3/core/providers/__init__.py +121 -0
  61. hyperagents-1.2.3rc5.post3/core/providers/embeddings.py +389 -0
  62. hyperagents-1.2.3rc5.post3/core/providers/image.py +534 -0
  63. hyperagents-1.2.3rc5.post3/core/providers/llm.py +1935 -0
  64. hyperagents-1.2.3rc5.post3/core/providers/search.py +608 -0
  65. hyperagents-1.2.3rc5.post3/core/providers/voice.py +474 -0
  66. hyperagents-1.2.3rc5.post3/hyperagents.egg-info/PKG-INFO +469 -0
  67. hyperagents-1.2.3rc5.post3/hyperagents.egg-info/SOURCES.txt +365 -0
  68. hyperagents-1.2.3rc5.post3/hyperagents.egg-info/dependency_links.txt +1 -0
  69. hyperagents-1.2.3rc5.post3/hyperagents.egg-info/entry_points.txt +6 -0
  70. hyperagents-1.2.3rc5.post3/hyperagents.egg-info/requires.txt +26 -0
  71. hyperagents-1.2.3rc5.post3/hyperagents.egg-info/top_level.txt +13 -0
  72. hyperagents-1.2.3rc5.post3/hyperclaw/__init__.py +67 -0
  73. hyperagents-1.2.3rc5.post3/hyperclaw/__main__.py +220 -0
  74. hyperagents-1.2.3rc5.post3/hyperclaw/agent.py +775 -0
  75. hyperagents-1.2.3rc5.post3/hyperclaw/agent_coordinator.py +577 -0
  76. hyperagents-1.2.3rc5.post3/hyperclaw/anthropic_params.py +225 -0
  77. hyperagents-1.2.3rc5.post3/hyperclaw/api_utils.py +85 -0
  78. hyperagents-1.2.3rc5.post3/hyperclaw/approval_telegram.py +209 -0
  79. hyperagents-1.2.3rc5.post3/hyperclaw/approval_terminal.py +80 -0
  80. hyperagents-1.2.3rc5.post3/hyperclaw/attachments.py +177 -0
  81. hyperagents-1.2.3rc5.post3/hyperclaw/branding.py +55 -0
  82. hyperagents-1.2.3rc5.post3/hyperclaw/brief/__init__.py +11 -0
  83. hyperagents-1.2.3rc5.post3/hyperclaw/brief/cli.py +204 -0
  84. hyperagents-1.2.3rc5.post3/hyperclaw/brief/collect.py +146 -0
  85. hyperagents-1.2.3rc5.post3/hyperclaw/brief/compose.py +333 -0
  86. hyperagents-1.2.3rc5.post3/hyperclaw/brief/diff.py +110 -0
  87. hyperagents-1.2.3rc5.post3/hyperclaw/brief/errors.py +99 -0
  88. hyperagents-1.2.3rc5.post3/hyperclaw/brief/google.py +269 -0
  89. hyperagents-1.2.3rc5.post3/hyperclaw/brief/google_auth.py +294 -0
  90. hyperagents-1.2.3rc5.post3/hyperclaw/brief/links.py +124 -0
  91. hyperagents-1.2.3rc5.post3/hyperclaw/brief/service.py +424 -0
  92. hyperagents-1.2.3rc5.post3/hyperclaw/brief/store.py +205 -0
  93. hyperagents-1.2.3rc5.post3/hyperclaw/brief/tasks.py +200 -0
  94. hyperagents-1.2.3rc5.post3/hyperclaw/chat_scope.py +115 -0
  95. hyperagents-1.2.3rc5.post3/hyperclaw/cli_tui.py +497 -0
  96. hyperagents-1.2.3rc5.post3/hyperclaw/client_guard.py +717 -0
  97. hyperagents-1.2.3rc5.post3/hyperclaw/connection_check.py +113 -0
  98. hyperagents-1.2.3rc5.post3/hyperclaw/cost_guard.py +1728 -0
  99. hyperagents-1.2.3rc5.post3/hyperclaw/default_config/agents.yaml +534 -0
  100. hyperagents-1.2.3rc5.post3/hyperclaw/default_config/hyperclaw.yaml +27 -0
  101. hyperagents-1.2.3rc5.post3/hyperclaw/default_config/models.yaml +161 -0
  102. hyperagents-1.2.3rc5.post3/hyperclaw/deployment.py +39 -0
  103. hyperagents-1.2.3rc5.post3/hyperclaw/digest/__init__.py +9 -0
  104. hyperagents-1.2.3rc5.post3/hyperclaw/digest/cli.py +117 -0
  105. hyperagents-1.2.3rc5.post3/hyperclaw/digest/errors.py +100 -0
  106. hyperagents-1.2.3rc5.post3/hyperclaw/digest/gitlab.py +187 -0
  107. hyperagents-1.2.3rc5.post3/hyperclaw/digest/http.py +113 -0
  108. hyperagents-1.2.3rc5.post3/hyperclaw/digest/redact.py +32 -0
  109. hyperagents-1.2.3rc5.post3/hyperclaw/digest/service.py +271 -0
  110. hyperagents-1.2.3rc5.post3/hyperclaw/digest/slack.py +223 -0
  111. hyperagents-1.2.3rc5.post3/hyperclaw/digest/state.py +124 -0
  112. hyperagents-1.2.3rc5.post3/hyperclaw/digest/summarize.py +198 -0
  113. hyperagents-1.2.3rc5.post3/hyperclaw/digest/tokens.py +143 -0
  114. hyperagents-1.2.3rc5.post3/hyperclaw/distribution.py +46 -0
  115. hyperagents-1.2.3rc5.post3/hyperclaw/documents.py +351 -0
  116. hyperagents-1.2.3rc5.post3/hyperclaw/feeds.py +339 -0
  117. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/__init__.py +5 -0
  118. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/api.py +151 -0
  119. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/auth.py +397 -0
  120. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/calendar.py +157 -0
  121. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/cli.py +72 -0
  122. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/drive.py +236 -0
  123. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/errors.py +58 -0
  124. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/gmail.py +295 -0
  125. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/meet.py +122 -0
  126. hyperagents-1.2.3rc5.post3/hyperclaw/google_workspace/tools.py +319 -0
  127. hyperagents-1.2.3rc5.post3/hyperclaw/hyperspeed.py +57 -0
  128. hyperagents-1.2.3rc5.post3/hyperclaw/integrations_layer.py +1427 -0
  129. hyperagents-1.2.3rc5.post3/hyperclaw/live_state.py +188 -0
  130. hyperagents-1.2.3rc5.post3/hyperclaw/managed_config.py +245 -0
  131. hyperagents-1.2.3rc5.post3/hyperclaw/media_hub.py +179 -0
  132. hyperagents-1.2.3rc5.post3/hyperclaw/memory_manager.py +584 -0
  133. hyperagents-1.2.3rc5.post3/hyperclaw/model_catalog.py +551 -0
  134. hyperagents-1.2.3rc5.post3/hyperclaw/model_policy.py +211 -0
  135. hyperagents-1.2.3rc5.post3/hyperclaw/model_router.py +595 -0
  136. hyperagents-1.2.3rc5.post3/hyperclaw/model_selector.py +72 -0
  137. hyperagents-1.2.3rc5.post3/hyperclaw/naming.py +284 -0
  138. hyperagents-1.2.3rc5.post3/hyperclaw/notices.py +65 -0
  139. hyperagents-1.2.3rc5.post3/hyperclaw/oai_stream.py +106 -0
  140. hyperagents-1.2.3rc5.post3/hyperclaw/orchestrator.py +591 -0
  141. hyperagents-1.2.3rc5.post3/hyperclaw/outbox.py +82 -0
  142. hyperagents-1.2.3rc5.post3/hyperclaw/persona.py +367 -0
  143. hyperagents-1.2.3rc5.post3/hyperclaw/prometheus.py +219 -0
  144. hyperagents-1.2.3rc5.post3/hyperclaw/prompt_assembly.py +157 -0
  145. hyperagents-1.2.3rc5.post3/hyperclaw/provider_setup.py +146 -0
  146. hyperagents-1.2.3rc5.post3/hyperclaw/providers.py +340 -0
  147. hyperagents-1.2.3rc5.post3/hyperclaw/qualification.py +341 -0
  148. hyperagents-1.2.3rc5.post3/hyperclaw/qualification_keys/hyper-d292fd127cef5a3e.pub +1 -0
  149. hyperagents-1.2.3rc5.post3/hyperclaw/qualification_records/anthropic--claude-sonnet-5-5.json +14 -0
  150. hyperagents-1.2.3rc5.post3/hyperclaw/reasoning_display.py +35 -0
  151. hyperagents-1.2.3rc5.post3/hyperclaw/scheduler.py +454 -0
  152. hyperagents-1.2.3rc5.post3/hyperclaw/server.py +847 -0
  153. hyperagents-1.2.3rc5.post3/hyperclaw/setup.py +627 -0
  154. hyperagents-1.2.3rc5.post3/hyperclaw/skills.py +717 -0
  155. hyperagents-1.2.3rc5.post3/hyperclaw/solomon.py +442 -0
  156. hyperagents-1.2.3rc5.post3/hyperclaw/swarm.py +533 -0
  157. hyperagents-1.2.3rc5.post3/hyperclaw/taint.py +832 -0
  158. hyperagents-1.2.3rc5.post3/hyperclaw/team/__init__.py +28 -0
  159. hyperagents-1.2.3rc5.post3/hyperclaw/team/dispatcher.py +431 -0
  160. hyperagents-1.2.3rc5.post3/hyperclaw/team/genesis.py +106 -0
  161. hyperagents-1.2.3rc5.post3/hyperclaw/team/lead.py +110 -0
  162. hyperagents-1.2.3rc5.post3/hyperclaw/team/model.py +135 -0
  163. hyperagents-1.2.3rc5.post3/hyperclaw/team/morning.py +238 -0
  164. hyperagents-1.2.3rc5.post3/hyperclaw/team/repos.py +66 -0
  165. hyperagents-1.2.3rc5.post3/hyperclaw/team/roster.py +264 -0
  166. hyperagents-1.2.3rc5.post3/hyperclaw/team/specialist.py +235 -0
  167. hyperagents-1.2.3rc5.post3/hyperclaw/team/status.py +163 -0
  168. hyperagents-1.2.3rc5.post3/hyperclaw/team/watchers.py +112 -0
  169. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/__init__.py +17 -0
  170. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/checks.py +208 -0
  171. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/item.py +391 -0
  172. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/oauth_loopback.py +84 -0
  173. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/onboard.py +550 -0
  174. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/profile.py +82 -0
  175. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/secrets.py +313 -0
  176. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/selfcheck.py +295 -0
  177. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/service.py +495 -0
  178. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/slack_oauth.py +442 -0
  179. hyperagents-1.2.3rc5.post3/hyperclaw/teamsetup/tty.py +62 -0
  180. hyperagents-1.2.3rc5.post3/hyperclaw/telegram_bot.py +1106 -0
  181. hyperagents-1.2.3rc5.post3/hyperclaw/telegram_intake.py +126 -0
  182. hyperagents-1.2.3rc5.post3/hyperclaw/telegram_pairing.py +360 -0
  183. hyperagents-1.2.3rc5.post3/hyperclaw/terminal_provider.py +323 -0
  184. hyperagents-1.2.3rc5.post3/hyperclaw/tools/__init__.py +1 -0
  185. hyperagents-1.2.3rc5.post3/hyperclaw/tools/approval.py +949 -0
  186. hyperagents-1.2.3rc5.post3/hyperclaw/tools/args.py +212 -0
  187. hyperagents-1.2.3rc5.post3/hyperclaw/tools/catalog.py +244 -0
  188. hyperagents-1.2.3rc5.post3/hyperclaw/tools/classify.py +266 -0
  189. hyperagents-1.2.3rc5.post3/hyperclaw/tools/effects.py +724 -0
  190. hyperagents-1.2.3rc5.post3/hyperclaw/tools/egress.py +210 -0
  191. hyperagents-1.2.3rc5.post3/hyperclaw/tools/envelope.py +188 -0
  192. hyperagents-1.2.3rc5.post3/hyperclaw/tools/guard.py +367 -0
  193. hyperagents-1.2.3rc5.post3/hyperclaw/tools/ledger.py +339 -0
  194. hyperagents-1.2.3rc5.post3/hyperclaw/tools/receipts.py +70 -0
  195. hyperagents-1.2.3rc5.post3/hyperclaw/tools/registry.py +318 -0
  196. hyperagents-1.2.3rc5.post3/hyperclaw/tools/service_guard.py +151 -0
  197. hyperagents-1.2.3rc5.post3/hyperclaw/tools/surfaces.py +54 -0
  198. hyperagents-1.2.3rc5.post3/hyperclaw/tools/workspace.py +87 -0
  199. hyperagents-1.2.3rc5.post3/hyperclaw/trading/__init__.py +77 -0
  200. hyperagents-1.2.3rc5.post3/hyperclaw/truth_guard.py +791 -0
  201. hyperagents-1.2.3rc5.post3/hyperclaw/tts.py +124 -0
  202. hyperagents-1.2.3rc5.post3/hyperclaw/tui.py +4255 -0
  203. hyperagents-1.2.3rc5.post3/hyperclaw/tui_bridge.py +938 -0
  204. hyperagents-1.2.3rc5.post3/hyperclaw/unattended.py +60 -0
  205. hyperagents-1.2.3rc5.post3/hyperclaw/updates/__init__.py +54 -0
  206. hyperagents-1.2.3rc5.post3/hyperclaw/updates/check.py +131 -0
  207. hyperagents-1.2.3rc5.post3/hyperclaw/updates/index.py +178 -0
  208. hyperagents-1.2.3rc5.post3/hyperclaw/updates/install.py +110 -0
  209. hyperagents-1.2.3rc5.post3/hyperclaw/updates/managed.py +161 -0
  210. hyperagents-1.2.3rc5.post3/hyperclaw/updates/manifest.py +138 -0
  211. hyperagents-1.2.3rc5.post3/hyperclaw/updates/notices.py +86 -0
  212. hyperagents-1.2.3rc5.post3/hyperclaw/updates/paths.py +53 -0
  213. hyperagents-1.2.3rc5.post3/hyperclaw/updates/release.py +146 -0
  214. hyperagents-1.2.3rc5.post3/hyperclaw/updates/upgrade.py +253 -0
  215. hyperagents-1.2.3rc5.post3/hyperclaw/updates/versioning.py +104 -0
  216. hyperagents-1.2.3rc5.post3/hyperclaw/userconfig.py +119 -0
  217. hyperagents-1.2.3rc5.post3/hyperclaw/xai.py +83 -0
  218. hyperagents-1.2.3rc5.post3/integrations/__init__.py +31 -0
  219. hyperagents-1.2.3rc5.post3/integrations/automation/__init__.py +1 -0
  220. hyperagents-1.2.3rc5.post3/integrations/automation/make.py +87 -0
  221. hyperagents-1.2.3rc5.post3/integrations/automation/zapier.py +87 -0
  222. hyperagents-1.2.3rc5.post3/integrations/base.py +476 -0
  223. hyperagents-1.2.3rc5.post3/integrations/communication/__init__.py +1 -0
  224. hyperagents-1.2.3rc5.post3/integrations/communication/twilio.py +279 -0
  225. hyperagents-1.2.3rc5.post3/integrations/communication/zoom.py +290 -0
  226. hyperagents-1.2.3rc5.post3/integrations/data/__init__.py +1 -0
  227. hyperagents-1.2.3rc5.post3/integrations/data/google_analytics.py +135 -0
  228. hyperagents-1.2.3rc5.post3/integrations/data/postgres.py +182 -0
  229. hyperagents-1.2.3rc5.post3/integrations/data/supabase_connector.py +202 -0
  230. hyperagents-1.2.3rc5.post3/integrations/data/weather_feeds.py +450 -0
  231. hyperagents-1.2.3rc5.post3/integrations/developer/__init__.py +9 -0
  232. hyperagents-1.2.3rc5.post3/integrations/developer/github.py +406 -0
  233. hyperagents-1.2.3rc5.post3/integrations/developer/gitlab.py +298 -0
  234. hyperagents-1.2.3rc5.post3/integrations/enterprise/__init__.py +13 -0
  235. hyperagents-1.2.3rc5.post3/integrations/enterprise/confluence.py +266 -0
  236. hyperagents-1.2.3rc5.post3/integrations/enterprise/hubspot.py +293 -0
  237. hyperagents-1.2.3rc5.post3/integrations/enterprise/jira.py +314 -0
  238. hyperagents-1.2.3rc5.post3/integrations/enterprise/salesforce.py +286 -0
  239. hyperagents-1.2.3rc5.post3/integrations/finance/__init__.py +1 -0
  240. hyperagents-1.2.3rc5.post3/integrations/finance/polymarket_client.py +247 -0
  241. hyperagents-1.2.3rc5.post3/integrations/finance/quickbooks.py +281 -0
  242. hyperagents-1.2.3rc5.post3/integrations/finance/stripe.py +261 -0
  243. hyperagents-1.2.3rc5.post3/integrations/gateway.py +238 -0
  244. hyperagents-1.2.3rc5.post3/integrations/messaging/__init__.py +32 -0
  245. hyperagents-1.2.3rc5.post3/integrations/messaging/discord.py +159 -0
  246. hyperagents-1.2.3rc5.post3/integrations/messaging/email.py +401 -0
  247. hyperagents-1.2.3rc5.post3/integrations/messaging/imessage.py +443 -0
  248. hyperagents-1.2.3rc5.post3/integrations/messaging/signal.py +175 -0
  249. hyperagents-1.2.3rc5.post3/integrations/messaging/slack.py +217 -0
  250. hyperagents-1.2.3rc5.post3/integrations/messaging/sms.py +175 -0
  251. hyperagents-1.2.3rc5.post3/integrations/messaging/teams.py +208 -0
  252. hyperagents-1.2.3rc5.post3/integrations/messaging/telegram.py +260 -0
  253. hyperagents-1.2.3rc5.post3/integrations/messaging/whatsapp.py +203 -0
  254. hyperagents-1.2.3rc5.post3/integrations/productivity/__init__.py +17 -0
  255. hyperagents-1.2.3rc5.post3/integrations/productivity/airtable.py +217 -0
  256. hyperagents-1.2.3rc5.post3/integrations/productivity/asana.py +248 -0
  257. hyperagents-1.2.3rc5.post3/integrations/productivity/google/__init__.py +19 -0
  258. hyperagents-1.2.3rc5.post3/integrations/productivity/google/base.py +89 -0
  259. hyperagents-1.2.3rc5.post3/integrations/productivity/google/calendar.py +272 -0
  260. hyperagents-1.2.3rc5.post3/integrations/productivity/google/docs.py +202 -0
  261. hyperagents-1.2.3rc5.post3/integrations/productivity/google/drive.py +268 -0
  262. hyperagents-1.2.3rc5.post3/integrations/productivity/google/gmail.py +279 -0
  263. hyperagents-1.2.3rc5.post3/integrations/productivity/google/meet.py +218 -0
  264. hyperagents-1.2.3rc5.post3/integrations/productivity/google/sheets.py +222 -0
  265. hyperagents-1.2.3rc5.post3/integrations/productivity/google/tasks.py +199 -0
  266. hyperagents-1.2.3rc5.post3/integrations/productivity/linear.py +279 -0
  267. hyperagents-1.2.3rc5.post3/integrations/productivity/microsoft/__init__.py +13 -0
  268. hyperagents-1.2.3rc5.post3/integrations/productivity/microsoft/base.py +93 -0
  269. hyperagents-1.2.3rc5.post3/integrations/productivity/microsoft/calendar.py +207 -0
  270. hyperagents-1.2.3rc5.post3/integrations/productivity/microsoft/onedrive.py +222 -0
  271. hyperagents-1.2.3rc5.post3/integrations/productivity/microsoft/outlook.py +241 -0
  272. hyperagents-1.2.3rc5.post3/integrations/productivity/microsoft/sharepoint.py +211 -0
  273. hyperagents-1.2.3rc5.post3/integrations/productivity/notion.py +243 -0
  274. hyperagents-1.2.3rc5.post3/integrations/productivity/todoist.py +250 -0
  275. hyperagents-1.2.3rc5.post3/integrations/productivity/trello.py +244 -0
  276. hyperagents-1.2.3rc5.post3/integrations/storage/__init__.py +1 -0
  277. hyperagents-1.2.3rc5.post3/integrations/storage/box.py +279 -0
  278. hyperagents-1.2.3rc5.post3/integrations/storage/dropbox.py +215 -0
  279. hyperagents-1.2.3rc5.post3/integrations/telegram_inbound.py +179 -0
  280. hyperagents-1.2.3rc5.post3/integrations/telegram_poller.py +151 -0
  281. hyperagents-1.2.3rc5.post3/memory/__init__.py +1 -0
  282. hyperagents-1.2.3rc5.post3/memory/causal_graph.py +125 -0
  283. hyperagents-1.2.3rc5.post3/memory/impact_tracker.py +88 -0
  284. hyperagents-1.2.3rc5.post3/memory/vector_memory.py +436 -0
  285. hyperagents-1.2.3rc5.post3/models/__init__.py +12 -0
  286. hyperagents-1.2.3rc5.post3/models/chatjimmy_client.py +210 -0
  287. hyperagents-1.2.3rc5.post3/models/claude_client.py +235 -0
  288. hyperagents-1.2.3rc5.post3/models/claude_code_subagent.py +192 -0
  289. hyperagents-1.2.3rc5.post3/models/openai_client.py +120 -0
  290. hyperagents-1.2.3rc5.post3/models/router.py +162 -0
  291. hyperagents-1.2.3rc5.post3/pyproject.toml +72 -0
  292. hyperagents-1.2.3rc5.post3/recursive/discovery_loop.py +118 -0
  293. hyperagents-1.2.3rc5.post3/recursive/optimization_loop.py +135 -0
  294. hyperagents-1.2.3rc5.post3/recursive/validation_loop.py +38 -0
  295. hyperagents-1.2.3rc5.post3/security/__init__.py +1 -0
  296. hyperagents-1.2.3rc5.post3/security/audit_logger.py +106 -0
  297. hyperagents-1.2.3rc5.post3/security/filesystem_guard.py +100 -0
  298. hyperagents-1.2.3rc5.post3/security/hypershield.py +99 -0
  299. hyperagents-1.2.3rc5.post3/security/network_guard.py +97 -0
  300. hyperagents-1.2.3rc5.post3/security/policy_engine.py +198 -0
  301. hyperagents-1.2.3rc5.post3/setup.cfg +4 -0
  302. hyperagents-1.2.3rc5.post3/swarm/__init__.py +1 -0
  303. hyperagents-1.2.3rc5.post3/swarm/agents/__init__.py +0 -0
  304. hyperagents-1.2.3rc5.post3/swarm/agents/base.py +230 -0
  305. hyperagents-1.2.3rc5.post3/swarm/agents/business/__init__.py +0 -0
  306. hyperagents-1.2.3rc5.post3/swarm/agents/business/counsel.py +31 -0
  307. hyperagents-1.2.3rc5.post3/swarm/agents/business/herald.py +32 -0
  308. hyperagents-1.2.3rc5.post3/swarm/agents/business/ledger.py +26 -0
  309. hyperagents-1.2.3rc5.post3/swarm/agents/business/nexus.py +30 -0
  310. hyperagents-1.2.3rc5.post3/swarm/agents/business/ops.py +30 -0
  311. hyperagents-1.2.3rc5.post3/swarm/agents/business/pipeline.py +28 -0
  312. hyperagents-1.2.3rc5.post3/swarm/agents/business/revenue.py +30 -0
  313. hyperagents-1.2.3rc5.post3/swarm/agents/business/sovereign.py +31 -0
  314. hyperagents-1.2.3rc5.post3/swarm/agents/business/strategos.py +27 -0
  315. hyperagents-1.2.3rc5.post3/swarm/agents/business/talent.py +27 -0
  316. hyperagents-1.2.3rc5.post3/swarm/agents/business/venture.py +32 -0
  317. hyperagents-1.2.3rc5.post3/swarm/agents/comms/__init__.py +1 -0
  318. hyperagents-1.2.3rc5.post3/swarm/agents/comms/cipher.py +32 -0
  319. hyperagents-1.2.3rc5.post3/swarm/agents/comms/echo_comms.py +31 -0
  320. hyperagents-1.2.3rc5.post3/swarm/agents/comms/envoy.py +31 -0
  321. hyperagents-1.2.3rc5.post3/swarm/agents/comms/herald_scheduler.py +33 -0
  322. hyperagents-1.2.3rc5.post3/swarm/agents/comms/pulse.py +29 -0
  323. hyperagents-1.2.3rc5.post3/swarm/agents/creative/__init__.py +0 -0
  324. hyperagents-1.2.3rc5.post3/swarm/agents/creative/author.py +27 -0
  325. hyperagents-1.2.3rc5.post3/swarm/agents/creative/lens.py +25 -0
  326. hyperagents-1.2.3rc5.post3/swarm/agents/executive/__init__.py +1 -0
  327. hyperagents-1.2.3rc5.post3/swarm/agents/intelligence/__init__.py +1 -0
  328. hyperagents-1.2.3rc5.post3/swarm/agents/intelligence/arbiter.py +30 -0
  329. hyperagents-1.2.3rc5.post3/swarm/agents/intelligence/sentinel.py +30 -0
  330. hyperagents-1.2.3rc5.post3/swarm/agents/media/__init__.py +0 -0
  331. hyperagents-1.2.3rc5.post3/swarm/agents/personal/__init__.py +0 -0
  332. hyperagents-1.2.3rc5.post3/swarm/agents/personal/atlas.py +27 -0
  333. hyperagents-1.2.3rc5.post3/swarm/agents/personal/hearth.py +26 -0
  334. hyperagents-1.2.3rc5.post3/swarm/agents/personal/midas.py +27 -0
  335. hyperagents-1.2.3rc5.post3/swarm/agents/personal/navigator.py +27 -0
  336. hyperagents-1.2.3rc5.post3/swarm/agents/personal/nourish.py +31 -0
  337. hyperagents-1.2.3rc5.post3/swarm/agents/personal/vitals.py +33 -0
  338. hyperagents-1.2.3rc5.post3/swarm/agents/recursive/__init__.py +0 -0
  339. hyperagents-1.2.3rc5.post3/swarm/agents/recursive/alchemist.py +73 -0
  340. hyperagents-1.2.3rc5.post3/swarm/agents/recursive/calibrator.py +45 -0
  341. hyperagents-1.2.3rc5.post3/swarm/agents/recursive/scout.py +97 -0
  342. hyperagents-1.2.3rc5.post3/swarm/agents/scientific/__init__.py +0 -0
  343. hyperagents-1.2.3rc5.post3/swarm/agents/scientific/cosmos.py +36 -0
  344. hyperagents-1.2.3rc5.post3/swarm/agents/scientific/gaia.py +26 -0
  345. hyperagents-1.2.3rc5.post3/swarm/agents/scientific/medicus.py +33 -0
  346. hyperagents-1.2.3rc5.post3/swarm/agents/scientific/oracle_agent.py +39 -0
  347. hyperagents-1.2.3rc5.post3/swarm/agents/scientific/scribe.py +39 -0
  348. hyperagents-1.2.3rc5.post3/swarm/agents/talent/__init__.py +0 -0
  349. hyperagents-1.2.3rc5.post3/swarm/agents/talent/deal.py +28 -0
  350. hyperagents-1.2.3rc5.post3/swarm/agents/talent/roster.py +29 -0
  351. hyperagents-1.2.3rc5.post3/swarm/agents/talent/scout.py +29 -0
  352. hyperagents-1.2.3rc5.post3/swarm/agents/talent/stage.py +27 -0
  353. hyperagents-1.2.3rc5.post3/swarm/agents/tech/__init__.py +0 -0
  354. hyperagents-1.2.3rc5.post3/swarm/agents/tech/aegis.py +28 -0
  355. hyperagents-1.2.3rc5.post3/swarm/agents/tech/bridge.py +28 -0
  356. hyperagents-1.2.3rc5.post3/swarm/agents/tech/forge.py +28 -0
  357. hyperagents-1.2.3rc5.post3/swarm/agents/trading/__init__.py +1 -0
  358. hyperagents-1.2.3rc5.post3/swarm/agents/trading/global_prediction_engine.py +611 -0
  359. hyperagents-1.2.3rc5.post3/swarm/agents/trading/polymarket_trader.py +165 -0
  360. hyperagents-1.2.3rc5.post3/swarm/agents/trading/prediction_strategist.py +218 -0
  361. hyperagents-1.2.3rc5.post3/swarm/autogen_bridge.py +68 -0
  362. hyperagents-1.2.3rc5.post3/swarm/bid_protocol.py +196 -0
  363. hyperagents-1.2.3rc5.post3/swarm/dispatcher.py +527 -0
  364. hyperagents-1.2.3rc5.post3/swarm/nexus.py +181 -0
  365. hyperagents-1.2.3rc5.post3/swarm/registry.py +112 -0
  366. hyperagents-1.2.3rc5.post3/telegram_listener.py +403 -0
  367. hyperagents-1.2.3rc5.post3/ui/tui/app.py +214 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hypernimbus, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,7 @@
1
+ prune tests
2
+ prune dist
3
+ prune dist-*
4
+ prune build
5
+ prune .venv
6
+ prune .git
7
+ global-exclude *.pyc __pycache__ .env .env.* *.pem *.key
@@ -0,0 +1,469 @@
1
+ Metadata-Version: 2.4
2
+ Name: hyperagents
3
+ Version: 1.2.3rc5.post3
4
+ Summary: Unlimited-domain multi-agent AI swarm platform
5
+ License: MIT
6
+ Project-URL: Homepage, https://gitlab.com/hyper-nimbus-group/hyperclaw
7
+ Project-URL: Repository, https://gitlab.com/hyper-nimbus-group/hyperclaw
8
+ Project-URL: Issues, https://gitlab.com/hyper-nimbus-group/hyperclaw/-/issues
9
+ Project-URL: Changelog, https://gitlab.com/hyper-nimbus-group/hyperclaw/-/blob/main/CHANGELOG.md
10
+ Requires-Python: >=3.9
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: pydantic>=2.6
14
+ Requires-Dist: asyncpg>=0.29
15
+ Requires-Dist: pgvector>=0.2
16
+ Requires-Dist: httpx>=0.27
17
+ Requires-Dist: typer>=0.12
18
+ Requires-Dist: rich>=13.0
19
+ Requires-Dist: textual>=0.61
20
+ Requires-Dist: anthropic>=0.28
21
+ Requires-Dist: openai>=1.30
22
+ Requires-Dist: python-dotenv>=1.0
23
+ Requires-Dist: pyyaml>=6.0
24
+ Requires-Dist: fastapi>=0.109
25
+ Requires-Dist: uvicorn[standard]>=0.27
26
+ Requires-Dist: aiohttp>=3.9
27
+ Requires-Dist: aiofiles>=23.0
28
+ Requires-Dist: python-telegram-bot>=20.0
29
+ Requires-Dist: feedparser>=6.0
30
+ Requires-Dist: apscheduler>=3.10
31
+ Requires-Dist: psutil>=5.9
32
+ Requires-Dist: cryptography>=42
33
+ Requires-Dist: pypdf>=4.0
34
+ Provides-Extra: dev
35
+ Requires-Dist: pytest>=8.0; extra == "dev"
36
+ Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
37
+ Requires-Dist: pytest-cov>=4.1; extra == "dev"
38
+ Dynamic: license-file
39
+
40
+ # HyperClaw
41
+
42
+ **Your personal AI that actually gets things done.**
43
+
44
+ [![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
45
+ [![Python](https://img.shields.io/badge/python-3.9%2B-blue)](https://www.python.org/downloads/)
46
+ [![PyPI](https://img.shields.io/pypi/v/hyperagents)](https://pypi.org/project/hyperagents/)
47
+
48
+ HyperClaw is a personal AI assistant that works across your entire life. Not just chat — it connects to your email, calendar, tasks, documents, and more. It remembers everything, learns your preferences, and coordinates 44 specialized AI agents to help you with anything.
49
+
50
+ ---
51
+
52
+ ## What's New in v0.2.0
53
+
54
+ - **Claude 5 family** with tiered model routing (sonnet-5 / opus-5 / fable-5) and
55
+ **automatic failover** — overloads degrade gracefully instead of going silent
56
+ - **Universal file delivery** — the `send_file` tool pushes any document, deck,
57
+ spreadsheet, image, or video into the conversation you're already in (Telegram
58
+ documents, iMessage attachments, email attachments) or opens it on the Mac
59
+ - **Full email suite** — HTML email, in-thread replies, forwarding with attachments,
60
+ drafts-as-approval, archive/star/read, Gmail search
61
+ - **Offsite heartbeat** — a dead-man's-switch template that alerts you externally if
62
+ the machine running your assistant dies (see `.env.example` → `HEARTBEAT_URL`)
63
+ - **Persona templating** — your assistant's identity lives in an untracked file
64
+ (`persona.example.md`), not in source code
65
+ - **Hardened channel security** — fail-closed allowlists for iMessage and Telegram;
66
+ see [SECURITY.md](SECURITY.md) before exposing the bot to any channel
67
+
68
+ ---
69
+
70
+ ## What Can It Do?
71
+
72
+ - **Manage your communications** — Email, Telegram, Slack, Discord, WhatsApp, Teams
73
+ - **Organize your work** — Calendar, tasks, projects, documents
74
+ - **Handle your data** — Notion, Airtable, Google Sheets, Salesforce, HubSpot
75
+ - **Support your business** — Invoicing, customer tracking, sales pipelines
76
+ - **Research anything** — Web search, document analysis, data synthesis
77
+ - **Remember everything** — Your preferences, history, context across all sessions
78
+ - **Optimize costs** — Smart model routing uses cheap models for simple tasks
79
+
80
+ One AI. Every platform. All working together.
81
+
82
+ ---
83
+
84
+ ## Architecture
85
+
86
+ ### Cost-Optimized Model Router
87
+
88
+ HyperClaw intelligently routes tasks to the most cost-effective model:
89
+
90
+ | Model | Use Case | Cost (input/output per 1k tokens) |
91
+ |-------|----------|------|
92
+ | **ChatJimmy** (Llama 3.1 8B) | Simple queries, classification, quick lookups | ~$0.00001 |
93
+ | **Claude Haiku 4.5** | Moderate tasks, basic analysis | $0.001 / $0.005 |
94
+ | **Claude Sonnet 5** | Everyday requests, drafting, quick answers | $0.002 / $0.010 |
95
+ | **Claude Opus 5** | Analysis, planning, writing, research | $0.005 / $0.025 |
96
+ | **Claude Fable 5** | Hardest multi-step work: code, architecture, quant | $0.010 / $0.050 |
97
+
98
+ Simple "what time is it?" stays cheap. "Refactor this system end to end" gets Fable 5 — and if a
99
+ model is overloaded, the failover chain walks down the ladder instead of dropping your request.
100
+
101
+ ### Multi-Agent Coordination
102
+
103
+ 44 specialized agents organized by domain:
104
+
105
+ - **Business (11):** Strategos, Herald, Pipeline, Ledger, Counsel, Talent, Nexus, Ops, Revenue, Sovereign, Venture
106
+ - **Personal (6):** Atlas, Midas, Vitals, Nourish, Navigator, Hearth
107
+ - **Scientific (5):** Medicus, Cosmos, Gaia, Oracle, Scribe
108
+ - **Communications (5):** Echo, Envoy, Pulse, Cipher, Herald
109
+ - **Talent (4):** Scout, Deal, Stage, Roster
110
+ - **Trading (3):** Prediction Strategist, Polymarket Trader, Global Prediction Engine
111
+ - **Technology (3):** Aegis, Bridge, Forge
112
+ - **Recursive (3):** Scout, Alchemist, Calibrator
113
+ - **Intelligence (2):** Sentinel, Arbiter
114
+ - **Creative (2):** Author, Lens
115
+
116
+ Tasks are automatically routed to the best agent based on domain and complexity.
117
+
118
+ ### Persistent Memory
119
+
120
+ Memory persists across sessions:
121
+
122
+ - **Working Memory** — Current context and active tasks
123
+ - **Episodic Memory** — Conversation history and decisions
124
+ - **Semantic Memory** — Facts and knowledge
125
+ - **Instincts** — Learned behavioral patterns
126
+
127
+ ---
128
+
129
+ ## Getting Started
130
+
131
+ ### Option 1: Quick Start (5 minutes)
132
+
133
+ **macOS:**
134
+ ```bash
135
+ brew install pipx
136
+ pipx install hyperagents # the command is still `hyperclaw`
137
+ hyperclaw init
138
+ ```
139
+
140
+ **Linux/Windows:**
141
+ ```bash
142
+ pip install hyperagents
143
+ hyperclaw init
144
+ ```
145
+
146
+ The `init` command runs an interactive setup that will:
147
+ 1. Ask for your name and what to call your AI
148
+ 2. Guide you through API key setup (Anthropic)
149
+ 3. Optionally set up database for persistent memory
150
+ 4. Launch the chat interface
151
+
152
+ Then use interactive chat:
153
+ ```bash
154
+ hyperclaw start
155
+ ```
156
+
157
+ Or run the TUI:
158
+ ```bash
159
+ hyperclaw-tui
160
+ ```
161
+
162
+ ### Option 2: Self-Host with Docker
163
+
164
+ ```bash
165
+ # Clone the repo
166
+ git clone https://gitlab.com/hyper-nimbus-group/hyperclaw.git
167
+ cd hyperclaw
168
+
169
+ # Copy the example config
170
+ cp .env.example .env
171
+
172
+ # Edit .env and add your Anthropic API key
173
+ # ANTHROPIC_API_KEY=sk-ant-your-key
174
+
175
+ # Optional: Add ChatJimmy for cheap simple tasks
176
+ # CHATJIMMY_API_KEY=your-taalas-key
177
+
178
+ # Start
179
+ docker-compose up
180
+ ```
181
+
182
+ Open `http://localhost:8001` in your browser.
183
+
184
+ ### Option 3: Production Setup
185
+
186
+ ```bash
187
+ # Clone and setup
188
+ git clone https://gitlab.com/hyper-nimbus-group/hyperclaw.git
189
+ cd hyperclaw
190
+ pip install -r requirements.txt
191
+
192
+ # Initialize workspace and config
193
+ python -m hyperclaw setup
194
+
195
+ # Initialize database (requires DATABASE_URL in .env)
196
+ python -m hyperclaw setup --init-db
197
+
198
+ # Start server
199
+ python -m hyperclaw server --port 8001
200
+ ```
201
+
202
+ ---
203
+
204
+ ## Configuration
205
+
206
+ ### Required
207
+ - **ANTHROPIC_API_KEY** — Powers the AI brain
208
+ - Get one at [console.anthropic.com](https://console.anthropic.com)
209
+
210
+ ### Recommended
211
+ - **DATABASE_URL** — PostgreSQL with pgvector for memory
212
+ - Easiest: [Supabase](https://supabase.com) (free tier works)
213
+ - Run `schema/init.sql` to create tables
214
+
215
+ - **CHATJIMMY_API_KEY** — Cheap model for simple tasks
216
+ - Get one at [taalas.ai](https://taalas.ai)
217
+ - Reduces costs by 90%+ for simple queries
218
+
219
+ ### Optional Integrations
220
+
221
+ **Messaging:**
222
+ ```bash
223
+ TELEGRAM_BOT_TOKEN=your-bot-token
224
+ SLACK_BOT_TOKEN=xoxb-your-token
225
+ ```
226
+
227
+ Telegram polling and the scheduled jobs (heartbeat, morning brief, nightly
228
+ memory consolidation) are **off by default**. They start only with
229
+ `HYPERCLAW_UNATTENDED=1`; see [docs/UNATTENDED-MODE.md](docs/UNATTENDED-MODE.md).
230
+
231
+ **Email:**
232
+ ```bash
233
+ GMAIL_CLIENT_ID=...
234
+ GMAIL_CLIENT_SECRET=...
235
+ GMAIL_REFRESH_TOKEN=...
236
+ ```
237
+
238
+ See [.env.example](.env.example) for all available integrations.
239
+
240
+ ---
241
+
242
+ ## API Endpoints
243
+
244
+ ### Chat
245
+ ```bash
246
+ # Simple chat
247
+ curl -X POST http://localhost:8001/chat \
248
+ -H "Content-Type: application/json" \
249
+ -d '{"message": "What can you help me with?"}'
250
+
251
+ # Streaming chat
252
+ curl -X POST http://localhost:8001/chat/stream \
253
+ -H "Content-Type: application/json" \
254
+ -d '{"message": "Explain quantum computing", "stream": true}'
255
+ ```
256
+
257
+ ### Tasks
258
+ ```bash
259
+ # Create a task
260
+ curl -X POST http://localhost:8001/api/tasks \
261
+ -H "Content-Type: application/json" \
262
+ -d '{"goal": "Research competitors in AI space", "domain": "business"}'
263
+
264
+ # Get task status
265
+ curl http://localhost:8001/api/tasks/abc123
266
+
267
+ # List all tasks
268
+ curl http://localhost:8001/api/tasks
269
+ ```
270
+
271
+ ### Multi-Agent Coordination
272
+ ```bash
273
+ # Coordinate complex goal across multiple agents
274
+ curl -X POST http://localhost:8001/api/coordinate \
275
+ -H "Content-Type: application/json" \
276
+ -d '{"goal": "Create a complete marketing strategy for product launch"}'
277
+ ```
278
+
279
+ ### Memory
280
+ ```bash
281
+ # Store a memory
282
+ curl -X POST http://localhost:8001/api/memory/remember \
283
+ -H "Content-Type: application/json" \
284
+ -d '{"content": "User prefers concise responses", "importance": 0.8}'
285
+
286
+ # Recall memories
287
+ curl -X POST http://localhost:8001/api/memory/recall \
288
+ -H "Content-Type: application/json" \
289
+ -d '{"query": "user preferences"}'
290
+ ```
291
+
292
+ ### Cost Management
293
+ ```bash
294
+ # Get current costs
295
+ curl http://localhost:8001/api/costs
296
+
297
+ # Set daily budget
298
+ curl -X POST "http://localhost:8001/api/costs/budget?budget_usd=5.0"
299
+
300
+ # List available models
301
+ curl http://localhost:8001/api/models
302
+ ```
303
+
304
+ ### System
305
+ ```bash
306
+ # Health check
307
+ curl http://localhost:8001/health
308
+
309
+ # Full status
310
+ curl http://localhost:8001/status
311
+
312
+ # List agents
313
+ curl http://localhost:8001/api/agents
314
+
315
+ # List integrations
316
+ curl http://localhost:8001/api/integrations
317
+ ```
318
+
319
+ ---
320
+
321
+ ## CLI Commands
322
+
323
+ ```bash
324
+ # Setup workspace and configuration
325
+ hyperclaw setup
326
+ hyperclaw setup --init-db # Also initialize database
327
+
328
+ # Start the server
329
+ hyperclaw server
330
+ hyperclaw server --port 8080
331
+
332
+ # Interactive chat
333
+ hyperclaw chat
334
+
335
+ # Check status
336
+ hyperclaw status
337
+
338
+ # Memory operations
339
+ hyperclaw memory list
340
+ hyperclaw memory recall "user preferences"
341
+ hyperclaw memory remember "Important note"
342
+
343
+ # Version
344
+ hyperclaw version
345
+ ```
346
+
347
+ ---
348
+
349
+ ## Workspace Structure
350
+
351
+ After setup, HyperClaw creates:
352
+
353
+ ```
354
+ ~/.hyperclaw/
355
+ ├── workspace/
356
+ │ ├── SOUL.md # AI personality
357
+ │ ├── IDENTITY.md # AI configuration
358
+ │ ├── USER.md # Your profile
359
+ │ ├── MEMORY.md # Working memory
360
+ │ └── secrets/
361
+ │ └── .env # API keys
362
+ ├── memory/
363
+ │ ├── instincts.md # Learned behaviors
364
+ │ ├── core-episodes.md # Key memories
365
+ │ └── daily/ # Daily logs
366
+ ├── config/
367
+ │ └── hyperclaw.yaml # System config
368
+ └── logs/
369
+ ```
370
+
371
+ Edit these files to customize your assistant's behavior.
372
+
373
+ ---
374
+
375
+ ## Cost Optimization Tips
376
+
377
+ 1. **Use ChatJimmy** — Add `CHATJIMMY_API_KEY` to route simple tasks to a model that costs 100x less
378
+
379
+ 2. **Cost caps** — every model call goes through the cost guard (`hyperclaw/cost_guard.py`).
380
+ At the daily cap or the per-task cap HyperClaw **stops** (no further model calls, never a
381
+ cheaper model) and asks you whether to continue, with what was done (from the activity
382
+ log and tool results), what remains and the spend so far. Answers above a small amount end
383
+ with a spend line. Scheduled jobs and guest chats stop and notify you only.
384
+ - `hyperclaw cost` shows today's spend; `hyperclaw cost raise --daily 20` / `--task 5`
385
+ (or `/cost raise daily 20` in the terminal) changes a cap — your explicit action,
386
+ recorded in `hyperclaw activity`.
387
+ - Settings: `config.json` key `cost_guard` (`daily_cap_usd`, default 10; `task_cap_usd`,
388
+ default 2; `spend_line_min_usd`, default 0.01; `prices`), else the environment
389
+ (`HYPERCLAW_DAILY_CAP_USD` — legacy `DAILY_BUDGET_USD` — `HYPERCLAW_TASK_CAP_USD`,
390
+ `HYPERCLAW_SPEND_LINE_MIN_USD`). Hyper deployments set them in `config.json`.
391
+ - Prices are USD per 1k tokens: `cost_guard.prices` (`{"<model>" or "provider:<name>":
392
+ {"input_per_1k": …, "output_per_1k": …}}`), then `models.yaml` `cost_per_1k_*`, then a
393
+ built-in table. HyperSpeed V2 uses a placeholder rate until Hyper sets its internal rate
394
+ as `prices["provider:hyperspeed"]`. An unknown model is charged a conservative rate,
395
+ never 0. Spend is kept per day in `$HYPERCLAW_ROOT/ledger/cost.sqlite3` (survives restarts).
396
+
397
+ 3. **Enable prefer_cheap** — Set `PREFER_CHEAP_MODELS=true` to always prefer the cheapest capable model
398
+
399
+ 4. **Monitor usage** — Check `/api/costs` to see spend by model
400
+
401
+ ---
402
+
403
+ ## Database Setup (Optional but Recommended)
404
+
405
+ For persistent memory across sessions, set up PostgreSQL with pgvector:
406
+
407
+ 1. Create a Supabase project (free) or use any PostgreSQL
408
+ 2. Enable the `vector` extension
409
+ 3. Run `schema/init.sql` to create tables
410
+ 4. Add `DATABASE_URL` to your `.env`
411
+
412
+ ```bash
413
+ # Initialize database
414
+ python -m hyperclaw setup --init-db
415
+ ```
416
+
417
+ ---
418
+
419
+ ## Privacy & Security
420
+
421
+ - **Your data stays yours** — Self-host means nothing leaves your machine
422
+ - **No tracking** — We don't collect anything
423
+ - **Open source** — Audit the code yourself
424
+ - **Per-agent permissions** — Control what each agent can access
425
+ - **Channel allowlists** — iMessage/Telegram deny strangers by default; read [SECURITY.md](SECURITY.md) before connecting any channel
426
+
427
+ ---
428
+
429
+ ## Troubleshooting
430
+
431
+ For terminal authentication errors after a Hyperspeed outage, see
432
+ [provider recovery](docs/terminal-provider-recovery.md).
433
+
434
+ **"API key not working"**
435
+ - Make sure it starts with `sk-ant-`
436
+ - Check for extra spaces when pasting
437
+
438
+ **"Database connection failed"**
439
+ - Verify your DATABASE_URL is correct
440
+ - For Supabase, use the "Transaction pooler" connection string
441
+
442
+ **"Integration not connecting"**
443
+ - Run `hyperclaw integrations test <name>` to diagnose
444
+ - Check that API keys are in your `.env` file
445
+
446
+ **Need help?**
447
+ - Run `hyperclaw status` to check system health
448
+ - Open an issue on [GitLab](https://gitlab.com/hyper-nimbus-group/hyperclaw/-/issues)
449
+
450
+ ---
451
+
452
+ ## Contributing
453
+
454
+ MIT licensed. Contributions welcome.
455
+
456
+ ```bash
457
+ git clone https://gitlab.com/hyper-nimbus-group/hyperclaw.git
458
+ cd hyperclaw
459
+ pip install -e ".[dev]"
460
+ python -m pytest tests/ -v
461
+ ```
462
+
463
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
464
+
465
+ ---
466
+
467
+ ## License
468
+
469
+ MIT — use it, modify it, build on it.