TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Coworker – An Open Source AI assistant for your company Slack

3 点作者 razcle超过 1 年前
Hi HN,<p>We’re Raza and Jordan, the founders of Humanloop. At our company hackathon, we built an initial prototype for an extensible AI assistant that lives in Slack.<p>ChatGPT is incredibly useful. But it’s also very limited. It doesn’t have the context of your work or your company. It can’t take actions beyond sending you messages in text. It has no memory.<p>That’s why we built Coworker. Coworker is a GPT-4 powered assistant that lives in Slack. It&#x27;s not like normal AI assistants though. Instead of being a chatbot, it sits in the background and reads each message in context. Then, it if thinks it can help it sends the user a message, gets approvals and then takes action.<p>To make Coworker, we made heavy use of GPT-4‘s function calling. There’s a central decision-making agent that reads every message and takes action by outputting a “function call”. This is a JSON object that specifics what the agent wants to do — whether that’s messaging the user or making an API call. After the agent asks to do an action, we get a confirmation from the user and then execute the API call.<p>A crucial part of a good coworker is that you can teach them to do new things. We&#x27;ve made it easy for you extend the capability of Coworker, all you have to do is write a Python function with a good docstring and save it to the “tools” folder. Over time, your team can add more and more capabilities that seem relevant.<p>We chose to do this in Slack because it&#x27;s an incredible repository of company information. The AI can understand the context of your work. It’s also a place where important information gets shared but also lost. Coworker can really help with this. For example, if someone in your company mentions a bug in Slack, Coworker will offer to create a Linear ticket.<p>We built Coworker in Python using OpenAI GPT-4, Humanloop and the Slack API. To deploy the bot we used Railway.app. This is the result of a 24-hour hackathon but we really hope to keep working on it and make it something genuinely useful both to us at Humanloop and to the wider community. Our GitHub repo contains ideas for extending it.<p>Would love your feedback, ideas and contributions!<p>Warm wishes,<p>Raza and Jordan

1 comment

jordn超过 1 年前
Principles for coworker:<p>Context Aware - Unlike other AI chatbots, it should have knowledge of your context. The conversation your having, the background goals at your company etc.<p>Extensible - It should be extremely easy for a developer to add a new capability to the coworker that&#x27;s relevant for their company.<p>Human in the loop - We want to give Coworker really powerful capabilities. To do that in a way that maintains trust, it should be transparent to a user what the AI is doing and always get approval for its actions.