kagent

kagent

Cloud Native Agentic AI | Discord: https://bit.ly/kagentdiscord

Stars: 1492

Visit
 screenshot

Kagent is a Kubernetes native framework for building AI agents, designed to be easy to understand and use. It provides a flexible and powerful way to build, deploy, and manage AI agents in Kubernetes. The framework consists of agents, tools, and model configurations defined as Kubernetes custom resources, making them easy to manage and modify. Kagent is extensible, flexible, observable, declarative, testable, and has core components like a controller, UI, engine, and CLI.

README:

kagent
Release Build Status License: Apache 2.0 Stars Discord Ask DeepWiki Open in Github Codespaces

kagent is a Kubernetes native framework for building AI agents. Kubernetes is the most popular orchestration platform for running workloads, and kagent makes it easy to build, deploy and manage AI agents in Kubernetes. The kagent framework is designed to be easy to understand and use, and to provide a flexible and powerful way to build and manage AI agents.

Autogen Framework

Get started

Documentation

The kagent documentation is available at kagent.dev/docs.

Core Concepts

  • Agents: Agents are the main building block of kagent. They are a system prompt, a set of tools and agents, and an LLM configuration represented with a Kubernetes custom resource called "Agent".
  • LLM Providers: Kagent supports multiple LLM providers, including OpenAI, Azure OpenAI, Anthropic, Google Vertex AI, Ollama and any other custom providers and models accessible via AI gateways. Providers are represented by the ModelConfig resource.
  • MCP Tools: Agents can connect to any MCP server that provides tools. Kagent comes with an MCP server with tools for Kubernetes, Istio, Helm, Argo, Prometheus, Grafana, Cilium, and others. All tools are Kubernetes custom resources (ToolServers) and can be used by multiple agents.
  • Memory: Using the memory, your agents can always have access to the latest and most up-to-date information.
  • Observability: Kagent supports OpenTelemetry tracing, which allows you to monitor what's happening with your agents and tools.

Core Principles

  • Kubernetes Native: Kagent is designed to be easy to understand and use, and to provide a flexible and powerful way to build and manage AI agents.
  • Extensible: Kagent is designed to be extensible, so you can add your own agents and tools.
  • Flexible: Kagent is designed to be flexible, to suit any AI agent use case.
  • Observable: Kagent is designed to be observable, so you can monitor the agents and tools using all common monitoring frameworks.
  • Declarative: Kagent is designed to be declarative, so you can define the agents and tools in a YAML file.
  • Testable: Kagent is designed to be tested and debugged easily. This is especially important for AI agent applications.

Architecture

The kagent framework is designed to be easy to understand and use, and to provide a flexible and powerful way to build and manage AI agents.

kagent

Kagent has 4 core components:

  • Controller: The controller is a Kubernetes controller that watches the kagent custom resources and creates the necessary resources to run the agents.
  • UI: The UI is a web UI that allows you to manage the agents and tools.
  • Engine: The engine runs your agents using ADK.
  • CLI: The CLI is a command-line tool that allows you to manage the agents and tools.

Roadmap

kagent is currently in active development. You can check out the full roadmap in the project Kanban board here.

Local development

For instructions on how to run everything locally, see the DEVELOPMENT.md file.

Contributing

For instructions on how to contribute to the kagent project, see the CONTRIBUTION.md file.

Contributors

Thanks to all contributors who are helping to make kagent better.

Star History

Star history of kagent-dev/kagent over time

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for kagent

Similar Open Source Tools

For similar tasks

For similar jobs