Skip to content

[FEATURE] Improving Local Development Workflow for BYO AgentsΒ #1259

@IfElseRun

Description

@IfElseRun

πŸ“‹ Prerequisites

πŸ“ Feature Summary

Improving Local Development Workflow for BYO Agents

❓ Problem Statement / Motivation

⚠️ _Note: I’m not 100% certain this is the exact limitation

Hi kagent team,

I’m exploring ways to improve the local development workflow for BYO agents and custom MCP tools. Specifically, I’d like developers to:

  1. Run their agent/tool locally
  2. Interact with real cluster services and APIs

From what I understand, local development today may not fully allow realistic cluster testing, but I’m not 100% sure about all edge cases. I’d appreciate any guidance or corrections.

Do you have recommended patterns or best practices for this kind of workflow?
Is there a standard way in the kagent ecosystem to β€œmirror” or proxy the cluster environment for local development?

Thanks in advance!

πŸ’‘ Proposed Solution

Introduce a developer workflow that allows BYO agents and custom MCP tools to run locally while safely interacting with a remote kagent cluster. This workflow would:

  1. Proxy or mirror the cluster environment to local development, including access to:
    • Internal services
    • Environment variables
    • Secrets
    • Kubernetes APIs
  2. Avoid the need for full container rebuilds and redeploys for every code change.
  3. Allow debugging and iterative development directly in a local IDE.
  4. Provide example configurations and scripts to make setup simple and repeatable.

This approach would speed up developmen. for anyone extending kagent with BYO agents or tools.

πŸ”„ Alternatives Considered

My assumption is that, as of now, developers building BYO agents typically either: Mock services and APIs locally or Minikube or kind to simulate the environment.

🎯 Affected Service(s)

None

πŸ“š 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