Skip to content

[FEATURE] Allow agents to run independently without kagent controller runtime communication #1089

@ma-tie

Description

@ma-tie

📋 Prerequisites

📝 Feature Summary

Implement a fully decoupled deployment mode where the running Multi-Agent System (MAS) is isolated from all Kagent infrastructure components, removing all potential scaling bottlenecks.

❓ Problem Statement / Motivation

Problem

When deploying and scale-testing agents with Kagent, the kagent-controller becomes a scalability bottleneck that limits the agent system's capacity.

For example, the kagent-controller logs all agent activities (tasks, events, sessions) to its database by default, with no disable option:

  • go/internal/httpserver/handlers/tasks.go:56 - Task persistence

  • go/internal/httpserver/handlers/sessions.go:145,385 - Session & event persistence:

What's worse is, the default storage is only 500 MiB in-memory, causing disk exhaustion during load tests:

  • helm/kagent/templates/controller-deployment.yaml:32

And I am not sure if it is the only connection between kagent-controller and the agents I deployed.

Why This is Problematic

Agent system scalability should not be constrained by Kagent's central components. The controller becomes a single point of failure for:

  • High-concurrency scenarios
  • Long-running deployments

Proposed Feature

Is it possible to deploy a Multi-Agent System where Kagent is utilized for setup, but the Kagent components are disconnected from the agent system during operation, thus eliminating this specific bottleneck? In other words, after containerized deployment, the agent system should be fully decoupled from KAgent infrastructure

💡 Proposed Solution

Support a decoupled/standalone deployment mode: After containerized deployment, agents operate independently without runtime kagent communication

🔄 Alternatives Considered

No response

🎯 Affected Service(s)

Multiple services / System-wide

📚 Additional Context

No response

🙋 Are you willing to contribute?

  • I am willing to submit a PR for this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions