vibetrack 0.1.0__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 (71) hide show
  1. vibetrack-0.1.0/LICENSE +183 -0
  2. vibetrack-0.1.0/MANIFEST.in +2 -0
  3. vibetrack-0.1.0/PKG-INFO +286 -0
  4. vibetrack-0.1.0/README.md +251 -0
  5. vibetrack-0.1.0/docs/AGENTS.md +271 -0
  6. vibetrack-0.1.0/docs/API.md +59 -0
  7. vibetrack-0.1.0/docs/BENCHMARK.md +535 -0
  8. vibetrack-0.1.0/docs/DEVELOPMENT.md +128 -0
  9. vibetrack-0.1.0/docs/MCP.md +145 -0
  10. vibetrack-0.1.0/docs/VIEWERS.md +204 -0
  11. vibetrack-0.1.0/docs/showcase.gif +0 -0
  12. vibetrack-0.1.0/docs/social-preview.png +0 -0
  13. vibetrack-0.1.0/pyproject.toml +65 -0
  14. vibetrack-0.1.0/setup.cfg +4 -0
  15. vibetrack-0.1.0/tests/test_compare.py +140 -0
  16. vibetrack-0.1.0/tests/test_config.py +139 -0
  17. vibetrack-0.1.0/tests/test_db.py +398 -0
  18. vibetrack-0.1.0/tests/test_dispatch.py +195 -0
  19. vibetrack-0.1.0/tests/test_distributed.py +120 -0
  20. vibetrack-0.1.0/tests/test_gradio.py +383 -0
  21. vibetrack-0.1.0/tests/test_media.py +462 -0
  22. vibetrack-0.1.0/tests/test_outputs.py +1329 -0
  23. vibetrack-0.1.0/tests/test_reader.py +146 -0
  24. vibetrack-0.1.0/tests/test_smoother.py +267 -0
  25. vibetrack-0.1.0/tests/test_sysmetrics.py +322 -0
  26. vibetrack-0.1.0/tests/test_writer.py +1213 -0
  27. vibetrack-0.1.0/vibetrack/__init__.py +184 -0
  28. vibetrack-0.1.0/vibetrack/_graph.py +294 -0
  29. vibetrack-0.1.0/vibetrack/cli.py +618 -0
  30. vibetrack-0.1.0/vibetrack/compare.py +109 -0
  31. vibetrack-0.1.0/vibetrack/config.py +123 -0
  32. vibetrack-0.1.0/vibetrack/db.py +1457 -0
  33. vibetrack-0.1.0/vibetrack/default_config.py +45 -0
  34. vibetrack-0.1.0/vibetrack/media.py +369 -0
  35. vibetrack-0.1.0/vibetrack/reader.py +459 -0
  36. vibetrack-0.1.0/vibetrack/smoother.py +120 -0
  37. vibetrack-0.1.0/vibetrack/sysmetrics.py +606 -0
  38. vibetrack-0.1.0/vibetrack/types.py +81 -0
  39. vibetrack-0.1.0/vibetrack/viewers/__init__.py +65 -0
  40. vibetrack-0.1.0/vibetrack/viewers/_summary.py +130 -0
  41. vibetrack-0.1.0/vibetrack/viewers/base.py +78 -0
  42. vibetrack-0.1.0/vibetrack/viewers/console.py +252 -0
  43. vibetrack-0.1.0/vibetrack/viewers/event.py +86 -0
  44. vibetrack-0.1.0/vibetrack/viewers/gradio.py +1133 -0
  45. vibetrack-0.1.0/vibetrack/viewers/jupyter.py +158 -0
  46. vibetrack-0.1.0/vibetrack/viewers/mcp.py +936 -0
  47. vibetrack-0.1.0/vibetrack/viewers/remote.py +207 -0
  48. vibetrack-0.1.0/vibetrack/viewers/slack.py +583 -0
  49. vibetrack-0.1.0/vibetrack/viewers/telegram.py +350 -0
  50. vibetrack-0.1.0/vibetrack/viewers/web/css/style.css +1905 -0
  51. vibetrack-0.1.0/vibetrack/viewers/web/index.html +219 -0
  52. vibetrack-0.1.0/vibetrack/viewers/web/js/charts.js +693 -0
  53. vibetrack-0.1.0/vibetrack/viewers/web/js/core.js +300 -0
  54. vibetrack-0.1.0/vibetrack/viewers/web/js/embeddings.js +756 -0
  55. vibetrack-0.1.0/vibetrack/viewers/web/js/hparams.js +432 -0
  56. vibetrack-0.1.0/vibetrack/viewers/web/js/main.js +79 -0
  57. vibetrack-0.1.0/vibetrack/viewers/web/js/media.js +921 -0
  58. vibetrack-0.1.0/vibetrack/viewers/web/js/meshes.js +448 -0
  59. vibetrack-0.1.0/vibetrack/viewers/web/js/pills.js +114 -0
  60. vibetrack-0.1.0/vibetrack/viewers/web/js/settings.js +148 -0
  61. vibetrack-0.1.0/vibetrack/viewers/web/vendor/OrbitControls.js +1045 -0
  62. vibetrack-0.1.0/vibetrack/viewers/web/vendor/README.md +13 -0
  63. vibetrack-0.1.0/vibetrack/viewers/web/vendor/three.min.js +6 -0
  64. vibetrack-0.1.0/vibetrack/viewers/web.py +933 -0
  65. vibetrack-0.1.0/vibetrack/writer.py +2241 -0
  66. vibetrack-0.1.0/vibetrack.egg-info/PKG-INFO +286 -0
  67. vibetrack-0.1.0/vibetrack.egg-info/SOURCES.txt +69 -0
  68. vibetrack-0.1.0/vibetrack.egg-info/dependency_links.txt +1 -0
  69. vibetrack-0.1.0/vibetrack.egg-info/entry_points.txt +2 -0
  70. vibetrack-0.1.0/vibetrack.egg-info/requires.txt +23 -0
  71. vibetrack-0.1.0/vibetrack.egg-info/top_level.txt +1 -0
