velune-cli 1.0.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 (229) hide show
  1. velune/__init__.py +5 -0
  2. velune/__main__.py +6 -0
  3. velune/cli/__init__.py +5 -0
  4. velune/cli/app.py +212 -0
  5. velune/cli/autocomplete.py +76 -0
  6. velune/cli/banner.py +98 -0
  7. velune/cli/commands/__init__.py +32 -0
  8. velune/cli/commands/ask.py +149 -0
  9. velune/cli/commands/base.py +16 -0
  10. velune/cli/commands/chat.py +188 -0
  11. velune/cli/commands/config.py +182 -0
  12. velune/cli/commands/daemon.py +85 -0
  13. velune/cli/commands/doctor.py +373 -0
  14. velune/cli/commands/init.py +160 -0
  15. velune/cli/commands/mcp.py +80 -0
  16. velune/cli/commands/memory.py +269 -0
  17. velune/cli/commands/models.py +462 -0
  18. velune/cli/commands/preflight.py +95 -0
  19. velune/cli/commands/run.py +171 -0
  20. velune/cli/commands/setup.py +182 -0
  21. velune/cli/commands/workspace.py +217 -0
  22. velune/cli/context.py +37 -0
  23. velune/cli/councilmodel_ui.py +171 -0
  24. velune/cli/display/council_view.py +240 -0
  25. velune/cli/display/memory_view.py +93 -0
  26. velune/cli/display/panels.py +35 -0
  27. velune/cli/display/progress.py +25 -0
  28. velune/cli/display/themes.py +21 -0
  29. velune/cli/main.py +15 -0
  30. velune/cli/model_selector.py +44 -0
  31. velune/cli/modes.py +86 -0
  32. velune/cli/pull_ui.py +118 -0
  33. velune/cli/registry.py +81 -0
  34. velune/cli/repl.py +1178 -0
  35. velune/cli/session_manager.py +69 -0
  36. velune/cli/slash_commands.py +37 -0
  37. velune/cognition/__init__.py +19 -0
  38. velune/cognition/arbitrator.py +216 -0
  39. velune/cognition/architecture.py +398 -0
  40. velune/cognition/council/__init__.py +47 -0
  41. velune/cognition/council/base.py +216 -0
  42. velune/cognition/council/challenger.py +70 -0
  43. velune/cognition/council/coder.py +79 -0
  44. velune/cognition/council/critic_agent.py +39 -0
  45. velune/cognition/council/critic_configs.py +111 -0
  46. velune/cognition/council/critics.py +41 -0
  47. velune/cognition/council/debate.py +44 -0
  48. velune/cognition/council/factory.py +140 -0
  49. velune/cognition/council/messages.py +53 -0
  50. velune/cognition/council/planner.py +119 -0
  51. velune/cognition/council/reviewer.py +72 -0
  52. velune/cognition/council/synthesizer.py +67 -0
  53. velune/cognition/council/tiers.py +181 -0
  54. velune/cognition/firewall.py +256 -0
  55. velune/cognition/module.py +38 -0
  56. velune/cognition/orchestrator.py +886 -0
  57. velune/cognition/personality.py +236 -0
  58. velune/cognition/style_resolver.py +62 -0
  59. velune/cognition/verification.py +201 -0
  60. velune/context/__init__.py +11 -0
  61. velune/context/extractive.py +94 -0
  62. velune/context/window.py +62 -0
  63. velune/core/__init__.py +89 -0
  64. velune/core/background.py +5 -0
  65. velune/core/config/__init__.py +37 -0
  66. velune/core/errors/__init__.py +53 -0
  67. velune/core/errors/execution.py +26 -0
  68. velune/core/errors/memory.py +21 -0
  69. velune/core/errors/orchestration.py +26 -0
  70. velune/core/errors/provider.py +31 -0
  71. velune/core/event_loop.py +30 -0
  72. velune/core/logging.py +83 -0
  73. velune/core/runtime.py +106 -0
  74. velune/core/task_registry.py +120 -0
  75. velune/core/trace.py +80 -0
  76. velune/core/types/__init__.py +48 -0
  77. velune/core/types/agent.py +49 -0
  78. velune/core/types/context.py +39 -0
  79. velune/core/types/inference.py +35 -0
  80. velune/core/types/memory.py +39 -0
  81. velune/core/types/model.py +64 -0
  82. velune/core/types/provider.py +35 -0
  83. velune/core/types/repository.py +35 -0
  84. velune/core/types/task.py +56 -0
  85. velune/core/types/workspace.py +28 -0
  86. velune/daemon/client.py +13 -0
  87. velune/daemon/server.py +115 -0
  88. velune/daemon/transport.py +169 -0
  89. velune/events.py +194 -0
  90. velune/execution/__init__.py +22 -0
  91. velune/execution/benchmarker.py +311 -0
  92. velune/execution/cancellation.py +53 -0
  93. velune/execution/checkpointer.py +128 -0
  94. velune/execution/command_spec.py +140 -0
  95. velune/execution/diff_preview.py +172 -0
  96. velune/execution/executor.py +173 -0
  97. velune/execution/module.py +16 -0
  98. velune/execution/multi_diff.py +70 -0
  99. velune/execution/path_guard.py +19 -0
  100. velune/execution/planner.py +91 -0
  101. velune/execution/rollback.py +80 -0
  102. velune/execution/sandbox.py +257 -0
  103. velune/execution/validator.py +113 -0
  104. velune/hardware/__init__.py +1 -0
  105. velune/hardware/detector.py +162 -0
  106. velune/kernel/__init__.py +58 -0
  107. velune/kernel/bootstrap.py +107 -0
  108. velune/kernel/config.py +252 -0
  109. velune/kernel/health.py +54 -0
  110. velune/kernel/lifecycle.py +102 -0
  111. velune/kernel/module.py +15 -0
  112. velune/kernel/modules.py +23 -0
  113. velune/kernel/registry.py +93 -0
  114. velune/kernel/schemas.py +28 -0
  115. velune/main.py +9 -0
  116. velune/mcp/__init__.py +9 -0
  117. velune/mcp/client.py +113 -0
  118. velune/mcp/config.py +19 -0
  119. velune/mcp/server.py +90 -0
  120. velune/memory/__init__.py +28 -0
  121. velune/memory/lifecycle.py +154 -0
  122. velune/memory/module.py +94 -0
  123. velune/memory/prioritizer.py +65 -0
  124. velune/memory/storage/sqlite_manager.py +368 -0
  125. velune/memory/tiers/episodic.py +156 -0
  126. velune/memory/tiers/graph.py +282 -0
  127. velune/memory/tiers/lineage.py +367 -0
  128. velune/memory/tiers/semantic.py +198 -0
  129. velune/memory/tiers/working.py +165 -0
  130. velune/models/__init__.py +16 -0
  131. velune/models/module.py +18 -0
  132. velune/models/probes.py +182 -0
  133. velune/models/profile_cache.py +82 -0
  134. velune/models/profiler.py +105 -0
  135. velune/models/registry.py +201 -0
  136. velune/models/scorer.py +225 -0
  137. velune/models/specializations.py +196 -0
  138. velune/orchestration/__init__.py +15 -0
  139. velune/orchestration/module.py +14 -0
  140. velune/orchestration/role_assignments.py +78 -0
  141. velune/orchestration/schemas.py +99 -0
  142. velune/plugins/__init__.py +13 -0
  143. velune/plugins/hooks.py +49 -0
  144. velune/plugins/loader.py +95 -0
  145. velune/plugins/registry.py +54 -0
  146. velune/plugins/schemas.py +19 -0
  147. velune/providers/__init__.py +18 -0
  148. velune/providers/adapters/anthropic.py +231 -0
  149. velune/providers/adapters/fireworks.py +115 -0
  150. velune/providers/adapters/google.py +234 -0
  151. velune/providers/adapters/groq.py +151 -0
  152. velune/providers/adapters/huggingface.py +203 -0
  153. velune/providers/adapters/llamacpp.py +202 -0
  154. velune/providers/adapters/lmstudio.py +173 -0
  155. velune/providers/adapters/ollama.py +186 -0
  156. velune/providers/adapters/openai.py +207 -0
  157. velune/providers/adapters/openrouter.py +81 -0
  158. velune/providers/adapters/together.py +134 -0
  159. velune/providers/adapters/xai.py +60 -0
  160. velune/providers/base.py +86 -0
  161. velune/providers/benchmarker.py +135 -0
  162. velune/providers/discovery/__init__.py +33 -0
  163. velune/providers/discovery/anthropic.py +77 -0
  164. velune/providers/discovery/benchmarks.py +44 -0
  165. velune/providers/discovery/classifier.py +69 -0
  166. velune/providers/discovery/fireworks.py +95 -0
  167. velune/providers/discovery/gguf.py +87 -0
  168. velune/providers/discovery/google.py +95 -0
  169. velune/providers/discovery/gpu.py +109 -0
  170. velune/providers/discovery/groq.py +20 -0
  171. velune/providers/discovery/huggingface.py +67 -0
  172. velune/providers/discovery/lmstudio.py +80 -0
  173. velune/providers/discovery/ollama.py +165 -0
  174. velune/providers/discovery/openai.py +96 -0
  175. velune/providers/discovery/openrouter.py +113 -0
  176. velune/providers/discovery/scanner.py +114 -0
  177. velune/providers/discovery/together.py +114 -0
  178. velune/providers/discovery/xai.py +57 -0
  179. velune/providers/keystore.py +83 -0
  180. velune/providers/local_paths.py +49 -0
  181. velune/providers/local_resolver.py +208 -0
  182. velune/providers/module.py +15 -0
  183. velune/providers/ollama_manager.py +193 -0
  184. velune/providers/registry.py +173 -0
  185. velune/providers/router.py +82 -0
  186. velune/py.typed +0 -0
  187. velune/repository/__init__.py +21 -0
  188. velune/repository/analyzer.py +123 -0
  189. velune/repository/cognition.py +172 -0
  190. velune/repository/grapher.py +182 -0
  191. velune/repository/indexer.py +229 -0
  192. velune/repository/module.py +15 -0
  193. velune/repository/parser.py +378 -0
  194. velune/repository/project_type.py +293 -0
  195. velune/repository/scanner.py +177 -0
  196. velune/repository/schemas.py +102 -0
  197. velune/repository/tracker.py +233 -0
  198. velune/retrieval/__init__.py +27 -0
  199. velune/retrieval/graph.py +117 -0
  200. velune/retrieval/hybrid.py +250 -0
  201. velune/retrieval/keyword.py +113 -0
  202. velune/retrieval/module.py +19 -0
  203. velune/retrieval/reranker.py +68 -0
  204. velune/retrieval/schemas.py +59 -0
  205. velune/retrieval/vector.py +163 -0
  206. velune/telemetry/__init__.py +7 -0
  207. velune/telemetry/cognition.py +260 -0
  208. velune/telemetry/token_tracker.py +133 -0
  209. velune/tools/__init__.py +41 -0
  210. velune/tools/base/registry.py +84 -0
  211. velune/tools/base/tool.py +63 -0
  212. velune/tools/code/navigate.py +107 -0
  213. velune/tools/code/search.py +112 -0
  214. velune/tools/filesystem/read.py +75 -0
  215. velune/tools/filesystem/search.py +123 -0
  216. velune/tools/filesystem/write.py +160 -0
  217. velune/tools/git/history.py +185 -0
  218. velune/tools/git/operations.py +132 -0
  219. velune/tools/git/state.py +134 -0
  220. velune/tools/module.py +65 -0
  221. velune/tools/terminal/execute.py +72 -0
  222. velune/tools/terminal/history.py +47 -0
  223. velune/tools/web/fetch.py +55 -0
  224. velune/tools/web/validator.py +96 -0
  225. velune_cli-1.0.0.dist-info/METADATA +497 -0
  226. velune_cli-1.0.0.dist-info/RECORD +229 -0
  227. velune_cli-1.0.0.dist-info/WHEEL +4 -0
  228. velune_cli-1.0.0.dist-info/entry_points.txt +2 -0
  229. velune_cli-1.0.0.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,497 @@
