1作者: f-trycua10 个月前原帖
Hey HN! We&#x27;ve just open-sourced Agent, our framework for running computer-use workflows across multiple apps in isolated macOS&#x2F;Linux sandboxes.<p>After launching Computer a few weeks ago, we realized many of you wanted to run complex workflows that span multiple applications. Agent builds on Computer to make this possible. It works with local Ollama models (if you&#x27;re privacy-minded) or cloud providers like OpenAI, Anthropic, and others.<p>Why we built this:<p>We kept hitting the same problems when building multi-app AI agents - they&#x27;d break in unpredictable ways, work inconsistently across environments, or just fail with complex workflows. So we built Agent to solve these headaches:<p>• It handles complex workflows across multiple apps without falling apart • You can use your preferred model (local or cloud) - we&#x27;re not locking you into one provider • You can swap between different agent loop implementations depending on what you&#x27;re building • You get clean, structured responses that work well with other tools<p>The code is pretty straightforward:<p>async with Computer() as macos_computer: agent = ComputerAgent( computer=macos_computer, loop=AgentLoop.OPENAI, model=LLM(provider=LLMProvider.OPENAI) )<p><pre><code> tasks = [ &quot;Look for a repository named trycua&#x2F;cua on GitHub.&quot;, &quot;Check the open issues, open the most recent one and read it.&quot;, &quot;Clone the repository if it doesn&#x27;t exist yet.&quot; ] for i, task in enumerate(tasks): print(f&quot;\nTask {i+1}&#x2F;{len(tasks)}: {task}&quot;) async for result in agent.run(task): print(result) print(f&quot;\nFinished task {i+1}!&quot;) </code></pre> Some cool things you can do with it:<p>• Mix and match agent loops - OpenAI for some tasks, Claude for others, or try our experimental OmniParser • Run it with various models - works great with OpenAI&#x27;s computer_use_preview, but also with Claude and others • Get detailed logs of what your agent is thinking&#x2F;doing (super helpful for debugging) • All the sandboxing from Computer means your main system stays protected<p>Getting started is easy:<p>pip install &quot;cua-agent[all]&quot;<p># Or if you only need specific providers: pip install &quot;cua-agent[openai]&quot; # Just OpenAI pip install &quot;cua-agent[anthropic]&quot; # Just Anthropic pip install &quot;cua-agent[omni]&quot; # Our experimental OmniParser<p>We&#x27;ve been dogfooding this internally for weeks now, and it&#x27;s been a game-changer for automating our workflows. Grab the code at <a href="https:&#x2F;&#x2F;github.com&#x2F;trycua&#x2F;cua" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;trycua&#x2F;cua</a>, or join us on Discord if you have questions: <a href="https:&#x2F;&#x2F;discord.com&#x2F;invite&#x2F;mVnXXpdE85" rel="nofollow">https:&#x2F;&#x2F;discord.com&#x2F;invite&#x2F;mVnXXpdE85</a><p>What are you planning to automate? I&#x27;m especially curious about complex workflows that span multiple apps - those are the hardest to get right and where we&#x27;ve seen Agent really shine. Would love to hear your thoughts!
2作者: Turboblack10 个月前原帖
IRC<p>chat.farted.net&#x2F;6667<p>哈哈 - 它可以工作!
2作者: lenjee10 个月前原帖
嘿,HN!<p>将用户的反馈转化为产品成功。<p>这句话我经常听到,但没人真正知道这是什么意思。<p>所以我刚刚启动了 Feedback Hunter,旨在帮助每位 SaaS 业主应对这个艰巨的任务。<p>希望你们喜欢,如果能给我一些反馈,我会非常感激,大家 :)