tharavu-labs 0.4.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 (149) hide show
  1. tharavu_labs-0.4.0/.gitignore +49 -0
  2. tharavu_labs-0.4.0/CHANGELOG.md +104 -0
  3. tharavu_labs-0.4.0/CODE_OF_CONDUCT.md +10 -0
  4. tharavu_labs-0.4.0/CONTRIBUTING.md +63 -0
  5. tharavu_labs-0.4.0/LICENSE +21 -0
  6. tharavu_labs-0.4.0/NOTICE.md +50 -0
  7. tharavu_labs-0.4.0/PKG-INFO +700 -0
  8. tharavu_labs-0.4.0/README.md +605 -0
  9. tharavu_labs-0.4.0/SECURITY.md +36 -0
  10. tharavu_labs-0.4.0/da_client/da.py +343 -0
  11. tharavu_labs-0.4.0/da_client/skills/_common.py +116 -0
  12. tharavu_labs-0.4.0/da_client/skills/anomaly.py +97 -0
  13. tharavu_labs-0.4.0/da_client/skills/drivers.py +140 -0
  14. tharavu_labs-0.4.0/da_client/skills/forecast.py +91 -0
  15. tharavu_labs-0.4.0/da_client/skills/groups.py +88 -0
  16. tharavu_labs-0.4.0/da_client/skills/pareto.py +60 -0
  17. tharavu_labs-0.4.0/da_client/skills/segment.py +75 -0
  18. tharavu_labs-0.4.0/da_client/skills/trend.py +104 -0
  19. tharavu_labs-0.4.0/da_server/__init__.py +8 -0
  20. tharavu_labs-0.4.0/da_server/_assets/studio/assets/index-BH3mPMw2.css +2 -0
  21. tharavu_labs-0.4.0/da_server/_assets/studio/assets/index-BVKeGNZA.js +144 -0
  22. tharavu_labs-0.4.0/da_server/_assets/studio/favicon.png +0 -0
  23. tharavu_labs-0.4.0/da_server/_assets/studio/favicon.svg +1 -0
  24. tharavu_labs-0.4.0/da_server/_assets/studio/index.html +24 -0
  25. tharavu_labs-0.4.0/da_server/_assets/studio/logo.png +0 -0
  26. tharavu_labs-0.4.0/da_server/_assets/studio/mock-chart.svg +1 -0
  27. tharavu_labs-0.4.0/da_server/agent_api.py +49 -0
  28. tharavu_labs-0.4.0/da_server/approvals.py +185 -0
  29. tharavu_labs-0.4.0/da_server/autostart.py +267 -0
  30. tharavu_labs-0.4.0/da_server/commands.py +575 -0
  31. tharavu_labs-0.4.0/da_server/config.py +277 -0
  32. tharavu_labs-0.4.0/da_server/connectors/__init__.py +101 -0
  33. tharavu_labs-0.4.0/da_server/connectors/base.py +246 -0
  34. tharavu_labs-0.4.0/da_server/connectors/delivery.py +117 -0
  35. tharavu_labs-0.4.0/da_server/connectors/files.py +205 -0
  36. tharavu_labs-0.4.0/da_server/connectors/nosql.py +335 -0
  37. tharavu_labs-0.4.0/da_server/connectors/rest.py +136 -0
  38. tharavu_labs-0.4.0/da_server/connectors/sql.py +332 -0
  39. tharavu_labs-0.4.0/da_server/context.py +34 -0
  40. tharavu_labs-0.4.0/da_server/decisions.py +661 -0
  41. tharavu_labs-0.4.0/da_server/engine.py +624 -0
  42. tharavu_labs-0.4.0/da_server/guides.py +332 -0
  43. tharavu_labs-0.4.0/da_server/hostos.py +290 -0
  44. tharavu_labs-0.4.0/da_server/ingest.py +389 -0
  45. tharavu_labs-0.4.0/da_server/keeper.py +150 -0
  46. tharavu_labs-0.4.0/da_server/knowledge.py +707 -0
  47. tharavu_labs-0.4.0/da_server/library.py +671 -0
  48. tharavu_labs-0.4.0/da_server/llm.py +169 -0
  49. tharavu_labs-0.4.0/da_server/llm_anthropic.py +81 -0
  50. tharavu_labs-0.4.0/da_server/llmdyno_bridge.py +100 -0
  51. tharavu_labs-0.4.0/da_server/llmdyno_helper.py +487 -0
  52. tharavu_labs-0.4.0/da_server/look.py +290 -0
  53. tharavu_labs-0.4.0/da_server/main.py +105 -0
  54. tharavu_labs-0.4.0/da_server/memory.py +424 -0
  55. tharavu_labs-0.4.0/da_server/models.py +648 -0
  56. tharavu_labs-0.4.0/da_server/pbi_files.py +260 -0
  57. tharavu_labs-0.4.0/da_server/pbi_offline.py +455 -0
  58. tharavu_labs-0.4.0/da_server/plans.py +180 -0
  59. tharavu_labs-0.4.0/da_server/plugins.py +421 -0
  60. tharavu_labs-0.4.0/da_server/powerbi.py +1622 -0
  61. tharavu_labs-0.4.0/da_server/redact.py +139 -0
  62. tharavu_labs-0.4.0/da_server/remote.py +102 -0
  63. tharavu_labs-0.4.0/da_server/reports/__init__.py +1 -0
  64. tharavu_labs-0.4.0/da_server/reports/commands.py +91 -0
  65. tharavu_labs-0.4.0/da_server/reports/convert.py +235 -0
  66. tharavu_labs-0.4.0/da_server/reports/deck.py +1754 -0
  67. tharavu_labs-0.4.0/da_server/reports/deck_themes.py +262 -0
  68. tharavu_labs-0.4.0/da_server/reports/document.py +1234 -0
  69. tharavu_labs-0.4.0/da_server/reports/document_commands.py +240 -0
  70. tharavu_labs-0.4.0/da_server/reports/pdf.py +187 -0
  71. tharavu_labs-0.4.0/da_server/reports/workbook.py +898 -0
  72. tharavu_labs-0.4.0/da_server/reports/workbook_commands.py +120 -0
  73. tharavu_labs-0.4.0/da_server/runtime.py +991 -0
  74. tharavu_labs-0.4.0/da_server/sandbox.py +297 -0
  75. tharavu_labs-0.4.0/da_server/schedules.py +483 -0
  76. tharavu_labs-0.4.0/da_server/semantic.py +1415 -0
  77. tharavu_labs-0.4.0/da_server/sessions.py +179 -0
  78. tharavu_labs-0.4.0/da_server/skills.py +194 -0
  79. tharavu_labs-0.4.0/da_server/sqlguard.py +193 -0
  80. tharavu_labs-0.4.0/da_server/thinking.py +135 -0
  81. tharavu_labs-0.4.0/da_server/ui_api.py +1398 -0
  82. tharavu_labs-0.4.0/da_server/uploads.py +287 -0
  83. tharavu_labs-0.4.0/da_server/vault.py +332 -0
  84. tharavu_labs-0.4.0/da_server/vectors.py +345 -0
  85. tharavu_labs-0.4.0/da_server/watchdog.py +301 -0
  86. tharavu_labs-0.4.0/da_server/web.py +507 -0
  87. tharavu_labs-0.4.0/da_server/workspaces.py +240 -0
  88. tharavu_labs-0.4.0/docker/agent/Dockerfile +29 -0
  89. tharavu_labs-0.4.0/docs/api.md +504 -0
  90. tharavu_labs-0.4.0/docs/plugins.md +251 -0
  91. tharavu_labs-0.4.0/docs/releasing.md +99 -0
  92. tharavu_labs-0.4.0/examples/plugins/duckdb_file/plugin.py +83 -0
  93. tharavu_labs-0.4.0/examples/plugins/duckdb_file/plugin.toml +5 -0
  94. tharavu_labs-0.4.0/examples/plugins/tharavu-experiments/pyproject.toml +19 -0
  95. tharavu_labs-0.4.0/examples/plugins/tharavu-experiments/tharavu_experiments/__init__.py +125 -0
  96. tharavu_labs-0.4.0/examples/plugins/tharavu-experiments/tharavu_experiments/skills/cohort.py +72 -0
  97. tharavu_labs-0.4.0/js/README.md +54 -0
  98. tharavu_labs-0.4.0/js/package.json +58 -0
  99. tharavu_labs-0.4.0/js/src/cli.ts +141 -0
  100. tharavu_labs-0.4.0/js/src/index.ts +316 -0
  101. tharavu_labs-0.4.0/js/tsconfig.json +15 -0
  102. tharavu_labs-0.4.0/pyproject.toml +133 -0
  103. tharavu_labs-0.4.0/tests/conftest.py +103 -0
  104. tharavu_labs-0.4.0/tests/mock_llm.py +288 -0
  105. tharavu_labs-0.4.0/tests/smtp_sink.py +93 -0
  106. tharavu_labs-0.4.0/tests/test_agent_api.py +181 -0
  107. tharavu_labs-0.4.0/tests/test_brakes.py +310 -0
  108. tharavu_labs-0.4.0/tests/test_decisions.py +223 -0
  109. tharavu_labs-0.4.0/tests/test_deck.py +213 -0
  110. tharavu_labs-0.4.0/tests/test_deck_design.py +235 -0
  111. tharavu_labs-0.4.0/tests/test_document.py +251 -0
  112. tharavu_labs-0.4.0/tests/test_fresh_start.py +53 -0
  113. tharavu_labs-0.4.0/tests/test_keeper.py +133 -0
  114. tharavu_labs-0.4.0/tests/test_knowledge.py +240 -0
  115. tharavu_labs-0.4.0/tests/test_library.py +346 -0
  116. tharavu_labs-0.4.0/tests/test_look.py +180 -0
  117. tharavu_labs-0.4.0/tests/test_memory.py +179 -0
  118. tharavu_labs-0.4.0/tests/test_models.py +643 -0
  119. tharavu_labs-0.4.0/tests/test_models_runtime.py +421 -0
  120. tharavu_labs-0.4.0/tests/test_platform.py +319 -0
  121. tharavu_labs-0.4.0/tests/test_plugins.py +210 -0
  122. tharavu_labs-0.4.0/tests/test_powerbi.py +482 -0
  123. tharavu_labs-0.4.0/tests/test_powerbi_files.py +214 -0
  124. tharavu_labs-0.4.0/tests/test_release.py +123 -0
  125. tharavu_labs-0.4.0/tests/test_remote.py +87 -0
  126. tharavu_labs-0.4.0/tests/test_runtime.py +357 -0
  127. tharavu_labs-0.4.0/tests/test_sandbox.py +247 -0
  128. tharavu_labs-0.4.0/tests/test_schedules.py +145 -0
  129. tharavu_labs-0.4.0/tests/test_security.py +207 -0
  130. tharavu_labs-0.4.0/tests/test_semantic.py +366 -0
  131. tharavu_labs-0.4.0/tests/test_sessions.py +36 -0
  132. tharavu_labs-0.4.0/tests/test_sources.py +313 -0
  133. tharavu_labs-0.4.0/tests/test_sqlguard.py +143 -0
  134. tharavu_labs-0.4.0/tests/test_thinking.py +94 -0
  135. tharavu_labs-0.4.0/tests/test_tools.py +145 -0
  136. tharavu_labs-0.4.0/tests/test_ui_api.py +190 -0
  137. tharavu_labs-0.4.0/tests/test_vault.py +115 -0
  138. tharavu_labs-0.4.0/tests/test_web.py +213 -0
  139. tharavu_labs-0.4.0/tests/test_workbook.py +210 -0
  140. tharavu_labs-0.4.0/tests/test_workspaces.py +185 -0
  141. tharavu_labs-0.4.0/tests/usecases/cases.py +487 -0
  142. tharavu_labs-0.4.0/tests/usecases/cases2.py +441 -0
  143. tharavu_labs-0.4.0/tests/usecases/cases3.py +789 -0
  144. tharavu_labs-0.4.0/tests/usecases/checks.py +204 -0
  145. tharavu_labs-0.4.0/tharavu_labs/__init__.py +15 -0
  146. tharavu_labs-0.4.0/tharavu_labs/cli.py +618 -0
  147. tharavu_labs-0.4.0/tharavu_labs/client.py +153 -0
  148. tharavu_labs-0.4.0/tharavu_labs/sdk.py +61 -0
  149. tharavu_labs-0.4.0/tharavu_labs/testing.py +176 -0
