jarvis-harness 1.1.2__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 (159) hide show
  1. jarvis_harness-1.1.2/LICENSE +21 -0
  2. jarvis_harness-1.1.2/PKG-INFO +470 -0
  3. jarvis_harness-1.1.2/README.md +426 -0
  4. jarvis_harness-1.1.2/jarvis/__init__.py +3 -0
  5. jarvis_harness-1.1.2/jarvis/__main__.py +152 -0
  6. jarvis_harness-1.1.2/jarvis/agent.py +580 -0
  7. jarvis_harness-1.1.2/jarvis/agents_builtin/lead-finder/README.md +27 -0
  8. jarvis_harness-1.1.2/jarvis/agents_builtin/lead-finder/agent.toml +227 -0
  9. jarvis_harness-1.1.2/jarvis/agents_builtin/lead-finder/exports/outreach.md +53 -0
  10. jarvis_harness-1.1.2/jarvis/agents_builtin/lead-finder/prompt.md +29 -0
  11. jarvis_harness-1.1.2/jarvis/agents_builtin/lead-finder/skills/outreach-messages.md +24 -0
  12. jarvis_harness-1.1.2/jarvis/agents_builtin/lead-finder/tools/people.py +212 -0
  13. jarvis_harness-1.1.2/jarvis/approvals.py +63 -0
  14. jarvis_harness-1.1.2/jarvis/artifacts.py +148 -0
  15. jarvis_harness-1.1.2/jarvis/audit.py +33 -0
  16. jarvis_harness-1.1.2/jarvis/bg_commands.py +143 -0
  17. jarvis_harness-1.1.2/jarvis/characters.py +540 -0
  18. jarvis_harness-1.1.2/jarvis/characters_builtin/casual.json +12 -0
  19. jarvis_harness-1.1.2/jarvis/characters_builtin/jarvis.json +11 -0
  20. jarvis_harness-1.1.2/jarvis/characters_builtin/robotic.json +12 -0
  21. jarvis_harness-1.1.2/jarvis/codify.py +268 -0
  22. jarvis_harness-1.1.2/jarvis/commands.py +826 -0
  23. jarvis_harness-1.1.2/jarvis/config.py +284 -0
  24. jarvis_harness-1.1.2/jarvis/consolidate.py +358 -0
  25. jarvis_harness-1.1.2/jarvis/context.py +248 -0
  26. jarvis_harness-1.1.2/jarvis/discussions.py +1225 -0
  27. jarvis_harness-1.1.2/jarvis/events.py +52 -0
  28. jarvis_harness-1.1.2/jarvis/file_tools.py +292 -0
  29. jarvis_harness-1.1.2/jarvis/jobs.py +451 -0
  30. jarvis_harness-1.1.2/jarvis/keystore.py +101 -0
  31. jarvis_harness-1.1.2/jarvis/listen.py +107 -0
  32. jarvis_harness-1.1.2/jarvis/llm.py +241 -0
  33. jarvis_harness-1.1.2/jarvis/mcp_client.py +565 -0
  34. jarvis_harness-1.1.2/jarvis/mcp_server.py +20 -0
  35. jarvis_harness-1.1.2/jarvis/memory.py +395 -0
  36. jarvis_harness-1.1.2/jarvis/mind_tools.py +141 -0
  37. jarvis_harness-1.1.2/jarvis/models_manager.py +316 -0
  38. jarvis_harness-1.1.2/jarvis/policy.py +112 -0
  39. jarvis_harness-1.1.2/jarvis/providers/__init__.py +73 -0
  40. jarvis_harness-1.1.2/jarvis/providers/anthropic_native.py +238 -0
  41. jarvis_harness-1.1.2/jarvis/providers/chatgpt.py +241 -0
  42. jarvis_harness-1.1.2/jarvis/providers/chatgpt_auth.py +488 -0
  43. jarvis_harness-1.1.2/jarvis/providers/errors.py +118 -0
  44. jarvis_harness-1.1.2/jarvis/providers/openai_chat.py +287 -0
  45. jarvis_harness-1.1.2/jarvis/providers/thinking.py +89 -0
  46. jarvis_harness-1.1.2/jarvis/redaction.py +44 -0
  47. jarvis_harness-1.1.2/jarvis/registry.py +213 -0
  48. jarvis_harness-1.1.2/jarvis/routine_schedule.py +430 -0
  49. jarvis_harness-1.1.2/jarvis/routines.py +898 -0
  50. jarvis_harness-1.1.2/jarvis/run_job.py +82 -0
  51. jarvis_harness-1.1.2/jarvis/runtime.py +191 -0
  52. jarvis_harness-1.1.2/jarvis/sessions.py +288 -0
  53. jarvis_harness-1.1.2/jarvis/specialists/__init__.py +15 -0
  54. jarvis_harness-1.1.2/jarvis/specialists/manager.py +872 -0
  55. jarvis_harness-1.1.2/jarvis/specialists/manifest.py +456 -0
  56. jarvis_harness-1.1.2/jarvis/specialists/packaging.py +220 -0
  57. jarvis_harness-1.1.2/jarvis/specialists/plugin_tools.py +300 -0
  58. jarvis_harness-1.1.2/jarvis/specialists/records.py +359 -0
  59. jarvis_harness-1.1.2/jarvis/specialists/templating.py +210 -0
  60. jarvis_harness-1.1.2/jarvis/subagents.py +139 -0
  61. jarvis_harness-1.1.2/jarvis/supervisor.py +94 -0
  62. jarvis_harness-1.1.2/jarvis/surface_window.py +103 -0
  63. jarvis_harness-1.1.2/jarvis/surfaces.py +81 -0
  64. jarvis_harness-1.1.2/jarvis/tool_exposure.py +282 -0
  65. jarvis_harness-1.1.2/jarvis/toolctx.py +54 -0
  66. jarvis_harness-1.1.2/jarvis/tools_core.py +186 -0
  67. jarvis_harness-1.1.2/jarvis/ui.py +1370 -0
  68. jarvis_harness-1.1.2/jarvis/validation.py +46 -0
  69. jarvis_harness-1.1.2/jarvis/voice.py +392 -0
  70. jarvis_harness-1.1.2/jarvis/web_tools.py +210 -0
  71. jarvis_harness-1.1.2/jarvis/webui/__init__.py +5 -0
  72. jarvis_harness-1.1.2/jarvis/webui/history.py +87 -0
  73. jarvis_harness-1.1.2/jarvis/webui/hub.py +74 -0
  74. jarvis_harness-1.1.2/jarvis/webui/routes_agents.py +265 -0
  75. jarvis_harness-1.1.2/jarvis/webui/routes_core.py +288 -0
  76. jarvis_harness-1.1.2/jarvis/webui/routes_discussions.py +114 -0
  77. jarvis_harness-1.1.2/jarvis/webui/routes_panels.py +641 -0
  78. jarvis_harness-1.1.2/jarvis/webui/routes_routines.py +156 -0
  79. jarvis_harness-1.1.2/jarvis/webui/routes_runtime.py +57 -0
  80. jarvis_harness-1.1.2/jarvis/webui/routes_tools.py +62 -0
  81. jarvis_harness-1.1.2/jarvis/webui/routes_voice.py +143 -0
  82. jarvis_harness-1.1.2/jarvis/webui/security.py +80 -0
  83. jarvis_harness-1.1.2/jarvis/webui/server.py +83 -0
  84. jarvis_harness-1.1.2/jarvis/webui/state.py +284 -0
  85. jarvis_harness-1.1.2/jarvis/webui/static/css/agents.css +283 -0
  86. jarvis_harness-1.1.2/jarvis/webui/static/css/app.css +312 -0
  87. jarvis_harness-1.1.2/jarvis/webui/static/css/discussions.css +206 -0
  88. jarvis_harness-1.1.2/jarvis/webui/static/css/panels.css +305 -0
  89. jarvis_harness-1.1.2/jarvis/webui/static/css/routines.css +128 -0
  90. jarvis_harness-1.1.2/jarvis/webui/static/css/views.css +62 -0
  91. jarvis_harness-1.1.2/jarvis/webui/static/index.html +87 -0
  92. jarvis_harness-1.1.2/jarvis/webui/static/js/agent_chat.js +237 -0
  93. jarvis_harness-1.1.2/jarvis/webui/static/js/agent_forms.js +136 -0
  94. jarvis_harness-1.1.2/jarvis/webui/static/js/agent_grid.js +241 -0
  95. jarvis_harness-1.1.2/jarvis/webui/static/js/agent_icons.js +60 -0
  96. jarvis_harness-1.1.2/jarvis/webui/static/js/agent_records.js +294 -0
  97. jarvis_harness-1.1.2/jarvis/webui/static/js/agent_workspace.js +413 -0
  98. jarvis_harness-1.1.2/jarvis/webui/static/js/api.js +40 -0
  99. jarvis_harness-1.1.2/jarvis/webui/static/js/app.js +648 -0
  100. jarvis_harness-1.1.2/jarvis/webui/static/js/auth.js +46 -0
  101. jarvis_harness-1.1.2/jarvis/webui/static/js/avatar.js +16 -0
  102. jarvis_harness-1.1.2/jarvis/webui/static/js/chat.js +736 -0
  103. jarvis_harness-1.1.2/jarvis/webui/static/js/combo.js +268 -0
  104. jarvis_harness-1.1.2/jarvis/webui/static/js/discussion_common.js +83 -0
  105. jarvis_harness-1.1.2/jarvis/webui/static/js/discussion_form.js +342 -0
  106. jarvis_harness-1.1.2/jarvis/webui/static/js/discussion_room.js +442 -0
  107. jarvis_harness-1.1.2/jarvis/webui/static/js/dom.js +80 -0
  108. jarvis_harness-1.1.2/jarvis/webui/static/js/icons.js +80 -0
  109. jarvis_harness-1.1.2/jarvis/webui/static/js/markdown.js +116 -0
  110. jarvis_harness-1.1.2/jarvis/webui/static/js/onboarding.js +261 -0
  111. jarvis_harness-1.1.2/jarvis/webui/static/js/orb.js +147 -0
  112. jarvis_harness-1.1.2/jarvis/webui/static/js/panel_characters.js +156 -0
  113. jarvis_harness-1.1.2/jarvis/webui/static/js/panel_mind.js +119 -0
  114. jarvis_harness-1.1.2/jarvis/webui/static/js/panel_settings.js +318 -0
  115. jarvis_harness-1.1.2/jarvis/webui/static/js/panel_tools.js +73 -0
  116. jarvis_harness-1.1.2/jarvis/webui/static/js/panel_voice.js +154 -0
  117. jarvis_harness-1.1.2/jarvis/webui/static/js/panels.js +147 -0
  118. jarvis_harness-1.1.2/jarvis/webui/static/js/router.js +28 -0
  119. jarvis_harness-1.1.2/jarvis/webui/static/js/routine_form.js +406 -0
  120. jarvis_harness-1.1.2/jarvis/webui/static/js/routine_notify.js +68 -0
  121. jarvis_harness-1.1.2/jarvis/webui/static/js/routine_time.js +65 -0
  122. jarvis_harness-1.1.2/jarvis/webui/static/js/sessions.js +86 -0
  123. jarvis_harness-1.1.2/jarvis/webui/static/js/switcher.js +165 -0
  124. jarvis_harness-1.1.2/jarvis/webui/static/js/view_agents.js +16 -0
  125. jarvis_harness-1.1.2/jarvis/webui/static/js/view_discussions.js +110 -0
  126. jarvis_harness-1.1.2/jarvis/webui/static/js/view_parts.js +16 -0
  127. jarvis_harness-1.1.2/jarvis/webui/static/js/view_routines.js +288 -0
  128. jarvis_harness-1.1.2/jarvis/webui/static/js/view_tools.js +149 -0
  129. jarvis_harness-1.1.2/jarvis/webui/static/js/views.js +39 -0
  130. jarvis_harness-1.1.2/jarvis/webui/static/js/voice.js +207 -0
  131. jarvis_harness-1.1.2/jarvis/webui/static/vendor/marked.LICENSE +44 -0
  132. jarvis_harness-1.1.2/jarvis/webui/static/vendor/marked.esm.js +85 -0
  133. jarvis_harness-1.1.2/jarvis_harness.egg-info/PKG-INFO +470 -0
  134. jarvis_harness-1.1.2/jarvis_harness.egg-info/SOURCES.txt +157 -0
  135. jarvis_harness-1.1.2/jarvis_harness.egg-info/dependency_links.txt +1 -0
  136. jarvis_harness-1.1.2/jarvis_harness.egg-info/entry_points.txt +7 -0
  137. jarvis_harness-1.1.2/jarvis_harness.egg-info/requires.txt +25 -0
  138. jarvis_harness-1.1.2/jarvis_harness.egg-info/top_level.txt +1 -0
  139. jarvis_harness-1.1.2/pyproject.toml +101 -0
  140. jarvis_harness-1.1.2/setup.cfg +4 -0
  141. jarvis_harness-1.1.2/tests/test_characters.py +269 -0
  142. jarvis_harness-1.1.2/tests/test_chat_ux.py +457 -0
  143. jarvis_harness-1.1.2/tests/test_consolidate.py +165 -0
  144. jarvis_harness-1.1.2/tests/test_core_tools.py +193 -0
  145. jarvis_harness-1.1.2/tests/test_discussions.py +463 -0
  146. jarvis_harness-1.1.2/tests/test_harness.py +431 -0
  147. jarvis_harness-1.1.2/tests/test_history_edit.py +174 -0
  148. jarvis_harness-1.1.2/tests/test_keystore.py +112 -0
  149. jarvis_harness-1.1.2/tests/test_mcp_client.py +209 -0
  150. jarvis_harness-1.1.2/tests/test_mind.py +180 -0
  151. jarvis_harness-1.1.2/tests/test_prompt.py +122 -0
  152. jarvis_harness-1.1.2/tests/test_providers.py +449 -0
  153. jarvis_harness-1.1.2/tests/test_routines.py +552 -0
  154. jarvis_harness-1.1.2/tests/test_runtime.py +1103 -0
  155. jarvis_harness-1.1.2/tests/test_runtime_profiles.py +330 -0
  156. jarvis_harness-1.1.2/tests/test_specialists.py +522 -0
  157. jarvis_harness-1.1.2/tests/test_voice.py +268 -0
  158. jarvis_harness-1.1.2/tests/test_web_tools.py +147 -0
  159. jarvis_harness-1.1.2/tests/test_webui.py +788 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 walker-null-byte
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,470 @@
1
+ Metadata-Version: 2.4
2
+ Name: jarvis-harness
3
+ Version: 1.1.2
4
+ Summary: A local-first, self-improving AI agent with a web UI: any model provider, memory, tools, MCP, agents, routines and group discussions
5
+ Author: walker-null-byte
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/walker-null-byte/jarvis
8
+ Project-URL: Source, https://github.com/walker-null-byte/jarvis
9
+ Project-URL: Changelog, https://github.com/walker-null-byte/jarvis#changelog
10
+ Keywords: ai,agent,terminal,local-ai,openai-compatible,hermes-alternative,voice,tts,stt,memory,mcp,lm-studio,ollama,llama.cpp,gemini
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Requires-Python: >=3.10
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: openai>=1.0.0
22
+ Requires-Dist: anthropic>=2.0.0
23
+ Requires-Dist: mcp>=1.0
24
+ Requires-Dist: httpx>=0.27.0
25
+ Requires-Dist: turbomcp>=0.2.0
26
+ Requires-Dist: numpy>=1.26.0
27
+ Requires-Dist: tomli>=2.0; python_version < "3.11"
28
+ Requires-Dist: textual>=0.50.0
29
+ Requires-Dist: fastapi>=0.110.0
30
+ Requires-Dist: uvicorn>=0.29.0
31
+ Requires-Dist: requests>=2.31.0
32
+ Requires-Dist: beautifulsoup4>=4.12.0
33
+ Requires-Dist: ddgs>=0.3.0
34
+ Requires-Dist: googlesearch-python>=1.2.0
35
+ Requires-Dist: model2vec>=0.1.0
36
+ Requires-Dist: piper-tts>=1.2.0
37
+ Requires-Dist: faster-whisper>=1.0.0
38
+ Requires-Dist: sounddevice>=0.4.6
39
+ Provides-Extra: dev
40
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
41
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
42
+ Requires-Dist: mypy>=1.0.0; extra == "dev"
43
+ Dynamic: license-file
44
+
45
+ # Preface
46
+
47
+ I made Jarvis during the early open models era. My vision(pun intended) was to create a self improving AI harness(that preferable uses local models) that is aware of its code, and can modify itself. I also made my own version of MCP using regex even before Anthropic knew what a reasoning model was.
48
+
49
+ But i was always very lazy, and due to my college work i had to put my project on hold. Anyhow, since then LLMs have come a long way, and now i can finally focus on the creative part (architecture) and let LLMs write the code for me. I use latest MCP and tech stack to implement Jarvis instead of the primitive code i wrote back in college.
50
+
51
+ Still, i use my own MCP package - [TurboMCP](https://www.github.com/walker-null-byte/turbomcp)
52
+
53
+ Feel free to ask for any additions, or improvements, i will try my best to implement them, In Sha Allah.
54
+
55
+
56
+ # JARVIS — a local, self-improving AI agent
57
+
58
+ Jarvis is a personal AI agent that runs on your own computer. It has real tools
59
+ (shell, files, web, scheduled jobs), a memory that persists between sessions,
60
+ skills it learns from experience, swappable personalities, optional voice, and a
61
+ web UI. It works with your ChatGPT plan, local models (LM Studio, Ollama,
62
+ llama.cpp, vLLM) or any API-key provider.
63
+
64
+ > **Have ChatGPT Plus or Pro?** You can sign in with your ChatGPT account and
65
+ > use your existing plan — no API key and no separate API billing.
66
+
67
+ ---
68
+
69
+ ## Tutorial: up and running in 5 minutes
70
+
71
+ ### 1. Install
72
+
73
+ ```bash
74
+ pipx install jarvis-harness # or: pip install jarvis-harness
75
+ ```
76
+
77
+ Your settings and memory live in `~/.jarvis` (set `JARVIS_HOME` to move them),
78
+ and file tools can reach your home folder.
79
+
80
+ Want to hack on Jarvis itself? Run it from a clone instead — then the clone is
81
+ its home and file tools stay inside it:
82
+
83
+ ```bash
84
+ git clone https://github.com/walker-null-byte/jarvis.git
85
+ cd jarvis
86
+ python -m venv .venv && source .venv/bin/activate # fish: source .venv/bin/activate.fish
87
+ pip install -e .
88
+ ```
89
+
90
+ One install gets everything (web UI, terminal UI, all providers, voice engines,
91
+ web tools). Large **models** (voices, speech recognition, embeddings) are never
92
+ bundled — you download the ones you want with one click, and the size is shown
93
+ first.
94
+
95
+ ### 2. Open the web UI
96
+
97
+ ```bash
98
+ jarvis --web
99
+ ```
100
+
101
+ Your browser opens a private link (`http://127.0.0.1:7777/?token=…`). The
102
+ first launch shows a short **welcome tour**:
103
+
104
+ 1. **Connect a model** — pick one:
105
+ - **Sign in with ChatGPT** — uses your Plus/Pro plan. A browser tab opens,
106
+ you approve, and you're done.
107
+ - **Local model** — start LM Studio or Ollama, pick it, press *Test*.
108
+ - **API key** — OpenAI API, Anthropic, Gemini, OpenRouter, Groq, DeepSeek,
109
+ Mistral, xAI… paste the key (it's remembered on this computer), or set
110
+ its environment variable, e.g. `export ANTHROPIC_API_KEY=…`.
111
+ 2. **Choose a character** — Jarvis (calm, dry wit), Jarvis Casual, or J-7
112
+ Robotic. You can switch any time.
113
+ 3. **Quick tips** — and you're chatting.
114
+
115
+ ### 3. Things to try
116
+
117
+ - *"How much disk space do I have left?"* — Jarvis runs a command and reports.
118
+ - *"Remember that I prefer short answers."* — saved to memory for every future
119
+ session.
120
+ - *"Every weekday at 9, summarize my ~/notes folder."* — creates a routine.
121
+ - **Agents → Lead Finder** — fill in what you offer and who a good lead is,
122
+ then press *Find leads*.
123
+ - **Discussions → New discussion** — give a goal and an agenda, pick two or
124
+ three participants (any providers), press *Start*.
125
+ - Hover a reply: **Copy**, **Re-do response**, **Speak**. Hover your own
126
+ message: **Edit** and resend.
127
+ - Quota ran out or want a different model? Click the **provider · model** pill
128
+ in the header and switch — it applies from the next message.
129
+ - Turn on **Auto-speak** in the header to hear every reply (off by default).
130
+
131
+ Prefer the terminal? `jarvis` opens the terminal UI, `jarvis --cli` a plain
132
+ prompt. Both share the same agent, memory and slash commands.
133
+
134
+ ---
135
+
136
+ ## Features
137
+
138
+ ### Connect any model — switch mid-chat
139
+
140
+ | Provider | How you pay | Setup |
141
+ |---|---|---|
142
+ | **ChatGPT** | Your ChatGPT Plus/Pro plan | Sign in with ChatGPT (`/login chatgpt`) |
143
+ | LM Studio, Ollama, llama.cpp, vLLM | Free, runs locally | Start the server, pick the preset |
144
+ | OpenAI API | Pay-as-you-go API key | `OPENAI_API_KEY` |
145
+ | Anthropic (Claude) | API key | `ANTHROPIC_API_KEY` |
146
+ | Gemini, OpenRouter, Groq, DeepSeek, Mistral, xAI | API key | paste in Settings, or each provider's `*_API_KEY` |
147
+ | Any OpenAI-compatible server | — | `/provider set URL KEY_OR_ENV` |
148
+
149
+ *ChatGPT* and *OpenAI API* are different on purpose: ChatGPT uses the
150
+ subscription you already have; the OpenAI API bills per token. ChatGPT sign-in
151
+ is for personal, local use and draws from your plan's usage limits (on Plus,
152
+ the 5-hour limit is shared with your other apps). When a limit is hit, Jarvis
153
+ tells you and offers to switch providers.
154
+
155
+ Anthropic's terms don't allow Claude Pro/Max subscriptions in third-party
156
+ apps, so Claude is used with an API key. Jarvis uses the official SDK with
157
+ prompt caching and adaptive thinking.
158
+
159
+ ### Tools without context bloat (TurboMCP)
160
+
161
+ Jarvis has dozens of tools, but the model only sees a handful of core ones
162
+ (run a command, read/edit/write files, grep, glob, remember/recall, create a
163
+ routine, spawn a subagent) plus `find_tools`,
164
+ `call_tool` and `read_skill`. Everything else is discovered on demand through
165
+ TurboMCP search. That keeps every request small — and identical from round to
166
+ round, so prompt caching works on hosted APIs and local servers don't
167
+ re-process the whole conversation. Download the small embedding model (31 MB)
168
+ for smarter, meaning-based tool search. Set `agent.tool_mode = "all"` for
169
+ models that can't use tool search.
170
+
171
+ ### Agents — specialised, importable plugins
172
+
173
+ An agent is a folder that turns Jarvis into a specialist: a role prompt,
174
+ settings you fill once (including API keys, stored privately), action buttons
175
+ with their own inputs, tables it fills in (records), exports (CSV, JSON,
176
+ Markdown or your own template), optional Python tools and skills, and its own
177
+ chat. It can still use every Jarvis tool.
178
+
179
+ - **Lead Finder** (built in) follows a manual lead-generation workflow: find
180
+ people through public Instagram/LinkedIn profiles, score their fit (quality
181
+ over quantity), look up public contact details with sources (never guessed),
182
+ draft a personal first message, and after a reply draft the follow-up with
183
+ your calendar link. You send the messages yourself — Jarvis never automates
184
+ DMs, which would break those platforms' terms.
185
+ - **Import** an agent from a `.zip`, a GitHub link or a folder. Its Python
186
+ code only loads after you review and trust it. **Export** it (optionally
187
+ with its records; never with secrets), **duplicate** a built-in to change it,
188
+ or create a prompt-only agent with *New agent*.
189
+ - Format reference: [docs/agent-plugins.md](docs/agent-plugins.md).
190
+
191
+ ### Routines — recurring and timed tasks
192
+
193
+ Ask in plain English (*"every weekday at 9"*, *"every 2 hours"*, *"tomorrow at
194
+ 8"*) or use cron. A routine can ask Jarvis something or run an agent action
195
+ (e.g. a weekly lead hunt). Each run gets its own conversation; you see the
196
+ history, a toast, a badge and (if you allow it) a desktop notification.
197
+ Routines run while `jarvis --web` is open, or always with `jarvis --daemon`
198
+ (see `jarvis.service`). Missed runs can catch up once. Old cron jobs are
199
+ imported automatically (paused if your crontab still runs them).
200
+
201
+ ### Discussions — group chats with an agenda
202
+
203
+ Put 2–6 participants in a room, each on any provider and model (Gemini, a
204
+ local model, Claude…), with a mandatory goal and agenda. Modes: **round
205
+ robin**, **parallel** (independent answers, revealed together), **moderated**
206
+ (a moderator picks who speaks and when to move on) and **debate**. Participants
207
+ can research with web search. You can speak at any time or `@mention`
208
+ someone; pause, skip to the next item or conclude. Each item gets a summary
209
+ and the discussion ends with minutes (decisions, action items, open
210
+ questions), exportable as Markdown.
211
+
212
+ ### A stronger harness
213
+
214
+ - **Parallel tool calls** for read-only tools (reads, searches, web, subagents).
215
+ - **Coding tools**: `read_file` by line range, exact-match `edit_file`,
216
+ `grep` (ripgrep), `glob`.
217
+ - **Large outputs** are saved to a file; the model gets the start, the end and
218
+ the path, so context stays small.
219
+ - **Background commands** for builds and servers (`run_command(background=true)`).
220
+ - **MCP servers**: paste the JSON from any MCP server's README (Claude Desktop
221
+ format) in *Tools*. Their tools join the searchable catalog, so 50 MCP tools
222
+ cost almost nothing up front. Read-only tools run freely; others ask once
223
+ per server.
224
+ - **Subagents** (`spawn_agent`): hand broad research to a helper with its own
225
+ context and get back only the answer — or delegate to an installed agent.
226
+ - Up to 50 tool rounds per message, with a **Continue** button after that.
227
+
228
+ ### Memory that grows
229
+
230
+ - **Facts** — `remember` / `recall`, with provenance, review, expiry and
231
+ never-remember privacy rules. Review them in the web UI's *Memory* tab.
232
+ - **Episodes** — every conversation is logged to `mind/episodes/`.
233
+ - **Dream cycle** — consolidation distills episodes into facts and drafts
234
+ skills (*Run dream cycle* in the *Mind* tab, or `jarvis-consolidate`).
235
+ - **Preferences** — what Jarvis learns about how you like it to behave lives in
236
+ `mind/user.md` under *Preferences* and applies to every character.
237
+
238
+ ### Self-improvement
239
+
240
+ Jarvis can turn a repeated procedure into a skill (`mind/skills/*.md`), and a
241
+ skill into a real tool (`tools/*.py`, hot-reloaded and git-committed). Skills
242
+ are listed in its prompt and read on demand; tools appear in tool search the
243
+ moment they're written.
244
+
245
+ ### Characters (hot-swappable personas)
246
+
247
+ - Built-in: **Jarvis**, **Jarvis (Casual)**, **J-7 (Robotic)** — all editable.
248
+ - **Import** SillyTavern character cards (V1/V2/V3, `.json` or `.png`).
249
+ - Edit a few simple fields: name, description, personality, greeting, example
250
+ dialogue, instructions, tags. Export as SillyTavern JSON.
251
+ - Switch mid-chat from the header or `/character use <id>`. A persona changes
252
+ Jarvis's name, voice and style — never its tools, permissions or safety rules.
253
+
254
+ ### Voice (local, optional, off by default)
255
+
256
+ Speech runs on your machine and works with every provider.
257
+ - **Speak** any reply with one click, or turn on **Auto-speak**.
258
+ - Engines: **Piper** (default) or **Kokoro** (optional one-click install).
259
+ - Models download on demand from the *Voice* tab or `/voice download <id>`:
260
+
261
+ | Model | Size |
262
+ |---|---|
263
+ | Piper voices (lessac, amy, alan) | 63 MB each |
264
+ | Piper ryan (high quality) | 121 MB |
265
+ | Kokoro v1.0 (many voices) | 121 MB + small package install |
266
+ | Whisper speech recognition: tiny / base / small | 78 / 148 / 486 MB |
267
+ | Embeddings for smarter tool search | 31 MB |
268
+
269
+ ### Web UI
270
+
271
+ A Claude-style sidebar (New chat, Search, Agents, Discussions, Routines,
272
+ Tools, Recents). Streaming chat with live thinking, tokens/sec, tool-call
273
+ cards, inline approvals for risky commands, artifacts (images, tables,
274
+ charts), sessions (search, rename, export), and side panels for Characters,
275
+ Mind, Memory, Voice and Settings. It binds to `127.0.0.1` with a per-run secret token; Jarvis can run
276
+ commands on your machine, so don't expose it to a network you don't trust
277
+ (`--allow-remote` exists, with a warning).
278
+
279
+ ### Safety
280
+
281
+ `security.mode = "guarded"` (default) blocks destructive command patterns,
282
+ asks for approval before risky ones (sudo, redirects, pipes, `git push`…), and
283
+ keeps file tools inside `allowed_roots`.
284
+
285
+ ---
286
+
287
+ ## Slash commands
288
+
289
+ Work in the web UI, the terminal UI and `--cli`:
290
+
291
+ ```text
292
+ /help all commands
293
+ /provider list | use <name> | set URL KEY switch providers
294
+ /model [NAME] | list switch models
295
+ /login chatgpt | /logout chatgpt ChatGPT sign-in
296
+ /character list|use|show|import|delete|export|reset
297
+ /voice status|on|off|engine|models|download
298
+ /settings | get | set | reset | save runtime settings
299
+ /status provider, model, voice
300
+ ```
301
+
302
+ ## Running it
303
+
304
+ ```bash
305
+ jarvis --web [--port 7777] [--no-browser] # web UI
306
+ jarvis # terminal UI
307
+ jarvis --cli # plain terminal
308
+ jarvis --daemon # headless: run routines in the background
309
+ jarvis --doctor # check endpoint, config and mind
310
+ jarvis-supervisor --cli # auto-restart on crash
311
+ jarvis-mcp # expose the tools as an MCP server (stdio)
312
+ ```
313
+
314
+ ## Configuration
315
+
316
+ Settings come from `config.toml` in Jarvis's home (`~/.jarvis`, or the clone;
317
+ copy `config.example.toml`), then
318
+ `mind/runtime_config.json` (what you change in the UI), then `JARVIS_*`
319
+ environment variables. API keys you paste in the UI are saved to
320
+ `~/.config/jarvis/keys.json` (owner-only permissions; untick *Remember on this
321
+ computer* to keep a key for this session only) and win over environment
322
+ variables; the ChatGPT sign-in is stored next to it. MCP servers live in
323
+ `mind/mcp.json`.
324
+
325
+ ## Where things live
326
+
327
+ ```
328
+ jarvis/ the agent
329
+ ├── agent.py core loop: message → model → tools → reply
330
+ ├── tool_exposure.py TurboMCP tool search (find_tools / call_tool)
331
+ ├── runtime.py several agents in one process (profiles)
332
+ ├── file_tools.py read_file / edit_file / grep / glob
333
+ ├── mcp_client.py MCP servers from mind/mcp.json
334
+ ├── subagents.py spawn_agent
335
+ ├── specialists/ Agents: plugin format, records, import/export
336
+ ├── agents_builtin/ built-in agents (Lead Finder)
337
+ ├── routines.py scheduler for recurring tasks
338
+ ├── discussions.py group discussions
339
+ ├── providers/ chat-completions, ChatGPT sign-in, Anthropic
340
+ ├── characters.py character cards (import, edit, render)
341
+ ├── context.py system prompt built from mind/
342
+ ├── memory.py facts + episode log
343
+ ├── consolidate.py dream cycle
344
+ ├── codify.py skills → tools
345
+ ├── voice.py, listen.py text-to-speech, speech-to-text
346
+ ├── models_manager.py downloadable model catalog
347
+ ├── webui/ FastAPI server + plain-JS frontend
348
+ └── ui.py terminal UI
349
+ mind/ Jarvis's memory (personal, not committed)
350
+ ├── self.md user.md system.md MEMORY.md
351
+ ├── characters/ episodes/ facts/ skills/ sessions/
352
+ ├── agents/ agent_data/ routines/ discussions/ mcp.json
353
+ tools/ learned tools (hot-reloaded)
354
+ models/ downloaded voice/STT models (not committed)
355
+ ```
356
+
357
+ ## Development
358
+
359
+ ```bash
360
+ pip install -e ".[dev]"
361
+ pytest # hermetic: no network, models or audio devices needed
362
+ ruff check .
363
+ ```
364
+
365
+ ---
366
+
367
+ ## Changelog
368
+
369
+ ### 1.1.2 — 2026-11-25
370
+
371
+ **New**
372
+ - **Agents**: specialised agent plugins with a standard folder format
373
+ (`agent.toml`), settings, actions with inputs, records tables, exports,
374
+ optional tools and skills, and their own chat. Import from zip/GitHub/folder
375
+ with a review step, export, duplicate, create. Built-in **Lead Finder**.
376
+ - **Routines** replace cron jobs: in-process scheduler, plain-English or cron
377
+ schedules with a live preview, agent actions as targets, run history,
378
+ notifications, catch-up after downtime, `jarvis --daemon`.
379
+ - **Discussions**: agenda-driven group chats between 2–6 agents on any
380
+ providers, four modes, user participation, item summaries and minutes.
381
+ - **Claude-style sidebar** with pages for Agents, Discussions, Routines and Tools.
382
+ - **Saved API keys** ("Remember on this computer", Forget).
383
+ - **Harness**: parallel read-only tool calls, `read_file` ranges, `edit_file`,
384
+ `grep`, `glob`, large outputs spilled to files, background commands, MCP
385
+ client, `spawn_agent` subagents, `web_search` (Serper/Brave/free) and
386
+ `fetch_page` with contact extraction, 50 tool rounds + Continue.
387
+
388
+ **Improved**
389
+ - On PyPI as `jarvis-harness` (`pipx install jarvis-harness`). Installed copies keep
390
+ their data in `~/.jarvis`; a git clone still uses its own folder.
391
+ - DeepSeek thinking mode keeps its reasoning across tool calls.
392
+ - Several agents can run at once; approvals reach the right one.
393
+
394
+ ### 1.1.1 — 2026-11-25
395
+
396
+ - ChatGPT sign-in reports the real result; the UI only shows signed-in when
397
+ the plan is usable.
398
+ - Settings: grouped provider list, searchable models, key status, Gemini key
399
+ field fixed, sensible default models.
400
+ - Gemini tool calls keep their thought signatures.
401
+ - Chat: live thinking, `<think>` parsing, tokens/sec, safe markdown, readable
402
+ errors, Stop keeps partial text, retry no longer duplicates messages.
403
+
404
+ ### 1.1 — 2026-11-24
405
+
406
+ **New**
407
+ - **Web UI** (`jarvis --web`): streaming chat, reasoning view, tool-call cards,
408
+ inline approvals, artifacts, sessions, and panels for Characters, Mind,
409
+ Memory, Tools & Skills, Jobs, Voice and Settings. Local-only with a per-run
410
+ token.
411
+ - **Welcome tour** on first launch: connect a model, pick a character, quick tips.
412
+ - **Sign in with ChatGPT**: use your ChatGPT Plus/Pro plan instead of an API key.
413
+ - **Anthropic (Claude)** via the official SDK, with prompt caching and adaptive
414
+ thinking.
415
+ - More providers: OpenRouter, Groq, DeepSeek, Mistral, xAI, vLLM.
416
+ - **Switch provider/model mid-chat** from the header; quota errors offer a switch.
417
+ - **Character cards**: import SillyTavern cards (JSON/PNG), edit as simple
418
+ fields, export, hot-swap mid-chat. Built-ins: Jarvis, Jarvis (Casual), J-7
419
+ (Robotic).
420
+ - **Message actions**: Edit & resend your messages; Copy, Re-do response and
421
+ Speak on replies.
422
+ - **Voice**: Speak button and Auto-speak toggle (off by default), browser
423
+ playback; Piper default, Kokoro one-click optional; all models downloadable
424
+ from the Voice tab with sizes shown.
425
+ - **Reasoning display** for models that expose it (local reasoning models,
426
+ Claude thinking summaries).
427
+ - `/voice`, `/character export|reset`, `/login`, `/logout` commands.
428
+
429
+ **Improved**
430
+ - **TurboMCP tool search**: the model sees ~9 tool schemas instead of every
431
+ tool (about 60% fewer tool tokens today, and new tools cost nothing up front).
432
+ - **Prompt stability**: the system prompt is built once per turn (date only, no
433
+ clock), so prompt caching works and local servers don't re-read everything
434
+ each tool round. The memory index in the prompt is capped.
435
+ - **One persona source**: personality lives in character cards; your
436
+ `personality.md` was migrated once. Learned preferences go to `user.md`.
437
+ - Semantic tool search uses the embedding model only if you downloaded it —
438
+ nothing downloads in the background.
439
+ - Everything installs with a single `pip install` (no optional extras).
440
+ - Smarter LLM retries: only network errors, rate limits and server errors are
441
+ retried.
442
+
443
+ **Fixed**
444
+ - Codified skill tools now go through approvals (risky commands were silently
445
+ denied before) and no longer dump every tool to the model.
446
+ - The tool-budget wrap-up keeps the tool list, so APIs that require it don't
447
+ reject the request.
448
+ - Opening Jarvis no longer leaves empty "New conversation" sessions behind.
449
+
450
+ ### 1.0
451
+
452
+ The original release: terminal UI with waveform orb, agent loop with streaming
453
+ and tool calling, history summarization, memory (facts, episodes, dream-cycle
454
+ consolidation, review and privacy rules), skills → tools self-improvement,
455
+ artifacts, Piper/Kokoro voice with push-to-talk, cron jobs, supervisor, MCP
456
+ server, slash commands with a provider manager, and OpenAI-compatible providers
457
+ (LM Studio, Ollama, llama.cpp, OpenAI, Gemini).
458
+
459
+ ## Roadmap
460
+
461
+ - **Code mode**: the model writes a short script that calls tools; only its
462
+ output returns to context (big savings for batch work).
463
+ - **Sandbox**: optional bubblewrap isolation for shell commands.
464
+ - **Skills & MCP marketplace**: browse ready-made skills and tools (for
465
+ example "give it data, get a chart") from a GitHub catalog, install with one
466
+ click, or add your own GitHub links.
467
+
468
+ ## License
469
+
470
+ MIT