@@ -0,0 +1,183 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship made available under
36
+ the License, as indicated by a copyright notice that is included in
37
+ or attached to the work (an example is provided in the Appendix below).
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. For the purposes
43
+ of this License, Derivative Works shall not include works that remain
44
+ separable from, or merely link (or bind by name) to the interfaces of,
45
+ the Work and Derivative Works thereof.
46
+
47
+ "Contribution" shall mean, as submitted to the Licensor for inclusion
48
+ in the Work by the copyright owner or by an Individual or Legal Entity
49
+ authorized to submit on behalf of the copyright owner. For the purposes
50
+ of this definition, "submitted" means any form of electronic, verbal,
51
+ or written communication sent to the Licensor or its representatives,
52
+ including but not limited to communication on electronic mailing lists,
53
+ source code control systems, and issue tracking systems that are managed
54
+ by, or on behalf of, the Licensor for the purpose of submitting the Work,
55
+ but excluding communication that is conspicuously marked or otherwise
56
+ designated in writing by the copyright owner as "Not a Contribution."
57
+
58
+ "Contributor" shall mean Licensor and any Legal Entity on behalf of
59
+ whom a Contribution has been received by the Licensor and included
60
+ within the Work.
61
+
62
+ 2. Grant of Copyright License. Subject to the terms and conditions of
63
+ this License, each Contributor hereby grants to You a perpetual,
64
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
65
+ copyright license to reproduce, prepare Derivative Works of,
66
+ publicly display, publicly perform, sublicense, and distribute the
67
+ Work and such Derivative Works in Source or Object form.
68
+
69
+ 3. Grant of Patent License. Subject to the terms and conditions of
70
+ this License, each Contributor hereby grants to You a perpetual,
71
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
72
+ (except as stated in this section) patent license to make, have made,
73
+ use, offer to sell, sell, import, and otherwise transfer the Work,
74
+ where such license applies only to those patent claims licensable
75
+ by such Contributor that are necessarily infringed by their
76
+ Contribution(s) alone or by the combined work of their Contribution(s)
77
+ with the Work to which such Contribution(s) was submitted. If You
78
+ institute patent litigation against any entity (including a cross-claim
79
+ or counterclaim in a lawsuit) alleging that the Work or any patent
80
+ claims licensable by such Contributor constitute direct or contributory
81
+ patent infringement, then any patent licenses granted to You under
82
+ this License for that Work shall terminate as of the date such
83
+ litigation is filed.
84
+
85
+ 4. Redistribution. You may reproduce and distribute copies of the
86
+ Work or Derivative Works thereof in any medium, with or without
87
+ modifications, and in Source or Object form, provided that You
88
+ meet the following conditions:
89
+
90
+ (a) You must give any other recipients of the Work or Derivative
91
+ Works a copy of this License; and
92
+
93
+ (b) You must cause any modified files to carry prominent notices
94
+ stating that You changed the files; and
95
+
96
+ (c) You must retain, in the Source form of any Derivative Works
97
+ that You distribute, all copyright, patent, trademark, and
98
+ attribution notices from the Source form of the Work,
99
+ excluding those notices that do not pertain to any part of
100
+ the Derivative Works; and
101
+
102
+ (d) If the Work includes a "NOTICE" text file as part of its
103
+ distribution, You must include a readable copy of the
104
+ attribution notices contained within such NOTICE file, in
105
+ at least one of the following places: within a NOTICE text
106
+ file distributed as part of the Derivative Works; within
107
+ the Source form or documentation, if provided along with the
108
+ Derivative Works; or, within a display generated by the
109
+ Derivative Works, if and wherever such third-party notices
110
+ normally appear. The contents of the NOTICE file are for
111
+ informational purposes only and do not modify the License.
112
+ You may add Your own attribution notices within Derivative
113
+ Works that You distribute, alongside or in addition to the
114
+ NOTICE text from the Work, provided that such additional
115
+ attribution notices cannot be construed as modifying the License.
116
+
117
+ You may add Your own license statement for Your modifications and
118
+ may provide additional grant of rights to use, copy, modify, merge,
119
+ publish, distribute, sublicense, and/or sell copies of the
120
+ Derivative Works, and to permit persons to whom the Derivative Works
121
+ is furnished to do so.
122
+
123
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
124
+ any Contribution intentionally submitted for inclusion in the Work
125
+ by You to the Licensor shall be under the terms and conditions of
126
+ this License, without any additional terms or conditions.
127
+ Notwithstanding the above, nothing herein shall supersede or modify
128
+ the terms of any separate license agreement you may have executed
129
+ with Licensor regarding such Contributions.
130
+
131
+ 6. Trademarks. This License does not grant permission to use the trade
132
+ names, trademarks, service marks, or product names of the Licensor,
133
+ except as required for reasonable and customary use in describing the
134
+ origin of the Work and reproducing the content of the NOTICE file.
135
+
136
+ 7. Disclaimer of Warranty. Unless required by applicable law or
137
+ agreed to in writing, Licensor provides the Work (and each
138
+ Contributor provides its Contributions) on an "AS IS" BASIS,
139
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
140
+ implied, including, without limitation, any warranties or conditions
141
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
142
+ PARTICULAR PURPOSE. You are solely responsible for determining the
143
+ appropriateness of using or reproducing the Work and assume any
144
+ risks associated with Your exercise of permissions under this License.
145
+
146
+ 8. Limitation of Liability. In no event and under no legal theory,
147
+ whether in tort (including negligence), contract, or otherwise,
148
+ unless required by applicable law (such as deliberate and grossly
149
+ negligent acts) or agreed to in writing, shall any Contributor be
150
+ liable to You for damages, including any direct, indirect, special,
151
+ incidental, or exemplary damages of any character arising as a
152
+ result of this License or out of the use or inability to use the
153
+ Work (including but not limited to damages for loss of goodwill,
154
+ work stoppage, computer failure or malfunction, or all other
155
+ commercial damages or losses), even if such Contributor has been
156
+ advised of the possibility of such damages.
157
+
158
+ 9. Accepting Warranty or Liability. While redistributing the Work or
159
+ Derivative Works thereof, You may choose to offer, and charge a fee
160
+ for, acceptance of support, warranty, indemnity, or other liability
161
+ obligations and/or rights consistent with this License. However, in
162
+ accepting such obligations, You may offer such obligations only on
163
+ Your own behalf and on Your sole responsibility, not on behalf of
164
+ any other Contributor, and only if You agree to indemnify, defend,
165
+ and hold each Contributor harmless for any liability incurred by,
166
+ or claims asserted against, such Contributor by reason of your
167
+ accepting any such warranty or additional liability.
168
+
169
+ END OF TERMS AND CONDITIONS
170
+
171
+ Copyright 2026 Sergei Chicherin
172
+
173
+ Licensed under the Apache License, Version 2.0 (the "License");
174
+ you may not use this file except in compliance with the License.
175
+ You may obtain a copy of the License at
176
+
177
+ http://www.apache.org/licenses/LICENSE-2.0
178
+
179
+ Unless required by applicable law or agreed to in writing, software
180
+ distributed under the License is distributed on an "AS IS" BASIS,
181
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
182
+ See the License for the specific language governing permissions and
183
+ limitations under the License.
@@ -0,0 +1,2 @@
1
+ graft docs
2
+ global-exclude __pycache__ *.pyc
@@ -0,0 +1,286 @@
1
+ Metadata-Version: 2.4
2
+ Name: vibetrack
3
+ Version: 0.1.0
4
+ Summary: Modern experiment tracking — drop-in compatible with TensorBoard SummaryWriter.
5
+ Author-email: Sergei Chicherin <serenkiy@ieee.org>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/chroneus/vibetrack
8
+ Project-URL: Bug Tracker, https://github.com/chroneus/vibetrack/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
12
+ Requires-Python: >=3.8
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Requires-Dist: fastapi>=0.100.0
16
+ Requires-Dist: uvicorn[standard]>=0.20.0
17
+ Requires-Dist: python-multipart>=0.0.5
18
+ Requires-Dist: psutil>=5.9
19
+ Provides-Extra: telegram
20
+ Requires-Dist: python-telegram-bot>=20.0; extra == "telegram"
21
+ Provides-Extra: all
22
+ Requires-Dist: fastapi>=0.100.0; extra == "all"
23
+ Requires-Dist: uvicorn[standard]>=0.20.0; extra == "all"
24
+ Requires-Dist: python-multipart>=0.0.5; extra == "all"
25
+ Requires-Dist: mcp>=1.0; python_version >= "3.10" and extra == "all"
26
+ Requires-Dist: psutil>=5.9; extra == "all"
27
+ Requires-Dist: numpy; extra == "all"
28
+ Requires-Dist: Pillow; extra == "all"
29
+ Requires-Dist: gradio<7,>=6.0; extra == "all"
30
+ Requires-Dist: python-telegram-bot>=20.0; extra == "all"
31
+ Requires-Dist: pytest>=7.0; extra == "all"
32
+ Requires-Dist: pytest-cov>=4.0; extra == "all"
33
+ Requires-Dist: httpx>=0.24.0; extra == "all"
34
+ Dynamic: license-file
35
+
36
+ # vibetrack
37
+
38
+ Modern experiment tracking.
39
+
40
+ ![vibetrack showcase](https://raw.githubusercontent.com/chroneus/vibetrack/main/docs/showcase.gif)
41
+
42
+ Key features:
43
+
44
+ - Send experiment results elsewhere: Telegram, Slack, Jupyter, Gradio, and MCP.
45
+ - Run locally while receiving experiment data over the network via REST API.
46
+ - Use open formats: experiment data is stored in SQLite and local files.
47
+ - Compare image-to-image results.
48
+ - Use a rich UI to show, hide, delete, and customize runs.
49
+ - TensorBoard SummaryWriter compatible drop-in APIs.
50
+ - Query results through the MCP server.
51
+ - Fast scalar logging; see the [benchmark report](https://github.com/chroneus/vibetrack/blob/main/docs/BENCHMARK.md).
52
+
53
+
54
+
55
+
56
+
57
+ ## Install
58
+
59
+ ```bash
60
+ pip install vibetrack # default with web
61
+ pip install vibetrack[all] # all optional backends+dev; MCP on Python >=3.10
62
+ ```
63
+
64
+ ## Quick start
65
+
66
+ ### TensorBoard-style API
67
+
68
+ ```python
69
+ from vibetrack import SummaryWriter
70
+
71
+ writer = SummaryWriter("runs/exp1", project_folder="my_project")
72
+ for step in range(100):
73
+ writer.add_scalar("loss", 1.0 / (step + 1), step)
74
+ writer.add_scalar("acc", step / 100, step)
75
+ writer.close()
76
+ ```
77
+ See [API.md](https://github.com/chroneus/vibetrack/blob/main/docs/API.md) for SummaryWriter and module-level logging examples.
78
+
79
+ ### Launch the dashboard
80
+
81
+ ```bash
82
+ vibetrack --listen 0.0.0.0:6116
83
+ # -> Web UI on http://you_server:6116
84
+ # -> MCP is also mounted when installed with vibetrack[all] on Python 3.10+
85
+ ```
86
+
87
+ ### Viewers and destinations syntax
88
+
89
+ ```python
90
+
91
+ writer = SummaryWriter("runs/exp1", project_folder="my_project")
92
+ writer.to("console").to("slack", every="15m")
93
+ writer.to("remote", url="http://server:8080", token="devtoken")
94
+ writer.add_scalar("loss", 0.5, step=0).to("telegram")
95
+ ```
96
+
97
+ See [VIEWERS.md](https://github.com/chroneus/vibetrack/blob/main/docs/VIEWERS.md) for web, console, Slack, Telegram, Gradio,
98
+ Jupyter, custom viewers, remote forwarding, credentials, and HTTP ingest.
99
+
100
+ # vibetrack Architecture
101
+
102
+ ```mermaid
103
+ flowchart TB
104
+ subgraph LOGGING["Experiment logging"]
105
+ direction TB
106
+ SW["SummaryWriter"]
107
+ ADD["add_(scalar|image|*)"]
108
+ SW --> ADD
109
+ end
110
+ subgraph REMOTE["remote HTTP logging"]
111
+ direction TB
112
+ TO_REMOTE[".to(#quot;remote#quot;)"]
113
+ end
114
+ VIBETRACK["vibetrack<br/>scalars • media • text"]
115
+ subgraph PERSIST["Persist"]
116
+ direction TB
117
+ DB_ROWS["scalars + text + metadata"]
118
+ DEFAULT_DB[("default DB<br/>~/.vibetrack/vibetrack.db")]
119
+ PROJECT_DB[("per project DB<br/>project_log_dir/vibetrack.db")]
120
+ MEDIA["media files<br/>project_log_dir/media"]
121
+ DB_ROWS --> DEFAULT_DB
122
+ DB_ROWS -.-> PROJECT_DB
123
+ end
124
+ DISPATCH[".to(viewer)"]
125
+ FANOUT["best-effort fanout"]
126
+ subgraph VIEWERS["live / summary viewers"]
127
+ direction TB
128
+ WEB["web<br/>(default)"]
129
+ CONSOLE["console"]
130
+ SLACK["slack"]
131
+ GRADIO["gradio"]
132
+ TELEGRAM["telegram"]
133
+ JUPYTER["jupyter"]
134
+ MCP["MCP"]
135
+ CUSTOM[".to(#quot;custom#quot;)"]
136
+ end
137
+
138
+ ADD --> VIBETRACK
139
+ TO_REMOTE -.-> VIBETRACK
140
+ VIBETRACK --> DB_ROWS
141
+ VIBETRACK --> MEDIA
142
+ ADD --> DISPATCH
143
+ DISPATCH --> FANOUT
144
+ FANOUT --> VIEWERS
145
+ DEFAULT_DB --> VIEWERS
146
+ PROJECT_DB -.-> VIEWERS
147
+ MEDIA --> VIEWERS
148
+
149
+ classDef logging fill:#fff4e6,stroke:#f59e0b,stroke-width:2px,color:#172033;
150
+ classDef code fill:#fff7ed,stroke:#f59e0b,stroke-width:1.5px,color:#172033,font-family:monospace;
151
+ classDef liveCode fill:#eef2ff,stroke:#6366f1,stroke-width:1.5px,color:#172033,font-family:monospace;
152
+ classDef event fill:#ffe4ec,stroke:#e11d48,stroke-width:2px,color:#172033;
153
+ classDef live fill:#eef2ff,stroke:#6366f1,stroke-width:2px,color:#172033;
154
+ classDef storage fill:#e7f8ef,stroke:#10b981,stroke-width:2px,color:#172033;
155
+ classDef optional fill:#f8fafc,stroke:#94a3b8,stroke-width:1.5px,stroke-dasharray:5 5,color:#64748b;
156
+ classDef optionalCode fill:#f8fafc,stroke:#94a3b8,stroke-width:1.5px,stroke-dasharray:5 5,color:#64748b,font-family:monospace;
157
+ classDef viewer fill:#f5e8ff,stroke:#a855f7,stroke-width:2px,color:#172033;
158
+
159
+ class SW,ADD code;
160
+ class TO_REMOTE optionalCode;
161
+ class VIBETRACK event;
162
+ class DISPATCH liveCode;
163
+ class FANOUT live;
164
+ class DB_ROWS,DEFAULT_DB,MEDIA storage;
165
+ class PROJECT_DB optional;
166
+ class WEB,CONSOLE viewer;
167
+ class SLACK,GRADIO,TELEGRAM,JUPYTER,MCP optional;
168
+ class CUSTOM optionalCode;
169
+ ```
170
+
171
+
172
+ # FAQ
173
+
174
+ ## How do I collect results from another server?
175
+
176
+ Run a vibetrack ingest server on the machine that should receive results:
177
+
178
+ ```bash
179
+ vibetrack --listen 0.0.0.0:8080 --token devtoken --project-folder /srv/runs
180
+ ```
181
+
182
+ Then forward events from the training machine:
183
+
184
+ ```python
185
+ from vibetrack import SummaryWriter
186
+
187
+ writer = SummaryWriter("runs/exp1", project_folder="my_project")
188
+ writer.to("remote", url="http://server:8080", token="devtoken")
189
+ ```
190
+
191
+ See [VIEWERS.md](https://github.com/chroneus/vibetrack/blob/main/docs/VIEWERS.md#remote-event-forwarding) for remote forwarding
192
+ and direct HTTP ingest.
193
+
194
+ ## How do I use separate databases on one machine?
195
+
196
+ By default, vibetrack writes to `~/.vibetrack/vibetrack.db`. Pass
197
+ `project_folder` to keep a separate `vibetrack.db` inside that project folder.
198
+
199
+ ```python
200
+ from vibetrack import SummaryWriter
201
+
202
+ writer = SummaryWriter("runs/exp1", project_folder="projects/cv")
203
+ ```
204
+
205
+ Open that database in the dashboard with the same folder:
206
+
207
+ ```bash
208
+ vibetrack --project-folder projects/cv
209
+ ```
210
+
211
+ ## How does vibetrack work with distributed training?
212
+
213
+ vibetrack automatically detects `RANK` / `LOCAL_RANK`. Only rank 0 logs by
214
+ default; other ranks get a silent no-op writer.
215
+
216
+ ```python
217
+ from vibetrack import SummaryWriter
218
+
219
+ writer = SummaryWriter("runs/distributed", project_folder="project/")
220
+ writer.add_scalar("loss", loss.item(), step)
221
+ writer.close()
222
+ ```
223
+
224
+ To force every rank to log, pass `rank="all"`:
225
+
226
+ ```python
227
+ writer = SummaryWriter("runs/distributed", rank="all")
228
+ ```
229
+
230
+ ## Can vibetrack collect system resources?
231
+
232
+ Yes. vibetrack can collect CPU, GPU, memory, and project disk metrics in a
233
+ background thread.
234
+
235
+ ```python
236
+ writer = SummaryWriter("runs/exp1", system_metrics_interval=3600) # every hour
237
+ ```
238
+
239
+ Collected metrics include `system/cpu_percent`, `system/mem_used_gb`,
240
+ `system/disk_free_gb`, `gpu/utilization`, `gpu/memory_used_gb`, and
241
+ `gpu/temperature`. Use `system_metrics_interval=0` to disable collection.
242
+
243
+ ## How do I run the MCP server for an LLM agent?
244
+
245
+ Install MCP dependencies, then run the standalone MCP server:
246
+
247
+ ```bash
248
+ pip install vibetrack[all]
249
+ vibetrack --viewer mcp --project-folder my_project/
250
+ ```
251
+
252
+ See [MCP.md](https://github.com/chroneus/vibetrack/blob/main/docs/MCP.md) for MCP endpoints, tools, resources, and agent usage.
253
+
254
+ ## What CLI commands are available?
255
+
256
+ ```bash
257
+ vibetrack # default
258
+ vibetrack [PROJECT_FOLDER] # Launch dashboard (web + ingest; MCP with vibetrack[all] on Python 3.10+)
259
+ vibetrack --port 8080 # Custom port
260
+ vibetrack --token SECRET # Protect ingest endpoints
261
+ vibetrack --listen 0.0.0.0:9009 # Open server on separate port
262
+ vibetrack migrate PROJECT_FOLDER # Merge legacy per-run DBs into project DB
263
+ ```
264
+
265
+ ## How is vibetrack configured?
266
+
267
+ Settings are stored in `~/.vibetrack/config.json`. The web UI can also write
268
+ project-scoped settings through its Settings tab.
269
+
270
+ ```json
271
+ {
272
+ "smoothing": "ema",
273
+ "smooth_weight": 0.6,
274
+ "system_metrics_interval": 3600,
275
+ "web": {
276
+ "theme": "light",
277
+ "auto_refresh": 5,
278
+ "image_play_fps": 2,
279
+ "original_values_opacity": 0.17
280
+ }
281
+ }
282
+ ```
283
+
284
+ ## License
285
+
286
+ Apache 2.0