@@ -0,0 +1,49 @@
1
+ # What stays on the machine and never goes into the repository.
2
+
3
+ # --- secrets, chats, memory, logs: the vault and everything else the platform knows about its user
4
+ state/
5
+ sandbox_home/
6
+
7
+ # --- the analyst's working folder: the user's data, reports and outputs
8
+ workspace/*
9
+ !workspace/.gitkeep
10
+
11
+ # --- environments and build output
12
+ .venv/
13
+ __pycache__/
14
+ *.py[cod]
15
+ *.egg-info/
16
+ .pytest_cache/
17
+ ui/node_modules/
18
+ ui/dist/
19
+ da_server/_assets/studio/
20
+ js/node_modules/
21
+ js/dist/
22
+ /dist/
23
+ /build/
24
+
25
+ # --- what a checkout that is also the home folder collects (config.HOME)
26
+ /plugins/
27
+ /workspaces/
28
+ /sandbox_share/
29
+
30
+ # --- editor and assistant settings with local paths
31
+ .claude/
32
+ .vscode/
33
+ .idea/
34
+
35
+ # --- run logs (the judged records in docs/evidence/usecases/*.json are kept)
36
+ *.log
37
+ docs/evidence/runs/
38
+
39
+ # --- OS noise
40
+ Thumbs.db
41
+ Desktop.ini
42
+ .DS_Store
43
+
44
+ # --- keys and other secrets you keep beside the project (never committed, never mounted into the sandbox)
45
+ /Keys/
46
+ /keys/
47
+ .env
48
+ .env.*
49
+ *.pem
@@ -0,0 +1,104 @@
1
+ # Changelog
2
+
3
+ What changed for someone who uses Tharavu Labs, newest first. The project's full record (every change, including
4
+ those made to the machine it was built on, with the reasons and the tests) is in [ledger/](ledger/).
5
+
6
+ ## 0.4.0 — 2026-12-01
7
+
8
+ The first version meant to be installed rather than checked out.
9
+
10
+ ### New
11
+ - **Semantic layer.** Metrics, dimensions, datasets, calculations and rules that the analyst calls instead of
12
+ working a number out again (`da sem query`). Two spaces, yours and the analyst's; every change a version with a
13
+ way back; a metric can be tried in the Studio with the SQL it compiles to. Power BI models can be imported:
14
+ simple DAX becomes SQL, the rest is kept as DAX and never guessed at.
15
+ - **Knowledge base.** Collections of documents, indexed on your computer (Chroma and a small local embedding
16
+ model), searched by meaning and by exact words, chosen per conversation.
17
+ - **Attachments.** A paper-clip in the message box. A table becomes a table, a short text is read in full, a
18
+ long document is made searchable instead of filling the model's context.
19
+ - **Workspaces.** Several folders to work in; a conversation belongs to one and sees only that one. Starting a
20
+ conversation asks what it carries over: workspace, memory, knowledge base, semantic layer, model.
21
+ - **Cloud models.** Anthropic, OpenAI, Google Gemini, DeepSeek, Moonshot (Kimi), Z.ai, Qwen, MiniMax, xAI, Mistral,
22
+ OpenRouter, Groq and others; Amazon Bedrock, Microsoft Foundry and Google Vertex AI through their
23
+ OpenAI-compatible endpoints; any compatible endpoint. Context window, longest answer, reasoning effort and prices
24
+ per model; limits on spend per provider, per day and per request. A provider's key never reaches the analyst.
25
+ - **Local models from the Studio.** Search Hugging Face, see whether a file fits before downloading, download,
26
+ and set how it runs. A conversation can run on a model of its own.
27
+ - **Long documents.** Written a section at a time, assembled into Word, PDF and HTML with contents, numbering,
28
+ figures, tables and cross-references.
29
+ - **Excel workbooks** with live formulas, tables, named cells and charts, calculated and checked for errors.
30
+ - **Decks that do not all look alike.** Thirteen themes and custom palettes, layouts per slide type, eight more
31
+ slide types, free-form slides.
32
+ - **Plugins and a connector SDK** (`tharavu_labs.sdk`): source types, commands, sandbox recipes, guides, deck
33
+ themes. Nothing runs until you switch it on. Guide: [docs/plugins.md](docs/plugins.md).
34
+ - **macOS and Linux.** The vault's key in the Keychain or the keyring; start at sign-in through launchd or
35
+ systemd; Power BI reports read from their files where there is no Power BI Desktop; LibreOffice where there is
36
+ no Microsoft Office.
37
+ - **The `tharavu` command**: `start`, `serve`, `stop`, `status`, `doctor`, `use`, `autostart`, `plugins`, `where`,
38
+ and `provider` / `model` to set up cloud models from a terminal with the key taken from a file or an environment
39
+ variable (never typed, never printed).
40
+ - **Clients**: `tharavu_labs.client.Studio` (Python) and the npm package `tharavu-labs` (a typed client, and
41
+ `npx tharavu-labs` to start it).
42
+ - **A provider can be sent headers that are not keys** (Anthropic's workspace id for a key that works across
43
+ workspaces, an API version): the provider's form, `tharavu provider header`.
44
+ - **A logo**, in the Studio's own colours, in the Studio, the package pages and a social card
45
+ ([docs/brand](docs/brand/README.md)).
46
+ - **Versions and releases by one script** (`scripts/release.py`), a CI that tests on Linux, Windows and macOS and
47
+ in the real sandbox on Docker Engine, and a release workflow that publishes only what was installed and tested
48
+ on all three ([docs/releasing.md](docs/releasing.md)).
49
+
50
+ ### Changed
51
+ - The Studio's pages are built into the Python package (`da_server/_assets/studio`).
52
+ - The sandbox image is built from a context that holds only the `da` client; its clock follows your time zone.
53
+ - SQL Server and Cassandra drivers are optional extras (`[mssql]`, `[cassandra]`).
54
+ - Settings: `turn_max_cost_usd`, `daily_max_cost_usd`, `turn_max_tokens`, `embedding`, `vector_store`,
55
+ `kb_results`, `attach_inline_chars`, `attach_max_mb`, `office`, `powerbi`.
56
+ - A path with a drive letter is refused as a workspace path on every system.
57
+ - **A column is called a key only if it is still unique once cleaned**, and the data map warns when the same key
58
+ is on more than one row ("keep one row per key before anything joins to it"). Before, a branch master that
59
+ listed nine branches twice under different spellings was "unique", and a join to it doubled their figures.
60
+ Stored profiles are made again by themselves.
61
+ - **A failed check now shows what is wrong.** `da document check` (and a deck's or workbook's problems) said
62
+ "2 things to fix" and the sandbox printed only that line.
63
+ - Removing a provider removes its models with it, and their conversations return to the default model.
64
+ - **Claude's current models work.** They refuse the old way of asking for reasoning (a token budget): they are now
65
+ left to think adaptively. They also refuse a conversation whose instructions changed after they reasoned about it:
66
+ a conversation on such a model keeps the instructions it began with and is told what changed with the next
67
+ message, and if a history is refused all the same the Studio recovers by itself.
68
+ - **A turn the provider refuses ends as an error in the provider's words**, not as an empty answer.
69
+ - **A new installation starts.** With no model chosen yet the server crashed three seconds after starting (a quote
70
+ in the wrong place in the line it prints).
71
+ - **"Check" beside a model file on Hugging Face no longer blanks the Studio**, and a part of the page that fails
72
+ to draw now says so and offers to try again, with everything else still there.
73
+ - Setting up a model file right after downloading it works (it said "which model?").
74
+ - `tharavu start` starts this installation directly when the system's start-at-sign-in entry belongs to another one.
75
+ - The demo databases (`docker/testdbs`) start again with Docker after the computer restarts.
76
+ - Amounts under ten cents are shown with the places they need ($0.002, not $0.00).
77
+ - **On macOS and Linux a model provider's key is kept in the vault.** LLMDyno, which keeps it on Windows (encrypted
78
+ with DPAPI), writes it to a file as it is on the other systems. A key it already holds is moved over by itself.
79
+ - **The sandbox works with Docker Engine on Linux.** There the analyst's processes run as your own user: as the
80
+ container's root with every capability dropped they could not write to the workspace at all, and with them they
81
+ would have left files you could not change.
82
+ - **The Studio no longer waits for a Docker that is not installed** (two and a half minutes at every start on a
83
+ computer without Docker).
84
+ - The npm package's only command is `tharavu-labs`. It also installed a `tharavu`, which is the Python program's
85
+ name: installed globally, the launcher found itself under that name and started itself without end.
86
+ - **Why a turn was told to stop is always shown.** When a limit was reached and the analyst wrapped up within a
87
+ second, the turn ended without the notice that says which limit.
88
+ - **Reading a document by name no longer returns another one.** About one time in sixteen, `da kb read b.md` gave
89
+ a different document (the name was compared with the end of the file name the library stores it under).
90
+ - A Power BI capture says in its last line, too, whether the layout check was clean.
91
+
92
+ ### Not yet
93
+ - No turn with a real model has run on a Mac or on Linux, and the sandbox has not run on a Mac: both systems are
94
+ tested by GitHub's machines (the tests, the installed package, and on Linux the sandbox on Docker Engine with a
95
+ stand-in model), which have no GPU and, on the Mac, no Docker.
96
+ - Two cloud providers were tested with real accounts (OpenAI: GPT-6 Luna; Anthropic: Claude Haiku 5.5, Sonnet 5.5
97
+ and Opus 5.5); the others against a stand-in.
98
+ - The effort setting is not sent to Claude's adaptive-thinking models (the harness cannot write it yet).
99
+
100
+ ## 0.3.0 and earlier
101
+
102
+ Built and used on one Windows machine: the sandboxed agent, the encrypted vault, the engine across SQL and NoSQL
103
+ sources, Power BI, decks, memory, schedules, web lookups, image reading, decision models, remote use over
104
+ Tailscale, and the keeper. See [ledger/CHANGELOG.md](ledger/CHANGELOG.md).
@@ -0,0 +1,10 @@
1
+ # Code of conduct
2
+
3
+ This project follows the [Contributor Covenant, version 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
4
+
5
+ In short: be respectful and constructive; assume good faith; no harassment, personal attacks or discrimination of
6
+ any kind, in issues, pull requests, discussions or anywhere else the project is talked about.
7
+
8
+ To report a problem, use GitHub's "Report content" on the comment or issue, or contact the maintainers through the
9
+ private vulnerability reporting form on this repository (Security → Report a vulnerability), saying it is a conduct
10
+ report. Reports are kept confidential.
@@ -0,0 +1,63 @@
1
+ # Contributing
2
+
3
+ Thank you for looking. The quickest ways to help: report what broke with the steps to see it, write a connector for
4
+ a source you use, or add an analysis recipe as a plugin.
5
+
6
+ ## A plugin or a connector does not need a fork
7
+
8
+ Most additions belong in a plugin, which lives in its own folder or its own package and is written against
9
+ `tharavu_labs.sdk`: a source type, a `da` command, a sandbox recipe, a guide, a deck theme. Start one with
10
+ `tharavu plugins new <id>` and read [docs/plugins.md](docs/plugins.md). `tharavu_labs.testing.check_connector`
11
+ checks a connector against the contract before the analyst ever uses it.
12
+
13
+ ## Working on the core
14
+
15
+ ```sh
16
+ git clone https://github.com/speak2jerome/tharavu-labs && cd tharavu-labs
17
+ uv venv --python 3.12 && uv pip install -e ".[all,test]"
18
+ npm --prefix ui install && npm --prefix ui run build # the Studio's pages, into da_server/_assets/studio
19
+ uv tool install llmdyno && llmdyno setup # models, the sandbox and harness images
20
+ python -m tharavu_labs.cli doctor # what is still missing on this computer
21
+ python run.py --open
22
+ ```
23
+
24
+ The layout:
25
+
26
+ | Folder | What it is |
27
+ |---|---|
28
+ | `da_server/` | the gateway on the host: the Studio's API, the agent's API, the vault, the engine, connectors, deliverables |
29
+ | `da_client/` | the `da` command inside the sandbox (one standard-library file) and the analysis recipes |
30
+ | `tharavu_labs/` | the public Python surface: `sdk`, `testing`, `client`, and the `tharavu` command |
31
+ | `ui/` | the Studio (React, TypeScript, Tailwind) |
32
+ | `js/` | the npm package: a typed client and the `npx tharavu-labs` launcher |
33
+ | `ledger/` | requests, plans, decisions, tests, changes: the project's record |
34
+
35
+ ## Tests
36
+
37
+ ```sh
38
+ pytest -m "not sandbox and not sources and not model and not powerbi and not office and not web" # anywhere, minutes
39
+ pytest -m sandbox # needs Docker and LLMDyno's images: a real harness against a scripted model
40
+ pytest -m sources # needs the test databases: docker compose -f docker/testdbs/compose.yml up -d
41
+ npm --prefix ui test && npm --prefix js test
42
+ ```
43
+
44
+ A change to what the analyst can do comes with a test that would have failed without it. A change to how a secret
45
+ travels comes with a test that looks for the secret where it must not be.
46
+
47
+ ## Rules of the house
48
+
49
+ - The agent never sees a credential, a host name or a key. If a change makes that harder to guarantee, it needs a
50
+ different design.
51
+ - The agent's sources are read-only. Results go to the cache or to files in the workspace.
52
+ - Text the analyst reads (guides, command help, errors) is part of the product: plain, specific, and tested with a
53
+ real model before it is called done.
54
+ - Record a decision that someone might want to revisit in `ledger/DECISIONS.md`, with what was rejected and why.
55
+ - Keep commits focused; say what changed and why in the message.
56
+
57
+ By contributing you agree that your contribution is licensed under the MIT licence of this project.
58
+
59
+ ## Versions and releases
60
+
61
+ The version is written by `python scripts/release.py` and by nothing else; CI fails when the places it is written
62
+ disagree. A change a user would notice gets a line in `CHANGELOG.md` under the unreleased section, in the same pull
63
+ request. How a release is made, and what CI runs: [docs/releasing.md](docs/releasing.md).
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Jerome Eliezer (Zynxtech)
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,50 @@
1
+ # Third-party notices
2
+
3
+ Tharavu Labs is MIT licensed (see [LICENSE](LICENSE)). It bundles, installs or downloads the following.
4
+
5
+ ## Bundled in the Studio (the web pages inside the package)
6
+
7
+ | Component | License | Use |
8
+ |---|---|---|
9
+ | [React](https://react.dev) | MIT | UI |
10
+ | [Lucide](https://lucide.dev) | ISC | icons |
11
+ | [react-markdown](https://github.com/remarkjs/react-markdown), [remark-gfm](https://github.com/remarkjs/remark-gfm) | MIT | the analyst's answers |
12
+ | [highlight.js](https://highlightjs.org) | BSD-3-Clause | code in answers |
13
+ | [Tailwind CSS](https://tailwindcss.com) | MIT | styles (build time) |
14
+
15
+ No fonts are bundled: the Studio uses the system's own.
16
+
17
+ ## Installed with the package (from PyPI, each under its own licence)
18
+
19
+ FastAPI, Uvicorn, HTTPX, DuckDB, pandas, NumPy, PyArrow, sqlglot, openpyxl, python-pptx, python-docx, Matplotlib,
20
+ seaborn, Pillow, pypdf, pypdfium2 (PDFium), formulas, Chroma, scikit-learn, SciPy, joblib, ddgs, trafilatura, lxml,
21
+ cryptography, keyring, psutil, tzlocal, the Anthropic SDK, pbixray; database drivers (PyMySQL, psycopg, python-oracledb,
22
+ PyMongo; optionally pymssql and the DataStax Cassandra driver); on Windows pywin32, pbidriver and the MCP SDK.
23
+
24
+ ## Downloaded when you use them (not redistributed)
25
+
26
+ - [LLMDyno](https://github.com/speak2jerome/llmdyno) (MIT) runs the models and provides the logging proxy, the agent
27
+ harness images and the sandbox base image. Through it: [llama.cpp](https://github.com/ggml-org/llama.cpp) (MIT) and
28
+ the agent harnesses (Pi, OpenCode, Codex CLI, Qwen Code and others), each under its own licence.
29
+ - Models you choose from Hugging Face, under their own licences.
30
+ - The knowledge base's default embedding model, [all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2)
31
+ (Apache 2.0, as ONNX, fetched once by Chroma into its cache).
32
+ - The sandbox image is built on your computer from an LLMDyno harness image plus Python packages from PyPI (DuckDB,
33
+ seaborn, statsmodels, openpyxl, python-pptx and others), each under its own licence.
34
+ - Microsoft's Power BI Modeling MCP server, when you use Power BI Desktop (Windows), under Microsoft's terms, which
35
+ you accept in the Studio before it is used.
36
+
37
+ ## Programs it drives when they are on your computer
38
+
39
+ Docker; Microsoft Power BI Desktop, Word, Excel and PowerPoint (Windows); LibreOffice. None is redistributed.
40
+
41
+ ## Services it calls only when you configure them
42
+
43
+ Cloud model providers (Anthropic, OpenAI, Google, Amazon Bedrock, Microsoft Foundry, DeepSeek, Moonshot and others)
44
+ with your own keys; DuckDuckGo for web search; Tailscale for remote access; an SMTP server for scheduled reports;
45
+ OpenRouter's public catalogue for looking up model prices.
46
+
47
+ ## Trademarks
48
+
49
+ Power BI, Excel, Word, PowerPoint, Windows and Azure are trademarks of Microsoft. Claude is a trademark of Anthropic.
50
+ Other names are the trademarks of their owners. Tharavu Labs is not affiliated with or endorsed by any of them.