milaidy 1.0.0

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 (253) hide show
  1. package/LICENSE +8 -0
  2. package/README.md +538 -0
  3. package/dist/argv-CfSowvEA.js +63 -0
  4. package/dist/config-B-mboG4v.js +4 -0
  5. package/dist/eliza-CPJjgw-e.js +1491 -0
  6. package/dist/eliza.js +2192 -0
  7. package/dist/entry.js +232 -0
  8. package/dist/index.js +209 -0
  9. package/dist/links-BFKlWqSe.js +15 -0
  10. package/dist/paths-D_yh1DEJ.js +69 -0
  11. package/dist/plugins-cli-B7kSre2c.js +134 -0
  12. package/dist/program-6KwWwKKh.js +510 -0
  13. package/dist/register.agents-CPVmSjMG.js +17 -0
  14. package/dist/register.browser-B2ooXxNx.js +15 -0
  15. package/dist/register.channels-CMYQ6K6Y.js +42 -0
  16. package/dist/register.cron-D91lY1_Y.js +9 -0
  17. package/dist/register.devices-rU5I5L_y.js +13 -0
  18. package/dist/register.gateway-82SLAvw3.js +22 -0
  19. package/dist/register.hooks-B_XTBEkt.js +9 -0
  20. package/dist/register.logs-BgEGcPd8.js +10 -0
  21. package/dist/register.models-BJt9eVgZ.js +26 -0
  22. package/dist/register.nodes-B5xY1s8a.js +9 -0
  23. package/dist/register.skills-SFQqYIhg.js +10 -0
  24. package/dist/register.subclis-uF_AsbWR.js +187 -0
  25. package/dist/run-main-XODklzS-.js +56 -0
  26. package/dist/theme-DBvtuGeq.js +36 -0
  27. package/dist/utils-C1AUpp_V.js +42 -0
  28. package/dist/version-Cpn3yr5D.js +26 -0
  29. package/dist/workspace-Co3Wul2D.js +206 -0
  30. package/dist/workspace-DCA6MNVK.js +350 -0
  31. package/docs/.i18n/README.md +31 -0
  32. package/docs/.i18n/glossary.zh-CN.json +210 -0
  33. package/docs/.i18n/zh-CN.tm.jsonl +1329 -0
  34. package/docs/CNAME +1 -0
  35. package/docs/automation/cron-jobs.md +468 -0
  36. package/docs/automation/cron-vs-heartbeat.md +254 -0
  37. package/docs/automation/gmail-pubsub.md +256 -0
  38. package/docs/automation/poll.md +69 -0
  39. package/docs/automation/webhook.md +163 -0
  40. package/docs/bedrock.md +176 -0
  41. package/docs/brave-search.md +41 -0
  42. package/docs/broadcast-groups.md +442 -0
  43. package/docs/cli/acp.md +170 -0
  44. package/docs/cli/agent.md +24 -0
  45. package/docs/cli/agents.md +75 -0
  46. package/docs/cli/approvals.md +50 -0
  47. package/docs/cli/browser.md +107 -0
  48. package/docs/cli/channels.md +79 -0
  49. package/docs/cli/config.md +50 -0
  50. package/docs/cli/configure.md +33 -0
  51. package/docs/cli/cron.md +42 -0
  52. package/docs/cli/dashboard.md +16 -0
  53. package/docs/cli/devices.md +67 -0
  54. package/docs/cli/directory.md +63 -0
  55. package/docs/cli/dns.md +23 -0
  56. package/docs/cli/docs.md +15 -0
  57. package/docs/cli/doctor.md +41 -0
  58. package/docs/cli/gateway.md +199 -0
  59. package/docs/cli/health.md +21 -0
  60. package/docs/cli/hooks.md +291 -0
  61. package/docs/cli/index.md +1029 -0
  62. package/docs/cli/logs.md +24 -0
  63. package/docs/cli/memory.md +45 -0
  64. package/docs/cli/message.md +239 -0
  65. package/docs/cli/models.md +79 -0
  66. package/docs/cli/node.md +112 -0
  67. package/docs/cli/nodes.md +73 -0
  68. package/docs/cli/onboard.md +29 -0
  69. package/docs/cli/pairing.md +21 -0
  70. package/docs/cli/plugins.md +62 -0
  71. package/docs/cli/reset.md +17 -0
  72. package/docs/cli/sandbox.md +152 -0
  73. package/docs/cli/security.md +26 -0
  74. package/docs/cli/sessions.md +16 -0
  75. package/docs/cli/setup.md +29 -0
  76. package/docs/cli/skills.md +26 -0
  77. package/docs/cli/status.md +26 -0
  78. package/docs/cli/system.md +60 -0
  79. package/docs/cli/tui.md +23 -0
  80. package/docs/cli/uninstall.md +17 -0
  81. package/docs/cli/update.md +98 -0
  82. package/docs/cli/voicecall.md +34 -0
  83. package/docs/cli/webhooks.md +25 -0
  84. package/docs/concepts/agent-loop.md +146 -0
  85. package/docs/concepts/agent-workspace.md +229 -0
  86. package/docs/concepts/agent.md +122 -0
  87. package/docs/concepts/architecture.md +129 -0
  88. package/docs/concepts/channel-routing.md +114 -0
  89. package/docs/concepts/compaction.md +61 -0
  90. package/docs/concepts/context.md +159 -0
  91. package/docs/concepts/features.md +53 -0
  92. package/docs/concepts/group-messages.md +84 -0
  93. package/docs/concepts/groups.md +373 -0
  94. package/docs/concepts/markdown-formatting.md +130 -0
  95. package/docs/concepts/memory.md +546 -0
  96. package/docs/concepts/messages.md +154 -0
  97. package/docs/concepts/model-failover.md +149 -0
  98. package/docs/concepts/model-providers.md +315 -0
  99. package/docs/concepts/models.md +208 -0
  100. package/docs/concepts/multi-agent.md +376 -0
  101. package/docs/concepts/oauth.md +145 -0
  102. package/docs/concepts/plugins.md +454 -0
  103. package/docs/concepts/presence.md +102 -0
  104. package/docs/concepts/queue.md +89 -0
  105. package/docs/concepts/retry.md +69 -0
  106. package/docs/concepts/secrets.md +300 -0
  107. package/docs/concepts/session-pruning.md +122 -0
  108. package/docs/concepts/session-tool.md +193 -0
  109. package/docs/concepts/session.md +188 -0
  110. package/docs/concepts/sessions.md +10 -0
  111. package/docs/concepts/skills.md +392 -0
  112. package/docs/concepts/streaming.md +135 -0
  113. package/docs/concepts/system-prompt.md +114 -0
  114. package/docs/concepts/timezone.md +91 -0
  115. package/docs/concepts/typebox.md +289 -0
  116. package/docs/concepts/typing-indicators.md +68 -0
  117. package/docs/concepts/usage-tracking.md +35 -0
  118. package/docs/custom.css +4 -0
  119. package/docs/date-time.md +128 -0
  120. package/docs/debugging.md +162 -0
  121. package/docs/docs.json +1599 -0
  122. package/docs/environment.md +81 -0
  123. package/docs/hooks.md +876 -0
  124. package/docs/index.md +179 -0
  125. package/docs/install/ansible.md +208 -0
  126. package/docs/install/bun.md +59 -0
  127. package/docs/install/development-channels.md +75 -0
  128. package/docs/install/docker.md +567 -0
  129. package/docs/install/index.md +185 -0
  130. package/docs/install/installer.md +123 -0
  131. package/docs/install/migrating.md +192 -0
  132. package/docs/install/nix.md +96 -0
  133. package/docs/install/node.md +78 -0
  134. package/docs/install/uninstall.md +128 -0
  135. package/docs/install/updating.md +228 -0
  136. package/docs/logging.md +350 -0
  137. package/docs/multi-agent-sandbox-tools.md +395 -0
  138. package/docs/network.md +54 -0
  139. package/docs/nodes/audio.md +114 -0
  140. package/docs/nodes/camera.md +156 -0
  141. package/docs/nodes/images.md +72 -0
  142. package/docs/nodes/index.md +341 -0
  143. package/docs/nodes/location-command.md +113 -0
  144. package/docs/nodes/media-understanding.md +379 -0
  145. package/docs/nodes/talk.md +90 -0
  146. package/docs/nodes/voicewake.md +65 -0
  147. package/docs/northflank.mdx +53 -0
  148. package/docs/perplexity.md +80 -0
  149. package/docs/platforms/android.md +129 -0
  150. package/docs/platforms/digitalocean.md +262 -0
  151. package/docs/platforms/exe-dev.md +125 -0
  152. package/docs/platforms/fly.md +486 -0
  153. package/docs/platforms/gcp.md +503 -0
  154. package/docs/platforms/hetzner.md +330 -0
  155. package/docs/platforms/index.md +53 -0
  156. package/docs/platforms/ios.md +106 -0
  157. package/docs/platforms/linux.md +94 -0
  158. package/docs/platforms/mac/bundled-gateway.md +73 -0
  159. package/docs/platforms/mac/canvas.md +125 -0
  160. package/docs/platforms/mac/child-process.md +69 -0
  161. package/docs/platforms/mac/dev-setup.md +102 -0
  162. package/docs/platforms/mac/health.md +34 -0
  163. package/docs/platforms/mac/icon.md +31 -0
  164. package/docs/platforms/mac/logging.md +57 -0
  165. package/docs/platforms/mac/menu-bar.md +81 -0
  166. package/docs/platforms/mac/peekaboo.md +65 -0
  167. package/docs/platforms/mac/permissions.md +44 -0
  168. package/docs/platforms/mac/release.md +85 -0
  169. package/docs/platforms/mac/remote.md +83 -0
  170. package/docs/platforms/mac/signing.md +47 -0
  171. package/docs/platforms/mac/skills.md +33 -0
  172. package/docs/platforms/mac/voice-overlay.md +60 -0
  173. package/docs/platforms/mac/voicewake.md +67 -0
  174. package/docs/platforms/mac/webchat.md +41 -0
  175. package/docs/platforms/mac/xpc.md +61 -0
  176. package/docs/platforms/macos-vm.md +281 -0
  177. package/docs/platforms/macos.md +203 -0
  178. package/docs/platforms/oracle.md +303 -0
  179. package/docs/platforms/raspberry-pi.md +358 -0
  180. package/docs/platforms/windows.md +159 -0
  181. package/docs/plugin.md +651 -0
  182. package/docs/plugins/agent-tools.md +99 -0
  183. package/docs/plugins/manifest.md +71 -0
  184. package/docs/plugins/voice-call.md +273 -0
  185. package/docs/plugins/zalouser.md +70 -0
  186. package/docs/providers/anthropic.md +152 -0
  187. package/docs/providers/claude-max-api-proxy.md +148 -0
  188. package/docs/providers/cloudflare-ai-gateway.md +71 -0
  189. package/docs/providers/deepgram.md +93 -0
  190. package/docs/providers/glm.md +33 -0
  191. package/docs/providers/index.md +63 -0
  192. package/docs/providers/minimax.md +208 -0
  193. package/docs/providers/models.md +51 -0
  194. package/docs/providers/moonshot.md +142 -0
  195. package/docs/providers/ollama.md +223 -0
  196. package/docs/providers/openai.md +62 -0
  197. package/docs/providers/opencode.md +36 -0
  198. package/docs/providers/openrouter.md +37 -0
  199. package/docs/providers/qwen.md +53 -0
  200. package/docs/providers/synthetic.md +99 -0
  201. package/docs/providers/venice.md +267 -0
  202. package/docs/providers/vercel-ai-gateway.md +50 -0
  203. package/docs/providers/xiaomi.md +64 -0
  204. package/docs/providers/zai.md +36 -0
  205. package/docs/railway.mdx +99 -0
  206. package/docs/reference/templates/AGENTS.md +9 -0
  207. package/docs/reference/templates/BOOTSTRAP.md +3 -0
  208. package/docs/reference/templates/HEARTBEAT.md +3 -0
  209. package/docs/reference/templates/IDENTITY.md +3 -0
  210. package/docs/reference/templates/TOOLS.md +3 -0
  211. package/docs/reference/templates/USER.md +3 -0
  212. package/docs/render.mdx +165 -0
  213. package/docs/start/docs-directory.md +63 -0
  214. package/docs/start/getting-started.md +212 -0
  215. package/docs/start/milaidy.md +247 -0
  216. package/docs/start/onboarding.md +258 -0
  217. package/docs/start/pairing.md +86 -0
  218. package/docs/start/quickstart.md +81 -0
  219. package/docs/start/setup.md +149 -0
  220. package/docs/start/showcase.md +416 -0
  221. package/docs/start/wizard.md +418 -0
  222. package/docs/testing.md +368 -0
  223. package/docs/token-use.md +112 -0
  224. package/docs/tools/agent-send.md +53 -0
  225. package/docs/tools/apply-patch.md +50 -0
  226. package/docs/tools/browser-linux-troubleshooting.md +139 -0
  227. package/docs/tools/browser-login.md +68 -0
  228. package/docs/tools/browser.md +576 -0
  229. package/docs/tools/chrome-extension.md +178 -0
  230. package/docs/tools/clawhub.md +257 -0
  231. package/docs/tools/creating-skills.md +54 -0
  232. package/docs/tools/elevated.md +57 -0
  233. package/docs/tools/exec-approvals.md +246 -0
  234. package/docs/tools/exec.md +179 -0
  235. package/docs/tools/firecrawl.md +61 -0
  236. package/docs/tools/index.md +508 -0
  237. package/docs/tools/llm-task.md +115 -0
  238. package/docs/tools/reactions.md +22 -0
  239. package/docs/tools/skills-config.md +76 -0
  240. package/docs/tools/skills.md +300 -0
  241. package/docs/tools/slash-commands.md +196 -0
  242. package/docs/tools/subagents.md +151 -0
  243. package/docs/tools/thinking.md +73 -0
  244. package/docs/tools/web.md +261 -0
  245. package/docs/tui.md +159 -0
  246. package/docs/vps.md +43 -0
  247. package/docs/web/control-ui.md +221 -0
  248. package/docs/web/dashboard.md +46 -0
  249. package/docs/web/index.md +116 -0
  250. package/docs/web/webchat.md +49 -0
  251. package/milaidy.mjs +14 -0
  252. package/package.json +271 -0
  253. package/skills/.cache/catalog.json +88519 -0
