展示 HN:Skales – 本地 AI 代理桌面应用程序 (.exe/.dmg,空闲时占用 300MB RAM)

2作者: marioskales28 天前原帖
嗨,HN, 我是来自维也纳的马里奥。我是我家指定的“IT专家”(他们打电话给我来插入Scart线或设置Chrome)。 几周前,我花了两个多小时与Docker(以及一些当时我不熟悉的终端命令)斗争,只是为了让一个基于命令行的AI代理运行。它占用了我所有的内存,我意识到:我的妻子、我的非技术客户,或者我六岁的儿子根本无法设置这个。如果我部署这样的东西,我将花费我的一生来提供设置支持(这不仅仅是找到遥控器上的HDMI 1到HDMI 2输入)。 在过去的两年里,我一直在与大型语言模型(LLMs)“嗨编程”,主要是构建常见的登陆页面或简单的复古游戏,以向我的儿子展示我们生活在一个疯狂的时代,你可以通过提示构建很多“有趣”的东西。我决定将我一个旧的、失败的Laravel SaaS(Skales)转型为一个本地桌面应用程序,以解决这个设置地狱。 我想要达到的唯一目标是:一个像普通应用程序一样安装的自主AI代理(.exe / .dmg)。不需要博士学位。下载、安装、完成。 这实际上成功了。我的60多岁的妈妈立刻就能运行它(那么…Skales现在是一个获得奶奶认可的AI代理吗?),而我的六岁儿子利用内置的编程技能制作了自己的复古游戏(我不会说这真的算是一个“游戏”,因为它基本上是超级马里奥的一个关卡复制品——但他喜欢它)。 它的功能包括: ReAct自动驾驶、双时态记忆、浏览器自动化(Playwright)和本地集成(Gmail、Telegram、日历)。 BYOK:支持OpenRouter、OpenAI、Anthropic或本地Ollama。 技术栈:Electron + Next.js + Node.js(我设法将空闲内存保持在约300MB左右)。 所有数据都存储在~/.skales-data中。 我知道,作为一个“设计师,嗨编程了一个Electron应用”的人(或者市场营销人员)对HN人群来说基本上是新鲜肉。欢迎对架构提出批评!但我的主要目标只是让这些令人难以置信的AI工具能够用于日常任务(格式化简历、发送PDF、构建简单游戏),而无需接触终端或在不同工具之间切换。 许可证说明:该项目采用BSL-1.1(源代码可用,个人使用免费)。我选择这个许可证只是因为我不想让一家大公司直接拿走这个代码库,围绕Skales建立品牌并进行商业转售,但我希望代码能够供社区使用和学习。 (请原谅我的英语——我不是母语者) 非常希望能听到你们对用户体验的诚实反馈(可能还可以更好?)! GitHub: [https://github.com/skalesapp/skales](https://github.com/skalesapp/skales) 网站: [https://skales.app](https://skales.app)
查看原文
Hey HN,<p>I&#x27;m Mario from Vienna. I’m the designated &quot;IT guy&quot; for my family (the guy they call to plug in a Scart cable or to setup Chrome).<p>A few weeks ago, I spent over two hours wrestling with Docker (and some for my at this time unknown Terminal commands) just to get a CLI-based AI agent running. It ate all my RAM, and I had a realization: my wife, my non-technical clients, or my 6-year-old son could never set this up. If I deployed something like this, I&#x27;d spend my life doing setup-support (and this isn&#x27;t just about finding the HDMI 1 to HDMI 2 input on the remote control).<p>I’ve been &quot;vibecoding&quot; with LLMs for a while the last 2 years, mostly building common landingpages or simple retro games to show my son that we live in a wild time where you can build a lot of &#x27;entertaining&#x27; stuff just by prompting. I decided to pivot an old, failed Laravel SaaS of mine (Skales) into a native desktop app to solve this setup hell.<p>The only goal I wanted to reach: an autonomous AI agent that installs like a normal app (.exe &#x2F; .dmg). No PhD required. Download, Install, Done.<p>It actually worked. My 60+ year old mom got it running instantly (so.. is Skales now a Grandma-Approved AI Agent?), and my 6yr used the built-in Coding Skill to make his own retro game (I wouldn&#x27;t say its really a &#x27;game&#x27; when it&#x27;s basically a one level copy of Super Mario - but he loves it).<p>What it does:<p>ReAct autopilot, bi-temporal memory, browser automation (Playwright), and native integrations (Gmail, Telegram, Calendar).<p>BYOK: Works with OpenRouter, OpenAI, Anthropic, or local Ollama.<p>Tech stack: Electron + Next.js + Node.js (I managed to keep idle RAM around ~300MB).<p>Everything is stored locally in ~&#x2F;.skales-data.<p>I know that being a &quot;design guy who vibecoded an Electron app&quot; (or Marketing-Dude) is basically fresh meat for the HN crowd. Feel free to roast the architecture! But my main goal was just making these incredible AI tools accessible for everyday tasks (formatting resumes, sending PDFs, building simple games) without touching a terminal or moving from one tool to another tool.<p>License note: The project is BSL-1.1 (Source-available, free for personal use). I chose this simply because I don&#x27;t want a giant company to just take the repo, build their brand around Skales and commercially resell it, but I want the code out there for the community to use and learn from.<p>(excuse my English - i&#x27;m not a native speaker)<p>Would love your honest feedback on the UX (could be maybe better?)!<p>GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;skalesapp&#x2F;skales" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;skalesapp&#x2F;skales</a> Website: <a href="https:&#x2F;&#x2F;skales.app" rel="nofollow">https:&#x2F;&#x2F;skales.app</a>