TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: AgentKit – JavaScript Alternative to OpenAI Agents SDK with Native MCP

64 pointsby tonyhbabout 2 months ago
Hi HN! I’m Tony, co-founder of Inngest. I wanted to share AgentKit, our Typescript multi-agent library we’ve been cooking and testing with some early users in prod for months.<p>Although OpenAI’s Agents SDK has been launched since, we think an Agent framework should offer more deterministic and flexible routing, work with multiple model providers, embrace MCP (for rich tooling), and support the unstoppable and growing community of TypeScript AI developers by enabling a smooth transition to production use cases.<p>This is why we are building AgentKit, and we’re really excited about it for a few reasons:<p>Firstly, it’s simple. We embrace KISS principles brought by Anthropic and HuggingFace by allowing you to gradually add autonomy to your AgentKit program using primitives:<p>- Agents: LLM calls that can be combined with prompts, tools, and MCP native support.<p>- Networks: a simple way to get Agents to collaborate with a shared State, including handoff.<p>- State: combines conversation history with a fully typed state machine, used in routing.<p>- Routers: where the autonomy lives, from code-based to LLM-based (ex: ReAct) orchestration<p>The routers are where the magic happens, and allow you to build deterministic, reliable, testable agents.<p>AgentKit routing works as follows: the network calls itself in a loop, inspecting the State to determine which agents to call next using a router. The returned agent runs, then optionally updates state data using its tools. On the next loop, the network inspects state data and conversation history, and determines which new agent to run.<p>This fully typed state machine routing allows you to deterministically build agents using any of the effective agent patterns — which means your code is easy to read, edit, understand, and debug.<p>This also makes handoff incredibly easy: you define when agents should hand off to each other using regular code and state (or by calling an LLM in the router for AI-based routing). This is similar to the OpenAI Agents SDK but easier to manage, plan, and build.<p>Then comes the local development and moving to production capabilities.<p>AgentKit is compatible with Inngest’s tooling, meaning that you can test agents using Inngest’s local DevServer, which provides traces, inputs, outputs, replay, tool, and MCP inputs and outputs, and (soon) a step-over debugger so that you can easily understand and visually see what&#x27;s happening in the agent loop.<p>In production, you can also optionally combine AgentKit with Inngest for fault-tolerant execution. Each agent’s LLM call is wrapped in a step, and tools can use multiple steps to incorporate things like human-in-the-loop. This gives you native orchestration, observability, and out-of-the-box scale.<p>You will find the documentation as an example of an AgentKit SWE-bench and multiple Coding Agent examples.<p>It’s fully open-source under the Apache 2 license.<p>If you want to get started:<p>- npm: npm i @inngest&#x2F;agent-kit<p>- GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;inngest&#x2F;agent-kit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;inngest&#x2F;agent-kit</a><p>- Docs: <a href="https:&#x2F;&#x2F;agentkit.inngest.com&#x2F;overview" rel="nofollow">https:&#x2F;&#x2F;agentkit.inngest.com&#x2F;overview</a><p>We’re excited to finally launch AgentKit; let us know what you think!

9 comments

alexriglerabout 2 months ago
AgentKit and Inngest are awesome. Thank you @tonyhb and the Inngest team for building such an amazing DX.<p>I&#x27;ve been testing Inngest realtime with AgentKit and it&#x27;s an awesome combo already despite being a few weeks old.<p>I highly recommend the Inngest demo checking out their SWE bench example and the E2B example (<a href="https:&#x2F;&#x2F;github.com&#x2F;inngest&#x2F;agent-kit&#x2F;tree&#x2F;main&#x2F;examples&#x2F;e2b-coding-agent" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;inngest&#x2F;agent-kit&#x2F;tree&#x2F;main&#x2F;examples&#x2F;e2b-...</a>) to build a network of coding agents. I&#x27;ve also got this working with Daytona sandboxes.<p>Some feedback: - Would love an llms.txt for your docs like <a href="https:&#x2F;&#x2F;developers.cloudflare.com&#x2F;agents&#x2F;llms-full.txt" rel="nofollow">https:&#x2F;&#x2F;developers.cloudflare.com&#x2F;agents&#x2F;llms-full.txt</a> - clear way of accessing realtime publishing from within AgentKit.
评论 #43428795 未加载
wallysburgabout 2 months ago
I&#x27;ve been using Agentkit + Inngest to build out an agentic customer support network for the past week and the experience so far has been wonderful.<p>I&#x27;ve been evaluating n8n and Mastra.ai at the same time to determine the best platform for my use-cases and Agentkit + Inngest has been the clear winner IMO.<p>The fact that Agentkit is able to leverage Inngest&#x27;s durable workflow execution engine is awesome as it makes the interaction with the agentic network waaaayy more reliable.
arthbermanabout 2 months ago
How&#x27;s the performance compared to LangGraph? I&#x27;m working on a project that needs to handle high throughput agent interactions.
评论 #43427471 未加载
评论 #43426914 未加载
stugreen13about 2 months ago
Great stuff. Would be neat to have an adapter make the output stream match the ai-sdk format so it plugs in to existing UX (<a href="https:&#x2F;&#x2F;sdk.vercel.ai&#x2F;docs&#x2F;ai-sdk-ui&#x2F;stream-protocol" rel="nofollow">https:&#x2F;&#x2F;sdk.vercel.ai&#x2F;docs&#x2F;ai-sdk-ui&#x2F;stream-protocol</a>)
dot_louisabout 2 months ago
Interesting, have you considered adding benchmarks comparing AgentKit to other frameworks? Would help teams evaluating options
评论 #43427947 未加载
bluelightning2kabout 2 months ago
This looks really good. I&#x27;m going to take a detailed look at this for sure. Thanks!
pkivabout 2 months ago
Really love the decoupling of the logic and the runtime for the actual tool calls.
swanYCabout 2 months ago
That is great! How does debugging work with the local DevServer?
评论 #43428826 未加载
saihajabout 2 months ago
good stuff