Skip to content
This documentation covers kagent while it is in development and can describe unreleased features. For the current release, see the latest docs.

Deploy an agent

Page as Markdown

Deploy your first agent on the installation that you just set up, from the kagent UI or as Kubernetes resources.

Deploy an agent

Deploy your first agent on the installation that you just set up, from the kagent UI or as Kubernetes resources.

With kagent installed, deploy your first agent. Both paths create a working agent and a conversation with it. Choose how you work: kagent UI to create it from a form in the dashboard, or YAML to apply it as Kubernetes resources and talk to it with the CLI.

Before you begin

  1. Install kagent.

Open the kagent UI

kagent dashboard

The command forwards the UI to http://localhost:8082 and opens it in your browser. Leave it running while you work.

Create a personal assistant

The kagent UI creating an agent named personal-assistant with an inline template, then opening its chat page
Figure: Creating the personal-assistant agent in the UI, sped up
  1. In the sidebar, click Agents, and then click New Agent.

  2. In the Name field, enter personal-assistant. Leave the Namespace as kagent.

  3. In the Harness section, leave Shared harness set to kagent-default.

  4. In the Template section, select Inline. An inline template belongs to this agent only, which is the shortest path to a working agent.

  5. Fill in the template.

    FieldValue
    Model configurationkagent/default-model-config, the model that the installation set up from your API key.
    DescriptionMy personal assistant
    System promptYou are my personal assistant. Be friendly and concise. Help me plan my day, draft messages, and answer questions.

    Leave the other fields as they are. You add tools in Add an MCP server.

  6. Click Create agent. The UI returns to the Agents list, where the agent shows the Preparing status while kagent builds a snapshot of its runtime.

  7. Click Refresh until the status changes to Ready. This step usually takes less than a minute.

  8. Click the agent name, personal-assistant, to open its chat page. Enter a message, such as What can you help me with?, and click Send. Each chat that you start is a Session with the agent.

Next steps

For more use cases and tutorials, see Guides and Tutorials.