@@ -0,0 +1,267 @@
1
+ ---
2
+ summary: "Use Venice AI privacy-focused models in Milaidy"
3
+ read_when:
4
+ - You want privacy-focused inference in Milaidy
5
+ - You want Venice AI setup guidance
6
+ title: "Venice AI"
7
+ ---
8
+
9
+ # Venice AI (Venice highlight)
10
+
11
+ **Venice** is our highlight Venice setup for privacy-first inference with optional anonymized access to proprietary models.
12
+
13
+ Venice AI provides privacy-focused AI inference with support for uncensored models and access to major proprietary models through their anonymized proxy. All inference is private by default—no training on your data, no logging.
14
+
15
+ ## Why Venice in Milaidy
16
+
17
+ - **Private inference** for open-source models (no logging).
18
+ - **Uncensored models** when you need them.
19
+ - **Anonymized access** to proprietary models (Opus/GPT/Gemini) when quality matters.
20
+ - OpenAI-compatible `/v1` endpoints.
21
+
22
+ ## Privacy Modes
23
+
24
+ Venice offers two privacy levels — understanding this is key to choosing your model:
25
+
26
+ | Mode | Description | Models |
27
+ | -------------- | -------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
28
+ | **Private** | Fully private. Prompts/responses are **never stored or logged**. Ephemeral. | Llama, Qwen, DeepSeek, Venice Uncensored, etc. |
29
+ | **Anonymized** | Proxied through Venice with metadata stripped. The underlying provider (OpenAI, Anthropic) sees anonymized requests. | Claude, GPT, Gemini, Grok, Kimi, MiniMax |
30
+
31
+ ## Features
32
+
33
+ - **Privacy-focused**: Choose between "private" (fully private) and "anonymized" (proxied) modes
34
+ - **Uncensored models**: Access to models without content restrictions
35
+ - **Major model access**: Use Claude, GPT-5.2, Gemini, Grok via Venice's anonymized proxy
36
+ - **OpenAI-compatible API**: Standard `/v1` endpoints for easy integration
37
+ - **Streaming**: ✅ Supported on all models
38
+ - **Function calling**: ✅ Supported on select models (check model capabilities)
39
+ - **Vision**: ✅ Supported on models with vision capability
40
+ - **No hard rate limits**: Fair-use throttling may apply for extreme usage
41
+
42
+ ## Setup
43
+
44
+ ### 1. Get API Key
45
+
46
+ 1. Sign up at [venice.ai](https://venice.ai)
47
+ 2. Go to **Settings → API Keys → Create new key**
48
+ 3. Copy your API key (format: `vapi_xxxxxxxxxxxx`)
49
+
50
+ ### 2. Configure Milaidy
51
+
52
+ **Option A: Environment Variable**
53
+
54
+ ```bash
55
+ export VENICE_API_KEY="vapi_xxxxxxxxxxxx"
56
+ ```
57
+
58
+ **Option B: Interactive Setup (Recommended)**
59
+
60
+ ```bash
61
+ milaidy onboard --auth-choice venice-api-key
62
+ ```
63
+
64
+ This will:
65
+
66
+ 1. Prompt for your API key (or use existing `VENICE_API_KEY`)
67
+ 2. Show all available Venice models
68
+ 3. Let you pick your default model
69
+ 4. Configure the provider automatically
70
+
71
+ **Option C: Non-interactive**
72
+
73
+ ```bash
74
+ milaidy onboard --non-interactive \
75
+ --auth-choice venice-api-key \
76
+ --venice-api-key "vapi_xxxxxxxxxxxx"
77
+ ```
78
+
79
+ ### 3. Verify Setup
80
+
81
+ ```bash
82
+ milaidy chat --model venice/llama-3.3-70b "Hello, are you working?"
83
+ ```
84
+
85
+ ## Model Selection
86
+
87
+ After setup, Milaidy shows all available Venice models. Pick based on your needs:
88
+
89
+ - **Default (our pick)**: `venice/llama-3.3-70b` for private, balanced performance.
90
+ - **Best overall quality**: `venice/claude-opus-45` for hard jobs (Opus remains the strongest).
91
+ - **Privacy**: Choose "private" models for fully private inference.
92
+ - **Capability**: Choose "anonymized" models to access Claude, GPT, Gemini via Venice's proxy.
93
+
94
+ Change your default model anytime:
95
+
96
+ ```bash
97
+ milaidy models set venice/claude-opus-45
98
+ milaidy models set venice/llama-3.3-70b
99
+ ```
100
+
101
+ List all available models:
102
+
103
+ ```bash
104
+ milaidy models list | grep venice
105
+ ```
106
+
107
+ ## Configure via `milaidy configure`
108
+
109
+ 1. Run `milaidy configure`
110
+ 2. Select **Model/auth**
111
+ 3. Choose **Venice AI**
112
+
113
+ ## Which Model Should I Use?
114
+
115
+ | Use Case | Recommended Model | Why |
116
+ | ---------------------------- | -------------------------------- | ----------------------------------------- |
117
+ | **General chat** | `llama-3.3-70b` | Good all-around, fully private |
118
+ | **Best overall quality** | `claude-opus-45` | Opus remains the strongest for hard tasks |
119
+ | **Privacy + Claude quality** | `claude-opus-45` | Best reasoning via anonymized proxy |
120
+ | **Coding** | `qwen3-coder-480b-a35b-instruct` | Code-optimized, 262k context |
121
+ | **Vision tasks** | `qwen3-vl-235b-a22b` | Best private vision model |
122
+ | **Uncensored** | `venice-uncensored` | No content restrictions |
123
+ | **Fast + cheap** | `qwen3-4b` | Lightweight, still capable |
124
+ | **Complex reasoning** | `deepseek-v3.2` | Strong reasoning, private |
125
+
126
+ ## Available Models (25 Total)
127
+
128
+ ### Private Models (15) — Fully Private, No Logging
129
+
130
+ | Model ID | Name | Context (tokens) | Features |
131
+ | -------------------------------- | ----------------------- | ---------------- | ----------------------- |
132
+ | `llama-3.3-70b` | Llama 3.3 70B | 131k | General |
133
+ | `llama-3.2-3b` | Llama 3.2 3B | 131k | Fast, lightweight |
134
+ | `hermes-3-llama-3.1-405b` | Hermes 3 Llama 3.1 405B | 131k | Complex tasks |
135
+ | `qwen3-235b-a22b-thinking-2507` | Qwen3 235B Thinking | 131k | Reasoning |
136
+ | `qwen3-235b-a22b-instruct-2507` | Qwen3 235B Instruct | 131k | General |
137
+ | `qwen3-coder-480b-a35b-instruct` | Qwen3 Coder 480B | 262k | Code |
138
+ | `qwen3-next-80b` | Qwen3 Next 80B | 262k | General |
139
+ | `qwen3-vl-235b-a22b` | Qwen3 VL 235B | 262k | Vision |
140
+ | `qwen3-4b` | Venice Small (Qwen3 4B) | 32k | Fast, reasoning |
141
+ | `deepseek-v3.2` | DeepSeek V3.2 | 163k | Reasoning |
142
+ | `venice-uncensored` | Venice Uncensored | 32k | Uncensored |
143
+ | `mistral-31-24b` | Venice Medium (Mistral) | 131k | Vision |
144
+ | `google-gemma-3-27b-it` | Gemma 3 27B Instruct | 202k | Vision |
145
+ | `openai-gpt-oss-120b` | OpenAI GPT OSS 120B | 131k | General |
146
+ | `zai-org-glm-4.7` | GLM 4.7 | 202k | Reasoning, multilingual |
147
+
148
+ ### Anonymized Models (10) — Via Venice Proxy
149
+
150
+ | Model ID | Original | Context (tokens) | Features |
151
+ | ------------------------ | ----------------- | ---------------- | ----------------- |
152
+ | `claude-opus-45` | Claude Opus 4.5 | 202k | Reasoning, vision |
153
+ | `claude-sonnet-45` | Claude Sonnet 4.5 | 202k | Reasoning, vision |
154
+ | `openai-gpt-52` | GPT-5.2 | 262k | Reasoning |
155
+ | `openai-gpt-52-codex` | GPT-5.2 Codex | 262k | Reasoning, vision |
156
+ | `gemini-3-pro-preview` | Gemini 3 Pro | 202k | Reasoning, vision |
157
+ | `gemini-3-flash-preview` | Gemini 3 Flash | 262k | Reasoning, vision |
158
+ | `grok-41-fast` | Grok 4.1 Fast | 262k | Reasoning, vision |
159
+ | `grok-code-fast-1` | Grok Code Fast 1 | 262k | Reasoning, code |
160
+ | `kimi-k2-thinking` | Kimi K2 Thinking | 262k | Reasoning |
161
+ | `minimax-m21` | MiniMax M2.1 | 202k | Reasoning |
162
+
163
+ ## Model Discovery
164
+
165
+ Milaidy automatically discovers models from the Venice API when `VENICE_API_KEY` is set. If the API is unreachable, it falls back to a static catalog.
166
+
167
+ The `/models` endpoint is public (no auth needed for listing), but inference requires a valid API key.
168
+
169
+ ## Streaming & Tool Support
170
+
171
+ | Feature | Support |
172
+ | -------------------- | ------------------------------------------------------- |
173
+ | **Streaming** | ✅ All models |
174
+ | **Function calling** | ✅ Most models (check `supportsFunctionCalling` in API) |
175
+ | **Vision/Images** | ✅ Models marked with "Vision" feature |
176
+ | **JSON mode** | ✅ Supported via `response_format` |
177
+
178
+ ## Pricing
179
+
180
+ Venice uses a credit-based system. Check [venice.ai/pricing](https://venice.ai/pricing) for current rates:
181
+
182
+ - **Private models**: Generally lower cost
183
+ - **Anonymized models**: Similar to direct API pricing + small Venice fee
184
+
185
+ ## Comparison: Venice vs Direct API
186
+
187
+ | Aspect | Venice (Anonymized) | Direct API |
188
+ | ------------ | ----------------------------- | ------------------- |
189
+ | **Privacy** | Metadata stripped, anonymized | Your account linked |
190
+ | **Latency** | +10-50ms (proxy) | Direct |
191
+ | **Features** | Most features supported | Full features |
192
+ | **Billing** | Venice credits | Provider billing |
193
+
194
+ ## Usage Examples
195
+
196
+ ```bash
197
+ # Use default private model
198
+ milaidy chat --model venice/llama-3.3-70b
199
+
200
+ # Use Claude via Venice (anonymized)
201
+ milaidy chat --model venice/claude-opus-45
202
+
203
+ # Use uncensored model
204
+ milaidy chat --model venice/venice-uncensored
205
+
206
+ # Use vision model with image
207
+ milaidy chat --model venice/qwen3-vl-235b-a22b
208
+
209
+ # Use coding model
210
+ milaidy chat --model venice/qwen3-coder-480b-a35b-instruct
211
+ ```
212
+
213
+ ## Troubleshooting
214
+
215
+ ### API key not recognized
216
+
217
+ ```bash
218
+ echo $VENICE_API_KEY
219
+ milaidy models list | grep venice
220
+ ```
221
+
222
+ Ensure the key starts with `vapi_`.
223
+
224
+ ### Model not available
225
+
226
+ The Venice model catalog updates dynamically. Run `milaidy models list` to see currently available models. Some models may be temporarily offline.
227
+
228
+ ### Connection issues
229
+
230
+ Venice API is at `https://api.venice.ai/api/v1`. Ensure your network allows HTTPS connections.
231
+
232
+ ## Config file example
233
+
234
+ ```json5
235
+ {
236
+ env: { VENICE_API_KEY: "vapi_..." },
237
+ agents: { defaults: { model: { primary: "venice/llama-3.3-70b" } } },
238
+ models: {
239
+ mode: "merge",
240
+ providers: {
241
+ venice: {
242
+ baseUrl: "https://api.venice.ai/api/v1",
243
+ apiKey: "${VENICE_API_KEY}",
244
+ api: "openai-completions",
245
+ models: [
246
+ {
247
+ id: "llama-3.3-70b",
248
+ name: "Llama 3.3 70B",
249
+ reasoning: false,
250
+ input: ["text"],
251
+ cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
252
+ contextWindow: 131072,
253
+ maxTokens: 8192,
254
+ },
255
+ ],
256
+ },
257
+ },
258
+ },
259
+ }
260
+ ```
261
+
262
+ ## Links
263
+
264
+ - [Venice AI](https://venice.ai)
265
+ - [API Documentation](https://docs.venice.ai)
266
+ - [Pricing](https://venice.ai/pricing)
267
+ - [Status](https://status.venice.ai)
@@ -0,0 +1,50 @@
1
+ ---
2
+ title: "Vercel AI Gateway"
3
+ summary: "Vercel AI Gateway setup (auth + model selection)"
4
+ read_when:
5
+ - You want to use Vercel AI Gateway with Milaidy
6
+ - You need the API key env var or CLI auth choice
7
+ ---
8
+
9
+ # Vercel AI Gateway
10
+
11
+ The [Vercel AI Gateway](https://vercel.com/ai-gateway) provides a unified API to access hundreds of models through a single endpoint.
12
+
13
+ - Provider: `vercel-ai-gateway`
14
+ - Auth: `AI_GATEWAY_API_KEY`
15
+ - API: Anthropic Messages compatible
16
+
17
+ ## Quick start
18
+
19
+ 1. Set the API key (recommended: store it for the Gateway):
20
+
21
+ ```bash
22
+ milaidy onboard --auth-choice ai-gateway-api-key
23
+ ```
24
+
25
+ 2. Set a default model:
26
+
27
+ ```json5
28
+ {
29
+ agents: {
30
+ defaults: {
31
+ model: { primary: "vercel-ai-gateway/anthropic/claude-opus-4.5" },
32
+ },
33
+ },
34
+ }
35
+ ```
36
+
37
+ ## Non-interactive example
38
+
39
+ ```bash
40
+ milaidy onboard --non-interactive \
41
+ --mode local \
42
+ --auth-choice ai-gateway-api-key \
43
+ --ai-gateway-api-key "$AI_GATEWAY_API_KEY"
44
+ ```
45
+
46
+ ## Environment note
47
+
48
+ If the Gateway runs as a daemon (launchd/systemd), make sure `AI_GATEWAY_API_KEY`
49
+ is available to that process (for example, in `~/.milaidy/.env` or via
50
+ `env.shellEnv`).
@@ -0,0 +1,64 @@
1
+ ---
2
+ summary: "Use Xiaomi MiMo (mimo-v2-flash) with Milaidy"
3
+ read_when:
4
+ - You want Xiaomi MiMo models in Milaidy
5
+ - You need XIAOMI_API_KEY setup
6
+ title: "Xiaomi MiMo"
7
+ ---
8
+
9
+ # Xiaomi MiMo
10
+
11
+ Xiaomi MiMo is the API platform for **MiMo** models. It provides REST APIs compatible with
12
+ OpenAI and Anthropic formats and uses API keys for authentication. Create your API key in
13
+ the [Xiaomi MiMo console](https://platform.xiaomimimo.com/#/console/api-keys). Milaidy uses
14
+ the `xiaomi` provider with a Xiaomi MiMo API key.
15
+
16
+ ## Model overview
17
+
18
+ - **mimo-v2-flash**: 262144-token context window, Anthropic Messages API compatible.
19
+ - Base URL: `https://api.xiaomimimo.com/anthropic`
20
+ - Authorization: `Bearer $XIAOMI_API_KEY`
21
+
22
+ ## CLI setup
23
+
24
+ ```bash
25
+ milaidy onboard --auth-choice xiaomi-api-key
26
+ # or non-interactive
27
+ milaidy onboard --auth-choice xiaomi-api-key --xiaomi-api-key "$XIAOMI_API_KEY"
28
+ ```
29
+
30
+ ## Config snippet
31
+
32
+ ```json5
33
+ {
34
+ env: { XIAOMI_API_KEY: "your-key" },
35
+ agents: { defaults: { model: { primary: "xiaomi/mimo-v2-flash" } } },
36
+ models: {
37
+ mode: "merge",
38
+ providers: {
39
+ xiaomi: {
40
+ baseUrl: "https://api.xiaomimimo.com/anthropic",
41
+ api: "anthropic-messages",
42
+ apiKey: "XIAOMI_API_KEY",
43
+ models: [
44
+ {
45
+ id: "mimo-v2-flash",
46
+ name: "Xiaomi MiMo V2 Flash",
47
+ reasoning: false,
48
+ input: ["text"],
49
+ cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
50
+ contextWindow: 262144,
51
+ maxTokens: 8192,
52
+ },
53
+ ],
54
+ },
55
+ },
56
+ },
57
+ }
58
+ ```
59
+
60
+ ## Notes
61
+
62
+ - Model ref: `xiaomi/mimo-v2-flash`.
63
+ - The provider is injected automatically when `XIAOMI_API_KEY` is set (or an auth profile exists).
64
+ - See [/concepts/model-providers](/concepts/model-providers) for provider rules.
@@ -0,0 +1,36 @@
1
+ ---
2
+ summary: "Use Z.AI (GLM models) with Milaidy"
3
+ read_when:
4
+ - You want Z.AI / GLM models in Milaidy
5
+ - You need a simple ZAI_API_KEY setup
6
+ title: "Z.AI"
7
+ ---
8
+
9
+ # Z.AI
10
+
11
+ Z.AI is the API platform for **GLM** models. It provides REST APIs for GLM and uses API keys
12
+ for authentication. Create your API key in the Z.AI console. Milaidy uses the `zai` provider
13
+ with a Z.AI API key.
14
+
15
+ ## CLI setup
16
+
17
+ ```bash
18
+ milaidy onboard --auth-choice zai-api-key
19
+ # or non-interactive
20
+ milaidy onboard --zai-api-key "$ZAI_API_KEY"
21
+ ```
22
+
23
+ ## Config snippet
24
+
25
+ ```json5
26
+ {
27
+ env: { ZAI_API_KEY: "sk-..." },
28
+ agents: { defaults: { model: { primary: "zai/glm-4.7" } } },
29
+ }
30
+ ```
31
+
32
+ ## Notes
33
+
34
+ - GLM models are available as `zai/<model>` (example: `zai/glm-4.7`).
35
+ - See [/providers/glm](/providers/glm) for the model family overview.
36
+ - Z.AI uses Bearer auth with your API key.
@@ -0,0 +1,99 @@
1
+ ---
2
+ title: Deploy on Railway
3
+ ---
4
+
5
+ Deploy Milaidy on Railway with a one-click template and finish setup in your browser.
6
+ This is the easiest “no terminal on the server” path: Railway runs the Gateway for you,
7
+ and you configure everything via the `/setup` web wizard.
8
+
9
+ ## Quick checklist (new users)
10
+
11
+ 1. Click **Deploy on Railway** (below).
12
+ 2. Add a **Volume** mounted at `/data`.
13
+ 3. Set the required **Variables** (at least `SETUP_PASSWORD`).
14
+ 4. Enable **HTTP Proxy** on port `8080`.
15
+ 5. Open `https://<your-railway-domain>/setup` and finish the wizard.
16
+
17
+ ## One-click deploy
18
+
19
+ <a href="https://railway.com/deploy/milaidy-railway-template" target="_blank" rel="noreferrer">
20
+ Deploy on Railway
21
+ </a>
22
+
23
+ After deploy, find your public URL in **Railway → your service → Settings → Domains**.
24
+
25
+ Railway will either:
26
+
27
+ - give you a generated domain (often `https://<something>.up.railway.app`), or
28
+ - use your custom domain if you attached one.
29
+
30
+ Then open:
31
+
32
+ - `https://<your-railway-domain>/setup` — setup wizard (password protected)
33
+ - `https://<your-railway-domain>/milaidy` — Control UI
34
+
35
+ ## What you get
36
+
37
+ - Hosted Milaidy Gateway + Control UI
38
+ - Web setup wizard at `/setup` (no terminal commands)
39
+ - Persistent storage via Railway Volume (`/data`) so config/credentials/workspace survive redeploys
40
+ - Backup export at `/setup/export` to migrate off Railway later
41
+
42
+ ## Required Railway settings
43
+
44
+ ### Public Networking
45
+
46
+ Enable **HTTP Proxy** for the service.
47
+
48
+ - Port: `8080`
49
+
50
+ ### Volume (required)
51
+
52
+ Attach a volume mounted at:
53
+
54
+ - `/data`
55
+
56
+ ### Variables
57
+
58
+ Set these variables on the service:
59
+
60
+ - `SETUP_PASSWORD` (required)
61
+ - `PORT=8080` (required — must match the port in Public Networking)
62
+ - `MILAIDY_STATE_DIR=/data/.milaidy` (recommended)
63
+ - `MILAIDY_WORKSPACE_DIR=/data/workspace` (recommended)
64
+ - `MILAIDY_GATEWAY_TOKEN` (recommended; treat as an admin secret)
65
+
66
+ ## Setup flow
67
+
68
+ 1. Visit `https://<your-railway-domain>/setup` and enter your `SETUP_PASSWORD`.
69
+ 2. Choose a model/auth provider and paste your key.
70
+ 3. (Optional) Add Telegram/Discord/Slack tokens.
71
+ 4. Click **Run setup**.
72
+
73
+ If Telegram DMs are set to pairing, the setup wizard can approve the pairing code.
74
+
75
+ ## Getting chat tokens
76
+
77
+ ### Telegram bot token
78
+
79
+ 1. Message `@BotFather` in Telegram
80
+ 2. Run `/newbot`
81
+ 3. Copy the token (looks like `123456789:AA...`)
82
+ 4. Paste it into `/setup`
83
+
84
+ ### Discord bot token
85
+
86
+ 1. Go to https://discord.com/developers/applications
87
+ 2. **New Application** → choose a name
88
+ 3. **Bot** → **Add Bot**
89
+ 4. **Enable MESSAGE CONTENT INTENT** under Bot → Privileged Gateway Intents (required or the bot will crash on startup)
90
+ 5. Copy the **Bot Token** and paste into `/setup`
91
+ 6. Invite the bot to your server (OAuth2 URL Generator; scopes: `bot`, `applications.commands`)
92
+
93
+ ## Backups & migration
94
+
95
+ Download a backup at:
96
+
97
+ - `https://<your-railway-domain>/setup/export`
98
+
99
+ This exports your Milaidy state + workspace so you can migrate to another host without losing config or memory.
@@ -0,0 +1,9 @@
1
+ # Agent Guidelines
2
+
3
+ You are Milaidy, a helpful AI assistant. Follow user instructions carefully and provide clear, accurate responses.
4
+
5
+ ## Behavior
6
+
7
+ - Be helpful, concise, and accurate.
8
+ - When unsure, say so rather than guessing.
9
+ - Follow the user's preferred communication style.
@@ -0,0 +1,3 @@
1
+ # Bootstrap
2
+
3
+ Initial workspace setup complete. The agent is ready.
@@ -0,0 +1,3 @@
1
+ # Heartbeat
2
+
3
+ Periodic check-in template for the agent runtime.
@@ -0,0 +1,3 @@
1
+ # Identity
2
+
3
+ You are Milaidy, a personal AI assistant running on ElizaOS.
@@ -0,0 +1,3 @@
1
+ # Tools
2
+
3
+ Available tools are provided by the runtime plugins. Use them when appropriate to help the user.
@@ -0,0 +1,3 @@
1
+ # User
2
+
3
+ The user is the owner of this Milaidy instance.