agent-kit

agent-kit

AgentKit is a framework for creating and orchestrating AI Agents, from single model inference calls to multi-agent systems which use tools.

Stars: 67

Visit
 screenshot

AgentKit is a framework for creating and orchestrating AI Agents, enabling developers to build, test, and deploy reliable AI applications at scale. It allows for creating networked agents with separate tasks and instructions to solve specific tasks, as well as simple agents for tasks like writing content. The framework requires the Inngest TypeScript SDK as a dependency and provides documentation on agents, tools, network, state, and routing. Example projects showcase AgentKit in action, such as the Test Writing Network demo using Workflow Kit, Supabase, and OpenAI.

README:

AgentKit by Inngest

Documentation  ·  Blog  ·  Community

AgentKit

AgentKit is a framework for creating and orchestrating AI Agents, from single model inference calls to multi-agent systems that use tools. Designed with orchestration at it’s core, AgentKit enables developers to build, test, and deploy reliable AI applications at scale.

Overview

A networked agent:

// Create a network of agents with separate tasks and instructions
// to solve a specific task.
const network = createNetwork({
  agents: [navigator, classifier, summarizer],
  defaultModel: openai({ model: "gpt-4o", step }),
});

const input = `Classify then summarize the latest 10 blog posts
  on https://www.deeplearning.ai/blog/`;

const result = await network.run(input, ({ network }) => {
  // Use an agent which figures out the specific agent to call
  // based off of the network's history.
  return defaultRoutingAgent;
});

A simple agent:

const writer = createAgent({
  name: "writer",
  system:
    "You are an expert writer.  You write readable, concise, simple content.",
  model: openai({ model: "gpt-4o", step }),
});

const { output } = await writer.run(
  "Describe the ideas behind the given input into clear topics, and explain any insight: " +
    `<content>${content}</content>`,
);

Installation

Agent kit requires the Inngest TypeScript SDK as a dependency. You can install both via npm or similar:

npm install @inngest/agent-kit inngest

Documentation

The full Agent kit documentation is available here. You can also jump to specific guides and references:

Examples

See Agent kit in action in fully functioning example projects:

  • Test Writing Network - A ready-to-deploy Next.js demo using the Workflow Kit, Supabase, and OpenAI to power some AI content workflows.

License

Apache 2.0

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for agent-kit

Similar Open Source Tools

For similar tasks

For similar jobs