1
+ Metadata-Version: 2.4
2
+ Name: velune-cli
3
+ Version: 1.0.0
4
+ Summary: Local-first multi-model AI developer CLI — council-based agents, persistent memory, repository cognition
5
+ Project-URL: Homepage, https://github.com/Surya-Hariharan/Velune-CLI
6
+ Project-URL: Repository, https://github.com/Surya-Hariharan/Velune-CLI
7
+ Project-URL: Issues, https://github.com/Surya-Hariharan/Velune-CLI/issues
8
+ Project-URL: Changelog, https://github.com/Surya-Hariharan/Velune-CLI/blob/main/CHANGELOG.md
9
+ Author-email: Surya HA <suryahariharan2006@gmail.com>
10
+ License: Apache License
11
+ Version 2.0, January 2004
12
+ http://www.apache.org/licenses/
13
+
14
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
15
+
16
+ 1. Definitions.
17
+
18
+ "License" shall mean the terms and conditions for use, reproduction,
19
+ and distribution as defined by Sections 1 through 9 of this document.
20
+
21
+ "Licensor" shall mean the copyright owner or entity authorized by
22
+ the copyright owner that is granting the License.
23
+
24
+ "Legal Entity" shall mean the union of the acting entity and all
25
+ other entities that control, are controlled by, or are under common
26
+ control with that entity. For the purposes of this definition,
27
+ "control" means (i) the power, direct or indirect, to cause the
28
+ direction or management of such entity, whether by contract or
29
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
30
+ outstanding shares, or (iii) beneficial ownership of such entity.
31
+
32
+ "You" (or "Your") shall mean an individual or Legal Entity
33
+ exercising permissions granted by this License.
34
+
35
+ "Source" form shall mean the preferred form for making modifications,
36
+ including but not limited to software source code, documentation
37
+ source, and configuration files.
38
+
39
+ "Object" form shall mean any form resulting from mechanical
40
+ transformation or translation of a Source form, including but
41
+ not limited to compiled object code, generated documentation,
42
+ and conversions to other media types.
43
+
44
+ "Work" shall mean the work of authorship, whether in Source or
45
+ Object form, made available under the License, as indicated by a
46
+ copyright notice that is included in or attached to the work
47
+ (an example is provided in the Appendix below).
48
+
49
+ "Derivative Works" shall mean any work, whether in Source or Object
50
+ form, that is based on (or derived from) the Work and for which the
51
+ editorial revisions, annotations, elaborations, or other modifications
52
+ represent, as a whole, an original work of authorship. For the purposes
53
+ of this License, Derivative Works shall not include works that remain
54
+ separable from, or merely link (or bind by name) to the interfaces of,
55
+ the Work and Derivative Works thereof.
56
+
57
+ "Contribution" shall mean any work of authorship, including
58
+ the original version of the Work and any modifications or additions
59
+ to that Work or Derivative Works thereof, that is intentionally
60
+ submitted to Licensor for inclusion in the Work by the copyright owner
61
+ or by an individual or Legal Entity authorized to submit on behalf of
62
+ the copyright owner. For the purposes of this definition, "submitted"
63
+ means any form of electronic, verbal, or written communication sent
64
+ to the Licensor or its representatives, including but not limited to
65
+ communication on electronic mailing lists, source code control systems,
66
+ and issue tracking systems that are managed by, or on behalf of, the
67
+ Licensor for the purpose of discussing and improving the Work, but
68
+ excluding communication that is conspicuously marked or otherwise
69
+ designated in writing by the copyright owner as "Not a Contribution."
70
+
71
+ "Contributor" shall mean Licensor and any individual or Legal Entity
72
+ on behalf of whom a Contribution has been received by Licensor and
73
+ subsequently incorporated within the Work.
74
+
75
+ 2. Grant of Copyright License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ copyright license to reproduce, prepare Derivative Works of,
79
+ publicly display, publicly perform, sublicense, and distribute the
80
+ Work and such Derivative Works in Source or Object form.
81
+
82
+ 3. Grant of Patent License. Subject to the terms and conditions of
83
+ this License, each Contributor hereby grants to You a perpetual,
84
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
85
+ (except as stated in this section) patent license to make, have made,
86
+ use, offer to sell, sell, import, and otherwise transfer the Work,
87
+ where such license applies only to those patent claims licensable
88
+ by such Contributor that are necessarily infringed by their
89
+ Contribution(s) alone or by combination of their Contribution(s)
90
+ with the Work to which such Contribution(s) was submitted. If You
91
+ institute patent litigation against any entity (including a
92
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
93
+ or a Contribution incorporated within the Work constitutes direct
94
+ or contributory patent infringement, then any patent licenses
95
+ granted to You under this License for that Work shall terminate
96
+ as of the date such litigation is filed.
97
+
98
+ 4. Redistribution. You may reproduce and distribute copies of the
99
+ Work or Derivative Works thereof in any medium, with or without
100
+ modifications, and in Source or Object form, provided that You
101
+ meet the following conditions:
102
+
103
+ (a) You must give any other recipients of the Work or
104
+ Derivative Works a copy of this License; and
105
+
106
+ (b) You must cause any modified files to carry prominent notices
107
+ stating that You changed the files; and
108
+
109
+ (c) You must retain, in the Source form of any Derivative Works
110
+ that You distribute, all copyright, patent, trademark, and
111
+ attribution notices from the Source form of the Work,
112
+ excluding those notices that do not pertain to any part of
113
+ the Derivative Works; and
114
+
115
+ (d) If the Work includes a "NOTICE" text file as part of its
116
+ distribution, then any Derivative Works that You distribute must
117
+ include a readable copy of the attribution notices contained
118
+ within such NOTICE file, excluding those notices that do not
119
+ pertain to any part of the Derivative Works, in at least one
120
+ of the following places: within a NOTICE text file distributed
121
+ as part of the Derivative Works; within the Source form or
122
+ documentation, if provided along with the Derivative Works; or,
123
+ within a display generated by the Derivative Works, if and
124
+ wherever such third-party notices normally appear. The contents
125
+ of the NOTICE file are for informational purposes only and
126
+ do not modify the License. You may add Your own attribution
127
+ notices within Derivative Works that You distribute, alongside
128
+ or as an addendum to the NOTICE text from the Work, provided
129
+ that such additional attribution notices cannot be construed
130
+ as modifying the License.
131
+
132
+ You may add Your own copyright statement to Your modifications and
133
+ may provide additional or different license terms and conditions
134
+ for use, reproduction, or distribution of Your modifications, or
135
+ for any such Derivative Works as a whole, provided Your use,
136
+ reproduction, and distribution of the Work otherwise complies with
137
+ the conditions stated in this License.
138
+
139
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
140
+ any Contribution intentionally submitted for inclusion in the Work
141
+ by You to the Licensor shall be under the terms and conditions of
142
+ this License, without any additional terms or conditions.
143
+ Notwithstanding the above, nothing herein shall supersede or modify
144
+ the terms of any separate license agreement you may have executed
145
+ with Licensor regarding such Contributions.
146
+
147
+ 6. Trademarks. This License does not grant permission to use the trade
148
+ names, trademarks, service marks, or product names of the Licensor,
149
+ except as required for reasonable and customary use in describing the
150
+ origin of the Work and reproducing the content of the NOTICE file.
151
+
152
+ 7. Disclaimer of Warranty. Unless required by applicable law or
153
+ agreed to in writing, Licensor provides the Work (and each
154
+ Contributor provides its Contributions) on an "AS IS" BASIS,
155
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
156
+ implied, including, without limitation, any warranties or conditions
157
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
158
+ PARTICULAR PURPOSE. You are solely responsible for determining the
159
+ appropriateness of using or redistributing the Work and assume any
160
+ risks associated with Your exercise of permissions under this License.
161
+
162
+ 8. Limitation of Liability. In no event and under no legal theory,
163
+ whether in tort (including negligence), contract, or otherwise,
164
+ unless required by applicable law (such as deliberate and grossly
165
+ negligent acts) or agreed to in writing, shall any Contributor be
166
+ liable to You for damages, including any direct, indirect, special,
167
+ incidental, or consequential damages of any character arising as a
168
+ result of this License or out of the use or inability to use the
169
+ Work (including but not limited to damages for loss of goodwill,
170
+ work stoppage, computer failure or malfunction, or any and all
171
+ other commercial damages or losses), even if such Contributor
172
+ has been advised of the possibility of such damages.
173
+
174
+ 9. Accepting Warranty or Additional Liability. While redistributing
175
+ the Work or Derivative Works thereof, You may choose to offer,
176
+ and charge a fee for, acceptance of support, warranty, indemnity,
177
+ or other liability obligations and/or rights consistent with this
178
+ License. However, in accepting such obligations, You may act only
179
+ on Your own behalf and on Your sole responsibility, not on behalf
180
+ of any other Contributor, and only if You agree to indemnify,
181
+ defend, and hold each Contributor harmless for any liability
182
+ incurred by, or claims asserted against, such Contributor by reason
183
+ of your accepting any such warranty or additional liability.
184
+
185
+ END OF TERMS AND CONDITIONS
186
+
187
+ APPENDIX: How to apply the Apache License to your work.
188
+
189
+ To apply the Apache License to your work, attach the following
190
+ boilerplate notice, with the fields enclosed by brackets "[]"
191
+ replaced with your own identifying information. (Don't include
192
+ the brackets!) The text should be enclosed in the appropriate
193
+ comment syntax for the file format. We also recommend that a
194
+ file or class name and description of purpose be included on the
195
+ same "printed page" as the copyright notice for easier
196
+ identification within third-party archives.
197
+
198
+ Copyright 2026 Surya HA
199
+
200
+ Licensed under the Apache License, Version 2.0 (the "License");
201
+ you may not use this file except in compliance with the License.
202
+ You may obtain a copy of the License at
203
+
204
+ http://www.apache.org/licenses/LICENSE-2.0
205
+
206
+ Unless required by applicable law or agreed to in writing, software
207
+ distributed under the License is distributed on an "AS IS" BASIS,
208
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
209
+ See the License for the specific language governing permissions and
210
+ limitations under the License.
211
+ License-File: LICENSE
212
+ Keywords: ai,cli,coding-assistant,llm,local-ai,multi-agent,ollama,terminal
213
+ Classifier: Development Status :: 4 - Beta
214
+ Classifier: Environment :: Console
215
+ Classifier: Intended Audience :: Developers
216
+ Classifier: License :: OSI Approved :: Apache Software License
217
+ Classifier: Operating System :: OS Independent
218
+ Classifier: Programming Language :: Python :: 3
219
+ Classifier: Programming Language :: Python :: 3.11
220
+ Classifier: Programming Language :: Python :: 3.12
221
+ Classifier: Topic :: Software Development
222
+ Classifier: Topic :: Terminals
223
+ Requires-Python: >=3.11
224
+ Requires-Dist: anthropic>=0.18.0
225
+ Requires-Dist: gitpython>=3.1.40
226
+ Requires-Dist: httpx>=0.26.0
227
+ Requires-Dist: keyring>=24.0.0
228
+ Requires-Dist: mcp>=1.0.0
229
+ Requires-Dist: networkx>=3.2.0
230
+ Requires-Dist: openai>=1.10.0
231
+ Requires-Dist: opentelemetry-api>=1.22.0
232
+ Requires-Dist: opentelemetry-exporter-otlp>=1.22.0
233
+ Requires-Dist: opentelemetry-sdk>=1.22.0
234
+ Requires-Dist: orjson>=3.9.0
235
+ Requires-Dist: pathspec>=0.12.0
236
+ Requires-Dist: platformdirs>=4.2.0
237
+ Requires-Dist: prompt-toolkit>=3.0.0
238
+ Requires-Dist: psutil>=5.9.0
239
+ Requires-Dist: pydantic-settings>=2.1.0
240
+ Requires-Dist: pydantic>=2.5.0
241
+ Requires-Dist: qdrant-client>=1.7.0
242
+ Requires-Dist: rank-bm25>=0.2.2
243
+ Requires-Dist: rich>=13.7.0
244
+ Requires-Dist: tiktoken>=0.5.0
245
+ Requires-Dist: toml>=0.10.2
246
+ Requires-Dist: tree-sitter-go>=0.21.0
247
+ Requires-Dist: tree-sitter-python>=0.21.0
248
+ Requires-Dist: tree-sitter-rust>=0.21.0
249
+ Requires-Dist: tree-sitter-typescript>=0.21.0
250
+ Requires-Dist: tree-sitter>=0.21.0
251
+ Requires-Dist: typer>=0.9.0
252
+ Provides-Extra: all
253
+ Requires-Dist: gguf>=0.6.0; extra == 'all'
254
+ Requires-Dist: llama-cpp-python>=0.2.0; extra == 'all'
255
+ Provides-Extra: dev
256
+ Requires-Dist: black>=23.12.0; extra == 'dev'
257
+ Requires-Dist: coverage>=7.0.0; extra == 'dev'
258
+ Requires-Dist: mypy>=1.8.0; extra == 'dev'
259
+ Requires-Dist: pre-commit>=3.6.0; extra == 'dev'
260
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
261
+ Requires-Dist: pytest-benchmark>=4.0.0; extra == 'dev'
262
+ Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
263
+ Requires-Dist: pytest-mock>=3.12.0; extra == 'dev'
264
+ Requires-Dist: pytest-timeout>=2.2.0; extra == 'dev'
265
+ Requires-Dist: pytest>=7.4.0; extra == 'dev'
266
+ Requires-Dist: ruff>=0.1.0; extra == 'dev'
267
+ Requires-Dist: types-toml>=0.10.0; extra == 'dev'
268
+ Provides-Extra: gguf
269
+ Requires-Dist: gguf>=0.6.0; extra == 'gguf'
270
+ Requires-Dist: llama-cpp-python>=0.2.0; extra == 'gguf'
271
+ Description-Content-Type: text/markdown
272
+
273
+ # Velune
274
+
275
+ > Local-first multi-model AI developer CLI. Council-based agents,
276
+ > persistent memory, repository cognition.
277
+ > No cloud required. No quota. No lock-in.
278
+
279
+ [![PyPI](https://img.shields.io/pypi/v/velune)](https://pypi.org/project/velune/)
280
+ [![Python](https://img.shields.io/badge/python-3.11%2B-blue)](https://python.org)
281
+ [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-green)](LICENSE)
282
+ [![CI](https://img.shields.io/github/actions/workflow/status/Surya-Hariharan/Velune-CLI/ci.yml?branch=main&label=CI)](https://github.com/Surya-Hariharan/Velune-CLI/actions/workflows/ci.yml)
283
+
284
+ ---
285
+
286
+ ## What it does
287
+
288
+ Velune is a terminal-first AI coding assistant that runs a council of
289
+ specialized agents (Planner, Coder, Reviewer, Challenger, Synthesizer)
290
+ on your local machine using Ollama, or on free cloud tiers via Groq,
291
+ OpenRouter, and others.
292
+
293
+ Unlike Copilot or Cursor, Velune:
294
+
295
+ - Runs 100% locally with Ollama — no API key needed
296
+ - Remembers your codebase across sessions (persistent 5-tier memory)
297
+ - Reviews its own code using multiple specialized agents
298
+ - Works in any terminal on any project — no IDE required
299
+
300
+ ---
301
+
302
+ ## 60-second quickstart
303
+
304
+ ### Option A — Local (Ollama, free, no key)
305
+
306
+ ```bash
307
+ # 1. Install Ollama
308
+ curl -fsSL https://ollama.com/install.sh | sh
309
+
310
+ # 2. Pull a model
311
+ ollama pull qwen2.5-coder:7b
312
+
313
+ # 3. Install Velune
314
+ pip install velune
315
+
316
+ # 4. Initialize in your project
317
+ cd your-project
318
+ velune init
319
+
320
+ # 5. Start
321
+ velune
322
+ ```
323
+
324
+ ### Option B — Cloud free tier (Groq, fastest, no GPU needed)
325
+
326
+ ```bash
327
+ pip install velune
328
+ velune init --provider groq
329
+ velune setup # enter your free Groq key
330
+ velune
331
+ ```
332
+
333
+ Get a free Groq key at <https://console.groq.com/keys> — no credit card.
334
+
335
+ ---
336
+
337
+ ## Hardware requirements
338
+
339
+ | RAM | GPU | Can run local LLM? | Recommended setup |
340
+ |--------|------------------|--------------------|------------------------------|
341
+ | < 8 GB | any | ✗ No | Use Groq free tier |
342
+ | 8 GB | integrated | ⚠ 3B models only | Groq + phi3-mini local |
343
+ | 16 GB | integrated | ⚠ Slow (CPU only) | Groq + 3B local |
344
+ | 16 GB | 6–8 GB VRAM | ✓ 7B comfortable | qwen2.5-coder:7b |
345
+ | 32 GB | 12+ GB VRAM | ✓ 13B comfortable | Full council local |
346
+ | 36 GB | Apple Silicon | ✓ 27B comfortable | Full council, Metal accel |
347
+ | 64 GB | 24 GB VRAM | ✓ 70B capable | Max power mode |
348
+
349
+ Velune detects your hardware on startup and prints tier, GPU, and recommendations.
350
+ On underpowered machines it routes tasks to cloud providers automatically.
351
+
352
+ ---
353
+
354
+ ## Providers
355
+
356
+ | Provider | Type | Cost | Models | Setup |
357
+ |-----------------------|-------|----------------|--------------------------------------|----------------------------------|
358
+ | Ollama | Local | Free | Any pulled model | Install Ollama, pull a model |
359
+ | Groq | Cloud | Free tier | Llama 3.3 70B, Mixtral, Gemma2 | `velune setup` → enter key |
360
+ | OpenRouter | Cloud | Pay-per-token | 100+ models | `velune setup` → enter key |
361
+ | OpenAI | Cloud | Pay-per-token | GPT-4o, GPT-4o Mini | `velune setup` → enter key |
362
+ | Anthropic | Cloud | Pay-per-token | Claude Opus, Sonnet, Haiku | `velune setup` → enter key |
363
+ | xAI (Grok) | Cloud | Pay-per-token | Grok 2, Grok 2 Mini | `velune setup` → enter key |
364
+ | Google Gemini | Cloud | Free quota | Gemini 2.0 Flash, 1.5 Pro/Flash | `velune setup` → enter key |
365
+
366
+ Keys are stored in your OS keyring — never in files, never in git.
367
+
368
+ ---
369
+
370
+ ## Commands
371
+
372
+ ### CLI (before the REPL starts)
373
+
374
+ ```bash
375
+ velune # Start the persistent REPL session
376
+ velune init # Initialize Velune in a project
377
+ velune setup # Configure API keys securely (stored in OS keyring)
378
+ velune doctor # Check hardware, providers, dependencies
379
+ velune models scan # Discover all available local and cloud models
380
+ ```
381
+
382
+ ### Inside the REPL
383
+
384
+ ```text
385
+ /run <task> Execute a task through the council
386
+ /model Switch active model (arrow-key picker)
387
+ /models List all available models
388
+ /optimus Speed mode — instant tier, smallest model
389
+ /godly Max power — full council, largest model
390
+ /normal Return to balanced mode
391
+ /mode Show current mode settings
392
+ /memory Inspect memory tiers
393
+ /session save Save current session
394
+ /session list List saved sessions
395
+ /session resume <id> Resume a session
396
+ /usage Token count and cost for this session
397
+ /context Context window usage indicator
398
+ /diff Show pending file changes
399
+ /doctor Run health checks
400
+ /help Show all commands
401
+ /clear Clear screen and context
402
+ /exit Exit Velune
403
+ ```
404
+
405
+ Tab-completion is active for all `/` commands and for model IDs (type `/model` then space to trigger).
406
+
407
+ ---
408
+
409
+ ## Architecture overview
410
+
411
+ ```text
412
+ velune/
413
+ ├── cli/ REPL, slash commands, banner, autocomplete, session manager
414
+ ├── providers/ Ollama, Groq, OpenAI, Anthropic, xAI, Google, OpenRouter
415
+ ├── cognition/ Council: Planner + Coder + Reviewer + Challenger + Synthesizer
416
+ ├── memory/ 5-tier: working → episodic → semantic → graph → lineage
417
+ ├── repository/ AST indexing, dependency graph, .veluneignore
418
+ ├── execution/ Sandbox, diff preview, rollback, cancellation
419
+ ├── hardware/ Hardware detection, tier classification, GPU probe
420
+ ├── telemetry/ Token tracking, cost estimation, latency profiling
421
+ ├── models/ Model registry, capability scoring, specializations
422
+ ├── context/ Context window tracking, extractive compression
423
+ ├── kernel/ Bootstrap, lifecycle coordinator, service container
424
+ └── plugins/ Plugin API, sandbox, hook registry
425
+ ```
426
+
427
+ ---
428
+
429
+ ## Memory system
430
+
431
+ Velune maintains five memory tiers across sessions:
432
+
433
+ 1. **Working** — current conversation turns (in-process, TTL-evicted)
434
+ 2. **Episodic** — session history (SQLite, persisted to `~/.velune/`)
435
+ 3. **Semantic** — vector search over past interactions (local Qdrant)
436
+ 4. **Graph** — repository structure and symbol relationships
437
+ 5. **Lineage** — decision history, what was tried and why
438
+
439
+ This means "fix the auth issue from yesterday" actually works —
440
+ Velune retrieves recent sessions, git changes, and related context
441
+ to reconstruct intent without you explaining it again.
442
+
443
+ ---
444
+
445
+ ## Session modes
446
+
447
+ | Mode | Command | Council tier | Model | Context cap |
448
+ |---------|------------|--------------|----------|--------------|
449
+ | Normal | `/normal` | auto | current | 16 k tokens |
450
+ | Optimus | `/optimus` | instant | smallest | 4 k tokens |
451
+ | Godly | `/godly` | full | largest | 128 k tokens |
452
+
453
+ Switch modes at any time mid-session. The prompt badge updates immediately.
454
+
455
+ ---
456
+
457
+ ## MCP integration
458
+
459
+ Velune exposes an MCP server so that Claude Desktop and VS Code can call
460
+ Velune's local model council as a tool — giving cloud-based editors access
461
+ to local hardware without sending your code to a third party.
462
+
463
+ See [`docs/mcp.md`](docs/mcp.md) for configuration examples and the full tool reference.
464
+
465
+ ---
466
+
467
+ ## Windows
468
+
469
+ Velune runs on Windows via WSL2. Native Windows support is planned.
470
+
471
+ See [WINDOWS.md](WINDOWS.md) for the complete WSL2 setup guide.
472
+
473
+ ---
474
+
475
+ ## Contributing
476
+
477
+ See [CONTRIBUTING.md](CONTRIBUTING.md).
478
+
479
+ Before opening a PR:
480
+
481
+ ```bash
482
+ pip install -e ".[dev]"
483
+ ruff check velune/
484
+ pytest tests/ -q
485
+ ```
486
+
487
+ Report security issues via
488
+ [GitHub Security Advisories](https://github.com/Surya-Hariharan/Velune-CLI/security/advisories/new) —
489
+ not public issues.
490
+
491
+ ---
492
+
493
+ ## License
494
+
495
+ Apache 2.0 — see [LICENSE](LICENSE).
496
+
497
+ Copyright 2026 Surya HA