holo-desktop-cli 0.0.1__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.
- holo_desktop_cli-0.0.1/.gitignore +21 -0
- holo_desktop_cli-0.0.1/LICENSE +201 -0
- holo_desktop_cli-0.0.1/PKG-INFO +443 -0
- holo_desktop_cli-0.0.1/README.md +200 -0
- holo_desktop_cli-0.0.1/examples/README.md +38 -0
- holo_desktop_cli-0.0.1/examples/expense_report/README.md +111 -0
- holo_desktop_cli-0.0.1/examples/expense_report/pyproject.toml +77 -0
- holo_desktop_cli-0.0.1/examples/software_qa/README.md +109 -0
- holo_desktop_cli-0.0.1/pyproject.toml +140 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/__init__.py +6 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/__main__.py +6 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/__init__.py +20 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/client.py +155 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/desktop_lock.py +69 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/event_timings.py +251 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/events.py +192 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/launcher.py +491 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/model_gateway.py +34 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/requests.py +40 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/runtime_install.py +254 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/agent_client/session_runner.py +323 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/__init__.py +62 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/acp.py +293 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/agent_api.py +57 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/bootstrap.py +136 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/doctor.py +154 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/guard.py +43 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/hosts.py +324 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/install.py +114 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/login.py +294 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/login_pages.py +162 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/mcp.py +110 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/profile.py +49 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/run.py +302 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/serve.py +489 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/stop.py +41 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/cli/whoami.py +41 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/customization.py +243 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/fs.py +28 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/host_integrations/__init__.py +1 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/host_integrations/nemoclaw/__init__.py +1 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/host_integrations/nemoclaw/bridge_server.py +573 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/host_integrations/nemoclaw/constants.py +14 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/host_integrations/nemoclaw/holo_mcp_bridge.mjs +143 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/host_integrations/nemoclaw/install.py +395 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/host_skills/__init__.py +0 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/host_skills/holo-desktop/SKILL.md +56 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/killswitch/__init__.py +34 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/killswitch/autostart.py +178 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/killswitch/channel.py +51 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/killswitch/gesture.py +65 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/killswitch/listener.py +124 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/killswitch/macos_tap.py +157 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/py.typed +0 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/settings.py +169 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/__init__.py +0 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/apple-calendar/SKILL.md +47 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/apple-contacts/SKILL.md +53 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/apple-mail/SKILL.md +37 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/apple-messages/SKILL.md +39 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/apple-notes/SKILL.md +51 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/apple-reminders/SKILL.md +49 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/apple-system-settings/SKILL.md +61 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/chrome/SKILL.md +52 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/discord/SKILL.md +58 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/finder/SKILL.md +52 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/notion/SKILL.md +60 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/safari/SKILL.md +42 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/slack/SKILL.md +64 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/macos/spotify/SKILL.md +56 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/windows/chrome/SKILL.md +51 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/windows/discord/SKILL.md +57 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/windows/edge/SKILL.md +47 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/windows/file-explorer/SKILL.md +55 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/windows/notion/SKILL.md +59 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/windows/outlook/SKILL.md +59 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/windows/slack/SKILL.md +63 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/windows/spotify/SKILL.md +55 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/skills/windows/windows-settings/SKILL.md +68 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/terminal/__init__.py +5 -0
- holo_desktop_cli-0.0.1/src/holo_desktop/terminal/feed.py +104 -0
- holo_desktop_cli-0.0.1/tests/e2e/README.md +38 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.py[cod]
|
|
3
|
+
*.egg-info/
|
|
4
|
+
build/
|
|
5
|
+
dist/
|
|
6
|
+
.venv/
|
|
7
|
+
venv/
|
|
8
|
+
.env
|
|
9
|
+
.pytest_cache/
|
|
10
|
+
.mypy_cache/
|
|
11
|
+
.ruff_cache/
|
|
12
|
+
.coverage
|
|
13
|
+
coverage.xml
|
|
14
|
+
htmlcov/
|
|
15
|
+
.DS_Store
|
|
16
|
+
DRIFT.md
|
|
17
|
+
|
|
18
|
+
# examples/expense_report: downloaded fixtures + run output (CWD-relative)
|
|
19
|
+
examples/expense_report/fixtures/.cache/
|
|
20
|
+
examples/expense_report/fixtures/expense_report/
|
|
21
|
+
examples/expense_report/runs/
|
|
@@ -0,0 +1,201 @@
|
|
|
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, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: holo-desktop-cli
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Vision-language agent that drives real macOS, Linux, and Windows apps. Powered by Holo3; thin client over the hai-agent-runtime agent API.
|
|
5
|
+
Project-URL: Homepage, https://hcompany.ai
|
|
6
|
+
Project-URL: Repository, https://github.com/hcompai/holo-desktop-cli
|
|
7
|
+
Project-URL: Issues, https://github.com/hcompai/holo-desktop-cli/issues
|
|
8
|
+
Project-URL: Documentation, https://hub.hcompany.ai/quickstart
|
|
9
|
+
Project-URL: Changelog, https://github.com/hcompai/holo-desktop-cli/blob/main/CHANGELOG.md
|
|
10
|
+
Project-URL: Holo3-35B-A3B, https://huggingface.co/Hcompany/Holo3-35B-A3B
|
|
11
|
+
Project-URL: Holo3-122B-A10B, https://huggingface.co/Hcompany/Holo3-122B-A10B
|
|
12
|
+
Author-email: H Company <contact@hcompany.ai>
|
|
13
|
+
License: Apache License
|
|
14
|
+
Version 2.0, January 2004
|
|
15
|
+
http://www.apache.org/licenses/
|
|
16
|
+
|
|
17
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
18
|
+
|
|
19
|
+
1. Definitions.
|
|
20
|
+
|
|
21
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
22
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
23
|
+
|
|
24
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
25
|
+
the copyright owner that is granting the License.
|
|
26
|
+
|
|
27
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
28
|
+
other entities that control, are controlled by, or are under common
|
|
29
|
+
control with that entity. For the purposes of this definition,
|
|
30
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
31
|
+
direction or management of such entity, whether by contract or
|
|
32
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
33
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
34
|
+
|
|
35
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
36
|
+
exercising permissions granted by this License.
|
|
37
|
+
|
|
38
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
39
|
+
including but not limited to software source code, documentation
|
|
40
|
+
source, and configuration files.
|
|
41
|
+
|
|
42
|
+
"Object" form shall mean any form resulting from mechanical
|
|
43
|
+
transformation or translation of a Source form, including but
|
|
44
|
+
not limited to compiled object code, generated documentation,
|
|
45
|
+
and conversions to other media types.
|
|
46
|
+
|
|
47
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
48
|
+
Object form, made available under the License, as indicated by a
|
|
49
|
+
copyright notice that is included in or attached to the work
|
|
50
|
+
(an example is provided in the Appendix below).
|
|
51
|
+
|
|
52
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
53
|
+
form, that is based on (or derived from) the Work and for which the
|
|
54
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
55
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
56
|
+
of this License, Derivative Works shall not include works that remain
|
|
57
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
58
|
+
the Work and Derivative Works thereof.
|
|
59
|
+
|
|
60
|
+
"Contribution" shall mean any work of authorship, including
|
|
61
|
+
the original version of the Work and any modifications or additions
|
|
62
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
63
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
64
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
65
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
66
|
+
means any form of electronic, verbal, or written communication sent
|
|
67
|
+
to the Licensor or its representatives, including but not limited to
|
|
68
|
+
communication on electronic mailing lists, source code control systems,
|
|
69
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
70
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
71
|
+
excluding communication that is conspicuously marked or otherwise
|
|
72
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
73
|
+
|
|
74
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
75
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
76
|
+
subsequently incorporated within the Work.
|
|
77
|
+
|
|
78
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
79
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
80
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
81
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
82
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
83
|
+
Work and such Derivative Works in Source or Object form.
|
|
84
|
+
|
|
85
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
86
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
87
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
88
|
+
(except as stated in this section) patent license to make, have made,
|
|
89
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
90
|
+
where such license applies only to those patent claims licensable
|
|
91
|
+
by such Contributor that are necessarily infringed by their
|
|
92
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
93
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
94
|
+
institute patent litigation against any entity (including a
|
|
95
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
96
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
97
|
+
or contributory patent infringement, then any patent licenses
|
|
98
|
+
granted to You under this License for that Work shall terminate
|
|
99
|
+
as of the date such litigation is filed.
|
|
100
|
+
|
|
101
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
102
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
103
|
+
modifications, and in Source or Object form, provided that You
|
|
104
|
+
meet the following conditions:
|
|
105
|
+
|
|
106
|
+
(a) You must give any other recipients of the Work or
|
|
107
|
+
Derivative Works a copy of this License; and
|
|
108
|
+
|
|
109
|
+
(b) You must cause any modified files to carry prominent notices
|
|
110
|
+
stating that You changed the files; and
|
|
111
|
+
|
|
112
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
113
|
+
that You distribute, all copyright, patent, trademark, and
|
|
114
|
+
attribution notices from the Source form of the Work,
|
|
115
|
+
excluding those notices that do not pertain to any part of
|
|
116
|
+
the Derivative Works; and
|
|
117
|
+
|
|
118
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
119
|
+
distribution, then any Derivative Works that You distribute must
|
|
120
|
+
include a readable copy of the attribution notices contained
|
|
121
|
+
within such NOTICE file, excluding those notices that do not
|
|
122
|
+
pertain to any part of the Derivative Works, in at least one
|
|
123
|
+
of the following places: within a NOTICE text file distributed
|
|
124
|
+
as part of the Derivative Works; within the Source form or
|
|
125
|
+
documentation, if provided along with the Derivative Works; or,
|
|
126
|
+
within a display generated by the Derivative Works, if and
|
|
127
|
+
wherever such third-party notices normally appear. The contents
|
|
128
|
+
of the NOTICE file are for informational purposes only and
|
|
129
|
+
do not modify the License. You may add Your own attribution
|
|
130
|
+
notices within Derivative Works that You distribute, alongside
|
|
131
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
132
|
+
that such additional attribution notices cannot be construed
|
|
133
|
+
as modifying the License.
|
|
134
|
+
|
|
135
|
+
You may add Your own copyright statement to Your modifications and
|
|
136
|
+
may provide additional or different license terms and conditions
|
|
137
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
138
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
139
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
140
|
+
the conditions stated in this License.
|
|
141
|
+
|
|
142
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
143
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
144
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
145
|
+
this License, without any additional terms or conditions.
|
|
146
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
147
|
+
the terms of any separate license agreement you may have executed
|
|
148
|
+
with Licensor regarding such Contributions.
|
|
149
|
+
|
|
150
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
151
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
152
|
+
except as required for reasonable and customary use in describing the
|
|
153
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
154
|
+
|
|
155
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
156
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
157
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
158
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
159
|
+
implied, including, without limitation, any warranties or conditions
|
|
160
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
161
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
162
|
+
appropriateness of using or redistributing the Work and assume any
|
|
163
|
+
risks associated with Your exercise of permissions under this License.
|
|
164
|
+
|
|
165
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
166
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
167
|
+
unless required by applicable law (such as deliberate and grossly
|
|
168
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
169
|
+
liable to You for damages, including any direct, indirect, special,
|
|
170
|
+
incidental, or consequential damages of any character arising as a
|
|
171
|
+
result of this License or out of the use or inability to use the
|
|
172
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
173
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
174
|
+
other commercial damages or losses), even if such Contributor
|
|
175
|
+
has been advised of the possibility of such damages.
|
|
176
|
+
|
|
177
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
178
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
179
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
180
|
+
or other liability obligations and/or rights consistent with this
|
|
181
|
+
License. However, in accepting such obligations, You may act only
|
|
182
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
183
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
184
|
+
defend, and hold each Contributor harmless for any liability
|
|
185
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
186
|
+
of your accepting any such warranty or additional liability.
|
|
187
|
+
|
|
188
|
+
END OF TERMS AND CONDITIONS
|
|
189
|
+
|
|
190
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
191
|
+
|
|
192
|
+
To apply the Apache License to your work, attach the following
|
|
193
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
194
|
+
replaced with your own identifying information. (Don't include
|
|
195
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
196
|
+
comment syntax for the file format. We also recommend that a
|
|
197
|
+
file or class name and description of purpose be included on the
|
|
198
|
+
same "printed page" as the copyright notice for easier
|
|
199
|
+
identification within third-party archives.
|
|
200
|
+
|
|
201
|
+
Copyright [yyyy] [name of copyright owner]
|
|
202
|
+
|
|
203
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
204
|
+
you may not use this file except in compliance with the License.
|
|
205
|
+
You may obtain a copy of the License at
|
|
206
|
+
|
|
207
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
208
|
+
|
|
209
|
+
Unless required by applicable law or agreed to in writing, software
|
|
210
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
211
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
212
|
+
See the License for the specific language governing permissions and
|
|
213
|
+
limitations under the License.
|
|
214
|
+
License-File: LICENSE
|
|
215
|
+
Keywords: acp,agent,computer-use,desktop-automation,h-company,holo3,mcp,vlm
|
|
216
|
+
Classifier: Development Status :: 4 - Beta
|
|
217
|
+
Classifier: Intended Audience :: Developers
|
|
218
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
219
|
+
Classifier: Operating System :: MacOS
|
|
220
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
221
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
222
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
223
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
224
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
225
|
+
Classifier: Typing :: Typed
|
|
226
|
+
Requires-Python: >=3.12
|
|
227
|
+
Requires-Dist: a2a-sdk[http-server]>=1.0.3
|
|
228
|
+
Requires-Dist: agent-client-protocol>=0.10
|
|
229
|
+
Requires-Dist: hai-agent-api>=0.1.15
|
|
230
|
+
Requires-Dist: httpx>=0.28.1
|
|
231
|
+
Requires-Dist: mcp>=1.10
|
|
232
|
+
Requires-Dist: pydantic-settings>=2.6
|
|
233
|
+
Requires-Dist: pydantic>=2.11.4
|
|
234
|
+
Requires-Dist: pynput>=1.7
|
|
235
|
+
Requires-Dist: pyobjc-framework-quartz>=10.0; sys_platform == 'darwin'
|
|
236
|
+
Requires-Dist: python-dotenv>=0.21
|
|
237
|
+
Requires-Dist: pyyaml>=6.0
|
|
238
|
+
Requires-Dist: rich>=13.0
|
|
239
|
+
Requires-Dist: starlette>=0.49.1
|
|
240
|
+
Requires-Dist: tyro>=0.8
|
|
241
|
+
Requires-Dist: uvicorn>=0.31.1
|
|
242
|
+
Description-Content-Type: text/markdown
|
|
243
|
+
|
|
244
|
+
<p align="center">
|
|
245
|
+
<picture>
|
|
246
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/hcompai/holo-desktop-cli/blob/main/assets/banner-dark.gif?raw=true" />
|
|
247
|
+
<img src="https://github.com/hcompai/holo-desktop-cli/blob/main/assets/banner-light.gif?raw=true" alt="HoloDesktop CLI" width="800" />
|
|
248
|
+
</picture>
|
|
249
|
+
</p>
|
|
250
|
+
|
|
251
|
+
<p align="center">
|
|
252
|
+
<a href="https://github.com/hcompai/holo-desktop-cli/actions/workflows/ci.yml"><img src="https://github.com/hcompai/holo-desktop-cli/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI" /></a>
|
|
253
|
+
<a href="https://codecov.io/gh/hcompai/holo-desktop-cli"><img src="https://codecov.io/gh/hcompai/holo-desktop-cli/branch/main/graph/badge.svg" alt="Coverage" /></a>
|
|
254
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache--2.0-blue.svg" alt="License: Apache-2.0" /></a>
|
|
255
|
+
</p>
|
|
256
|
+
|
|
257
|
+
Tell your computer what to do. Holo gets it done. `holo-desktop-cli` is the open-source client for [Holo3](https://huggingface.co/Hcompany/Holo3-35B-A3B), H Company's open-weight vision-language model. It launches the agent and fronts it as a CLI, MCP, ACP, and A2A surface. Use the hosted API, or run everything on your own machine for full privacy.
|
|
258
|
+
|
|
259
|
+
**Docs:** The [HoloDesktop CLI docs](https://hub.hcompany.ai/holo-desktop-cli) cover setup guides, run examples, debugging advice, integration guides, and the full CLI reference.
|
|
260
|
+
|
|
261
|
+
## What's open, what's closed
|
|
262
|
+
|
|
263
|
+
Holo is three parts:
|
|
264
|
+
|
|
265
|
+
- **This repo, `holo-desktop-cli`,** is the [Apache-2.0-licensed](LICENSE) client: the CLI plus the MCP / ACP / A2A surfaces. It launches the agent and drives it over loopback.
|
|
266
|
+
- **The agent** runs inside H Company's `hai-agent-runtime` binary. That binary is closed-source and downloads itself on first run (sha256-verified).
|
|
267
|
+
- **The contract between them** is the open [`hai-agent-api`](https://pypi.org/project/hai-agent-api/) package, so what the client sends is fully inspectable.
|
|
268
|
+
|
|
269
|
+
Point it at the hosted [Holo3](https://huggingface.co/Hcompany/Holo3-35B-A3B) models, or at [your own server](docs/self-hosting.md) where nothing leaves your machine.
|
|
270
|
+
|
|
271
|
+
## Quickstart
|
|
272
|
+
|
|
273
|
+
`holo-desktop-cli` is not (yet) on PyPI; run it from a checkout:
|
|
274
|
+
|
|
275
|
+
```bash
|
|
276
|
+
git clone https://github.com/hcompai/holo-desktop-cli
|
|
277
|
+
cd holo-desktop-cli && uv sync
|
|
278
|
+
uv run holo run "Catch me up on Slack"
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
On first run:
|
|
282
|
+
|
|
283
|
+
1. The `hai-agent-runtime` binary downloads itself to `~/.holo/runtime/` (sha256-verified). Developers can skip this by putting `hai-agent-runtime` (or a wrapper script) on `PATH`.
|
|
284
|
+
2. Your browser opens to sign in at [portal.hcompany.ai](https://portal.hcompany.ai). Skip with `--base-url` for a local model.
|
|
285
|
+
3. macOS only: grant the agent runtime *Accessibility* and *Screen Recording* in *System Settings → Privacy & Security* when prompted.
|
|
286
|
+
|
|
287
|
+
## Four ways to use Holo
|
|
288
|
+
|
|
289
|
+
| Surface | Command | When |
|
|
290
|
+
| ------- | ------- | ---- |
|
|
291
|
+
| CLI | `holo run "task"` | One-shot tasks from your terminal |
|
|
292
|
+
| MCP | `holo install`, or `holo mcp` in your host's config | Delegate from Claude Code, Cursor, Codex, ... |
|
|
293
|
+
| ACP | `holo acp` | [ACP](https://agentclientprotocol.com) hosts (Hermes, OpenClaw, Zed, ...) |
|
|
294
|
+
| A2A | `holo serve` | An [A2A](https://a2a-protocol.org) HTTP server on `127.0.0.1` for your own agents |
|
|
295
|
+
|
|
296
|
+
See the [CLI reference](https://hub.hcompany.ai/holo-desktop-cli/reference/cli) or `holo run --help` for all flags.
|
|
297
|
+
|
|
298
|
+
## Stopping the agent (kill switch)
|
|
299
|
+
|
|
300
|
+
Once the agent is driving the screen it's hard to take back control. Holo gives you an out-of-band panic stop: **press `Esc` twice quickly** and the current turn pauses, then cancels.
|
|
301
|
+
|
|
302
|
+
| Where you're running | What watches for the double-`Esc` |
|
|
303
|
+
| -------------------- | --------------------------------- |
|
|
304
|
+
| `holo run` (interactive terminal) | A listener embedded in the run; armed automatically (first use prompts for macOS Input Monitoring). |
|
|
305
|
+
| `holo mcp` / `holo acp` / `holo serve` (headless) | The always-on `holo guard`, installed by `holo install` and launched by the OS so it has its own permission identity. |
|
|
306
|
+
|
|
307
|
+
You can also stop without the keyboard:
|
|
308
|
+
|
|
309
|
+
```bash
|
|
310
|
+
holo stop # ask the running turn to pause then cancel (same as double-Esc)
|
|
311
|
+
holo stop --force # additionally SIGKILL the runtime — instant, but ends the session outright
|
|
312
|
+
holo guard # run the listener yourself in the foreground (e.g. if you skipped holo install)
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
Good to know:
|
|
316
|
+
|
|
317
|
+
- **The stop is step-bounded.** It halts the *next* action; the runtime still finishes the action already in flight. `holo stop --force` is the only instant stop.
|
|
318
|
+
- **`holo stop --force` kills the runtime but leaves a headless host running with a dead backend.** `holo serve` / `holo mcp` / `holo acp` spawn their runtime once at startup and keep pointing at it, so after a force-kill the host process stays up but every later task fails (its requests hit a runtime that no longer exists) until you restart the host. Prefer plain `holo stop` there; reserve `--force` for `holo run` or a wedged runtime.
|
|
319
|
+
- **The guard only inspects `Esc` timing**, never keystroke content — but it does hold Input Monitoring continuously while installed. Disable the embedded listener for a single run with `holo run --no-kill-switch`.
|
|
320
|
+
- **`holo stop --force` reads a pid file and does not yet verify process identity.** A runtime that exited uncleanly can leave a stale `~/.holo/agent-pid-<port>` behind, so a force-kill may target a recycled pid. Robust start-time matching is tracked as follow-up.
|
|
321
|
+
- **Wayland (Linux) has no global key listener.** Use `holo stop` instead, bound to a compositor hotkey.
|
|
322
|
+
|
|
323
|
+
### How the stop signal works
|
|
324
|
+
|
|
325
|
+
The trigger and the lever are decoupled through a single one-line file, `~/.holo/stop`, holding a **wall-clock timestamp**:
|
|
326
|
+
|
|
327
|
+
- **Writing it (the trigger):** `holo stop`, the `holo run` listener, and `holo guard` all write `time.time()` to that file. They're separate processes, so a wall-clock value is what lets them and the running turn agree on ordering.
|
|
328
|
+
- **Reading it (the lever):** every turn records its own `started_at` and, while running, polls the file ~4×/s. It acts **only if the file's timestamp is newer than its `started_at`** — then it pauses, then cancels at the next action boundary.
|
|
329
|
+
- **Clearing it:** the file is *never deleted*. It's cleared by time — the next turn starts later, so a leftover request is automatically stale and can't kill it. This is also why a `holo stop` fired *before* a run begins is ignored: nothing was running to stop.
|
|
330
|
+
|
|
331
|
+
`holo stop --force` is the exception to the step-bounded model: it reads the runtime's pid file (`~/.holo/agent-pid-<port>`) and SIGKILLs the process directly, so it doesn't wait for an action boundary.
|
|
332
|
+
|
|
333
|
+
## Use from Python
|
|
334
|
+
|
|
335
|
+
`holo_desktop.agent_client` is the same client every CLI surface is built on: it spawns (or attaches to) the `hai-agent-runtime` binary on loopback and drives sessions over the agent API.
|
|
336
|
+
|
|
337
|
+
```python
|
|
338
|
+
import asyncio
|
|
339
|
+
|
|
340
|
+
from holo_desktop.agent_client import AgentApiClient, SpawnConfig, ensure_running
|
|
341
|
+
from holo_desktop.agent_client.requests import build_session_request
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
async def main() -> None:
|
|
345
|
+
daemon = await ensure_running(SpawnConfig(port=18795))
|
|
346
|
+
try:
|
|
347
|
+
async with AgentApiClient(daemon.base_url, daemon.token) as client:
|
|
348
|
+
request = build_session_request(
|
|
349
|
+
task="Tell me how many unread emails I have", max_steps=None, max_time_s=None
|
|
350
|
+
)
|
|
351
|
+
stream = client.stream(await client.create_session(request))
|
|
352
|
+
async for event in stream.events():
|
|
353
|
+
print(event.type)
|
|
354
|
+
print(stream.answer)
|
|
355
|
+
finally:
|
|
356
|
+
await daemon.aclose()
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
asyncio.run(main())
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
`AgentApiClient` also exposes `pause` / `resume` / `cancel` and mid-run `send_message` for interactive embedding.
|
|
363
|
+
|
|
364
|
+
## Models
|
|
365
|
+
|
|
366
|
+
Holo defaults to the [H Company Models API](https://hcompany.ai/holo-models-api). Your first `holo run` opens your browser, signs you in at [portal.hcompany.ai](https://portal.hcompany.ai), and saves a key to `~/.holo/.env`. Run `holo login` to do this ahead of time. Holo3-35B is on the free tier; the 122B requires a paid plan.
|
|
367
|
+
|
|
368
|
+
To run on your own hardware instead, point `--base-url` at any OpenAI-compatible server. No `holo login` needed, and no screenshots, keystrokes, or app content leave your machine.
|
|
369
|
+
|
|
370
|
+
```bash
|
|
371
|
+
holo run --base-url http://localhost:8000/v1 "Open Safari and go to hcompany.ai"
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
Hardware notes and ready-to-run vLLM and llama.cpp configs are in [docs/self-hosting.md](docs/self-hosting.md).
|
|
375
|
+
|
|
376
|
+
## Use inside another agent
|
|
377
|
+
|
|
378
|
+
Holo runs as a sub-agent of Claude Code, Cursor, Codex, and other [MCP](https://modelcontextprotocol.io) / [ACP](https://agentclientprotocol.com) hosts. When your main agent needs to read a screen or click through an app, it delegates to Holo and gets the answer back.
|
|
379
|
+
|
|
380
|
+
One command wires Holo into every supported host on your machine:
|
|
381
|
+
|
|
382
|
+
```bash
|
|
383
|
+
holo install # everything detected
|
|
384
|
+
holo install cursor # one host
|
|
385
|
+
holo install list # see what's available
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
Each host gets the MCP server in its config, plus a [Skill](https://docs.claude.com/en/docs/agents-and-tools/agent-skills/overview) (where supported) that teaches the parent when to delegate to Holo.
|
|
389
|
+
|
|
390
|
+
> **Interrupting a running task:** over MCP a Holo task blocks until it finishes — stopping the turn in the host (Cursor, Codex, ...) does not abort the run already executing on your machine; it keeps clicking until it completes, times out, or the host kills the server process. Use [ACP](#acp) if you need a host-driven cancel.
|
|
391
|
+
|
|
392
|
+
| id | host | skill auto-load |
|
|
393
|
+
| --------------- | --------------------------------------------------------------- | ---------------------------- |
|
|
394
|
+
| `antigravity` | [Antigravity](https://antigravity.google) (Google) | — |
|
|
395
|
+
| `claude-code` | [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | `~/.claude/skills/` |
|
|
396
|
+
| `claude-desktop`| [Claude Desktop](https://claude.ai/download) | — |
|
|
397
|
+
| `codex` | [Codex](https://github.com/openai/codex) | `~/.agents/skills/` |
|
|
398
|
+
| `copilot` | [GitHub Copilot CLI](https://github.com/github/copilot-cli) | — |
|
|
399
|
+
| `cursor` | [Cursor](https://cursor.com) | — |
|
|
400
|
+
| `hermes` | [Hermes](https://nousresearch.com) | — |
|
|
401
|
+
| `nemoclaw` | NemoClaw (sandbox bridge) | — |
|
|
402
|
+
| `openclaw` | [OpenClaw](https://github.com/openclaw/openclaw) | `~/.openclaw/skills/` |
|
|
403
|
+
| `opencode` | [OpenCode](https://opencode.ai) | `~/.config/opencode/skills/` |
|
|
404
|
+
|
|
405
|
+
### ACP
|
|
406
|
+
|
|
407
|
+
> **Beta.** ACP support is still stabilising — interfaces and behaviour may change. `holo acp` prints this notice to stderr on startup.
|
|
408
|
+
|
|
409
|
+
`holo acp` runs Holo as an [ACP](https://agentclientprotocol.com) sub-agent over stdio. Unlike MCP, ACP hosts can cancel an in-flight task.
|
|
410
|
+
|
|
411
|
+
**Hermes** ([NousResearch](https://github.com/NousResearch/hermes-agent)):
|
|
412
|
+
|
|
413
|
+
```python
|
|
414
|
+
delegate_task(acp_command="holo acp", task="Open Authy and grab my AWS 2FA code")
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
**OpenClaw** — `~/.openclaw/openclaw.json`:
|
|
418
|
+
|
|
419
|
+
```json
|
|
420
|
+
{ "runtimes": { "holo": { "runtime": "acp-standard", "command": "holo", "args": ["acp"] } } }
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
## Develop
|
|
424
|
+
|
|
425
|
+
All dependencies resolve from PyPI (the agent-API wire types come from `hai-agent-api`), so a plain checkout is all you need:
|
|
426
|
+
|
|
427
|
+
```bash
|
|
428
|
+
git clone https://github.com/hcompai/holo-desktop-cli && cd holo-desktop-cli
|
|
429
|
+
make setup
|
|
430
|
+
make check # ruff + mypy + pytest
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
See [`CONTRIBUTING.md`](CONTRIBUTING.md).
|
|
434
|
+
|
|
435
|
+
## License
|
|
436
|
+
|
|
437
|
+
The `holo-desktop-cli` client (this repository) is [Apache-2.0-licensed](LICENSE). The `hai-agent-runtime` binary it downloads and drives is closed-source and distributed under H Company's own terms; the wire contract between the two is the open [`hai-agent-api`](https://pypi.org/project/hai-agent-api/) package.
|
|
438
|
+
|
|
439
|
+
## Resources
|
|
440
|
+
|
|
441
|
+
- Models: [Holo3-35B-A3B](https://huggingface.co/Hcompany/Holo3-35B-A3B) · [Holo3-122B-A10B](https://huggingface.co/Hcompany/Holo3-122B-A10B)
|
|
442
|
+
- Docs: [Quickstart](https://hub.hcompany.ai/quickstart) · [Models API](https://hcompany.ai/holo-models-api)
|
|
443
|
+
- [H Company](https://hcompany.ai)
|