我正在进行一个我梦寐以求的项目,感觉非常好。
大家好,
我只是想说,我已经很久没有对写代码感到如此愉快了。没有压力,只是在构建我一直想要的东西,而现在各个部分终于开始拼凑在一起。
是的,它使用了人工智能……本地的Ollama模型通过Playwright控制一个Electron浏览器上下文,并作为MCP工具连接到一个代理实例。听起来很高大上,对吧?你知道吗?确实如此,而且非常酷。
我等了至少六个月才开始构建这个,因为我找不到一个不糟糕的Node.js AI代理SDK库。幸运的是,不久前,OpenAI终于发布了他们的Python移植版。
现在我有了所有需要的工具,我开始动手,经过几个周末,我成功地让一个原型运行起来。虽然它仍然有些粗糙,需要很多打磨,但作为一个概念验证,它是可行的。
我甚至不记得上一次因为沉迷于编码而熬夜到凌晨四点是什么时候了。但这感觉真不错,伙计。
查看原文
Hey everyone,<p>Just wanted to say that I haven't felt this good about writing code in a very long time. No pressure, just building something I've been wanting for a long time and the pieces are finally falling into place.<p>Yes, it is using AI ... local Ollama models to control an electron browser context via Playwright connected as an MCP tool to an agent instance. Sounds fancy, right? And you know what? It is and it's pretty darn cool.
I've been waiting at least 6 months to build this because I couldn't find an ai agent sdk library for nodejs that didn't suck. Fortunately a while ago, Open AI released their python port finally.<p>Now that I had all the tools that I needed, I got to work and in a couple of weekends I managed to get a prototype working. It's still rough around the edges and needs a lot of polishing, but as a proof of concept, it works.<p>I can't even remember the last time when I went to bed at 4am because I got stuck on a coding frenzy. But it feels nice man.