For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Build a personal AI assistant
Build an assistant in the kagent UI that knows how you like to work, can check the weather, and sends you a plan for the day every morning.
Build an assistant of your own from start to finish in the kagent UI. You give it a personality, a weather tool so that it can do more than talk, and a morning routine that runs without you asking.
By the end, you have one agent, personal-assistant, that answers in your style, looks up the weather, and leaves a plan for your day in a conversation every morning.
Before you begin
- Install kagent.
- Open the kagent UI with
kagent dashboard. - Make sure that your cluster can reach the internet. The weather tool is a public server.
Create the assistant
Start with who the assistant is. Its system prompt is where you describe how it should behave.

In the sidebar, click Agents, and then click New Agent.
In the Name field, enter
personal-assistant. Leave the Namespace askagent, and leave Shared harness set tokagent-default.In the Template section, select Inline, and fill in the template.
Field Value Model configuration kagent/default-model-configDescription My personal assistantSystem prompt You are my personal assistant. Be friendly and concise. Help me plan my day, draft messages, and answer questions.Make the prompt your own. Tell the assistant what you do, how long its answers should be, and anything that it should always or never do.
Click Create agent, and then click Refresh until the status changes from Preparing to Ready.
Click the agent name to open its chat page, and say hello. Ask it to draft a message or to plan a task.
Give it the weather
An assistant that can only talk cannot tell you whether to take an umbrella. Tools come from Model Context Protocol (MCP) servers, so register a weather server, and then hand its tool to the assistant.

In the sidebar, click MCP Servers, and then click New Server.
Fill in the form, and then click Create server.
Field Value Name weatherServer URL mcp-weather-1cyg.onrender.com/mcpTLS HTTPS Click Refresh until the
weatherserver shows1in the Tools column. Expand the row to see the tool,get_weather.In the sidebar, click Agents. In the row of the
personal-assistantagent, click the edit icon.Under Tools from MCP servers, click Add an MCP server, and choose
kagent/weather.Click Save agent, and wait until the agent returns to Ready.
Open a New chat with the assistant, and ask
What is the weather in Toronto right now?
Note
The weather server is a public demonstration server that the kagent project does not run. It can be slow to answer its first request, and it can change or go away.
Give it a morning routine
The assistant now answers when you ask. A schedule makes it start the conversation: every morning, it writes a plan for your day.

In the sidebar, click Schedules, and then click New Schedule.
From the Agent list, choose
kagent/personal-assistant, and entermorning-briefin the Name field.Set Time zone to your own, leave Repeat set to Daily, and set At time to when you start your day.
In the Prompt field, enter what you want every morning, such as the following.
Give me a short plan for today: three priorities and one reminder to take a break. Include the weather in Toronto.Leave Enable Schedule on, and click Create schedule.
To see a brief now, click Run on the page of the schedule. Each run appears in the Execution history table, with a link to its conversation.
Where to take it next
Your assistant is one agent with a prompt, a tool, and a schedule. Each of these makes it more capable.
| Idea | How |
|---|---|
| Let it search documentation | Register a second MCP server, such as search.solo.io/mcp, and add it to the assistant. |
| Make it ask before it acts | Turn on approval for a tool, as in Human in the loop. |
| Share its voice with other agents | Keep its tone and rules in a prompt library. |
| Run it on another model | Add a model, and choose it in the assistant’s edit form. |
YAML version
Everything that you did in the UI, apart from the schedule, is stored as Kubernetes resources. To create the same resources from the command line, or to keep them in a Git repository, apply this YAML.
The weather MCP server
kubectl apply -f - <<EOF
apiVersion: api.kagent.dev/v1alpha3
kind: RemoteMCPServer
metadata:
name: weather
namespace: kagent
spec:
protocol: STREAMABLE_HTTP
url: https://mcp-weather-1cyg.onrender.com/mcp
timeout: 5s
terminateOnClose: true
EOFThe personal-assistant agent, with the weather tool
kubectl apply -f - <<EOF
apiVersion: api.kagent.dev/v1alpha3
kind: Agent
metadata:
name: personal-assistant
namespace: kagent
spec:
harnessRef:
name: kagent-default
template:
inline:
description: My personal assistant
modelConfig:
name: default-model-config
systemPrompt: |-
You are my personal assistant. Be friendly and concise. Help me plan my day, draft messages, and answer questions.
tools:
- mcp:
server:
kind: RemoteMCPServer
name: weather
EOFA schedule is not a Kubernetes resource, so it has no YAML. To create one without the UI, use the API, as described in Scheduled runs.