Repository navigation
Conversation
Landing page (kagent latest and main) - Hero banner with an HTML dashboard illustration and a faint kagent mark - Install / Tutorials / Documentation buttons, "What is Kagent?" with a kagent + Agent Substrate diagram, and Get Started cards - /docs/ now redirects to /docs/kagent/latest/ Navigation - Product sub-navigation bar under the navbar: Install, Tutorials, Documentation, KMCP, Reference, CLI - Sidebar home link; Install and "Intro to Kagent" (was About) lead the tree - Navbar "Docs" is a plain link instead of a section dropdown; Tools and Agents removed from the docs navbar; navbar spans the full window width Install - New Install page: Before you begin (tools, Local Kind / Kubernetes tabs, provider tabs for the API key), Install with CLI as numbered steps, and Next steps. Provider tabs stay in sync between the key and the command. - New "Install with Helm" page - Both pages pull their steps from the full install guide through a new include-section shortcode, so the text has one source - Recording of a CLI install on kind, shown only for the kind option - The 1.0.x install guide now matches main (the 1.0.1 CLI flow) Versions - kagent 1.0.x pinned to 1.0.1; Agent Substrate stays at 1.0.0 - 1.0.1 release notes Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Docs preview
Both are uploaded Worker versions and serve no production traffic. |
Tutorials (kagent latest and main), all built in the kagent UI and recorded on a kind cluster running kagent 1.0.1: - Build an Agent: a personal assistant from one form, then a shared template - Add an MCP server: register a weather server and bind its tool - Add a model, Create a prompt library, Allow an agent to reach a host (egress policy), Schedule an agent - "Get started" is now "Tutorials"; the YAML tutorials stay, after these Install - Install page is CLI only; Install with Helm is its own page - Before you begin: tools first, Local Kind / Kubernetes tabs, provider tabs that stay in sync with the install command - CLI section as numbered steps with the install recording (kind only) and the dashboard image - Expandable note on the sudo prompt and an older kagent on the PATH - Install recording redone: the earlier one ran the install with a stale 1.0.0-rc3 CLI. This one installs the kagent 1.0.1 chart. Navigation - Product sub-navigation bar stays pinned under the navbar - "Before you begin" listed under Install in the sidebar Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
- Tutorials landing page: banner plus a numbered "personal assistant path" of the five UI tutorials, each with a still from its recording, then the two YAML tutorials - Tutorials moves up to sit after Install in the sidebar - "Add a model" leaves the tutorial path and becomes "Add a model in the UI" under Configure model providers - Rename the include-section shortcode to embed-section. The framework's content check flags any angle-bracket shortcode whose name starts with "include", so the old name failed "Static + content checks". - Install note is now a one-line expandable section Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
It returns to Tutorials under a new "More use cases" section, framed around running an agent on a second provider beside the default model. It no longer belongs to the personal assistant path and no longer edits that agent. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Tutorials landing now leads with four projects, each built from start to finish in the kagent UI and recorded on kagent 1.0.1: 1. Build a personal assistant: the five-step path, on its own page 2. Build a K8s SRE: read-only Kubernetes tools, plus tools that require approval before they run 3. Build a sandbox coding agent: guest image, a Python SandboxTemplate, and an agent with the sandbox tools 4. Build a scheduled agent: a cluster health report on a daily schedule The single-task tutorials (Build an Agent, Add an MCP server, Create a prompt library, Allow an agent to reach a host, Schedule an agent, Add a model) follow as a card grid, then the YAML tutorials. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The four projects are independent, so the Tutorials landing page now shows them as picture tiles in a two-column grid instead of a numbered path. The numbered path stays on the personal assistant page, where order matters. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The Install and Install with Helm pages now open with the same banner as Tutorials, with the kagent mark as background art in place of the stripes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Short command-line tutorials condensed from the Skills example: build the release-notes skill, publish it as an image, attach it to an agent on the kagent-default harness, then bundle it as a plugin. The UI has no page for skills or plugins, so only the final chat step uses it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Each tutorial now opens with the same banner as the Tutorials landing page, showing the page's own title and description. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
- New project: an agent that reads the CISA Known Exploited Vulnerabilities catalog with the built-in bash tool, behind an egress policy for www.cisa.gov, with an optional daily schedule. Built and recorded in the kagent 1.0.1 UI. - Project tiles on the Tutorials landing page are smaller, three to a row. - Single-task tutorial cards have icons. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
An assistant with no tool that calls GitHub has no use for a GitHub policy. The path is now four steps. "Create a policy" stays as a standalone tutorial. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Eight small two-tone purple illustrations, one per single-task tutorial, in place of the theme's line icons. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The section landing page gets the banner with the kagent mark and a link to "What is kagent?". Its ten child pages get the banner with their own title and description. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Adds the Agent Substrate project logo (logo/ate-logo.svg from github.com/agent-substrate/substrate, Apache-2.0) as a docs asset. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
- "Set up a sandbox template": guest image, template, and a Sandbox run from the CLI. Run for real on kagent 1.0.1, with a terminal recording. - "Human in the loop": turn on Require approval for a tool in the UI, then approve or reject a call in the chat. - Every UI tutorial and project now ends with a "YAML version" section: the same resources as collapsed kubectl apply blocks. All 14 blocks pass a server-side dry run against kagent 1.0.1. - Schedules are not Kubernetes resources, so those tutorials say so and point to the API. This also corrects two card subtitles that claimed a schedule could be defined in YAML. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
… own It no longer sends the reader through the single-task tutorials. The page now walks through the whole build: create the assistant, give it the weather tool, give it a morning schedule, then ideas for what to add, and the YAML. The single-task tutorials are unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Install with Helm is now a short page: the CLI creates the six Helm releases, then you manage them with Helm (list, read values, upgrade with --reuse-values). The chart-by-chart production procedure stays in the full install guide, which the page links to step by step, along with the Helm reference. The page no longer embeds the long procedure. The docs home Get Started section lists the five projects and three single-task tutorials, with a card for all tutorials. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Build an Agent now leads the Tutorials sidebar, right after the Get Started link, and is the first card in the docs home Get Started section. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
A weight of 0 means unset in Hugo, which sorted the page last. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
- The page is now "Advanced Install": customizing the CLI installation, and the chart-by-chart Helm procedure. Its "Install with CLI" section is gone. - The CLI steps live on the Install page itself, instead of being pulled in from the guide. The embed-section shortcode that did that is removed. - Links that sent readers to the guide to install kagent now go to the Install page (42 files, including two shared snippets). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The page no longer uses the kagent CLI. It installs the six charts with Helm and kubectl in five steps, on a development PostgreSQL database that runs in the cluster, and points to Advanced Install for production. The commands were run end to end on a new kind cluster. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The kagent logo was inlined as a nested <svg>. The minifier took its closing tag as the end of the diagram and wrote the rest as HTML, so everything below the kagent box disappeared on deployed builds. Inline only the logo's paths. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Brings in the worker fix for cached /docs files (#754), so the preview stops answering revalidation requests with 404. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMhsi2TebnCBPxxRCT1 Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Rework the kagent latest and main docs navigation and landing flow. 0.x and
kmcp are unchanged.
Navigation
- Sub-nav bar: home icon, then Overview, Installation, Documentation,
Features, Operations, CLI, and Reference. KMCP shows only in 0.x.
- Grouped left nav ("Get started", "Documentation") driven by a `sidebar`
list in each version's _index.md. Pages keep their URLs. Entries support
`items`, `tree`, and `hide`, and the theme's flat tree remains the fallback.
- Drop the extra kagent logos from the sub-nav and sidebar.
- About lists What is kagent?, Core concepts, and both architecture pages
directly. Schedules, Policies, MCP server, and CLI are entries of their own.
New pages
- Install kagent: choose a path (kind or your own cluster, CLI or Helm, or
production), then verify, deploy, and configure.
- Deploy an agent: kagent UI and YAML tabs on one page.
- Features and Operate hubs.
- kagent MCP server: endpoint, transport, auth, client setup, and the full
tool and prompt reference. The tool and prompt tables move into shared
snippets, which the existing MCP guides now reuse.
Content and flow
- The CLI install page becomes Quickstart. Every install path ends on
Deploy an agent, and "Install kagent" prerequisite links point at the
Install kagent chooser.
- Landing page: an Agent Substrate-first intro, a Quick start section, and
the hero "Run Agent Substrate on Kubernetes".
- Every section banner gets an at-a-glance flow diagram (tutorial-banner
`flow` parameter).
- Model provider cards show provider logos, copied from the marketing site's
brand icons.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg
Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Resolve the version conflict in docs-site/assets/kagent-docs/versions/kagent.md by taking main's 0.x bump to 0.10.7 (#778) and keeping this branch's 1.1.x value of 1.0.1, which the main docs' 1.0.1 CLI flow describes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
…lows Navigation (latest and main): - Top bar: Installation becomes Setup, CLI moves under Reference, and Release notes is its own item. - Sidebar: Setup holds Install with Helm, Advanced Install, and Configure models. Tutorials and Examples merge into Guides and Tutorials, grouped into Use cases, Agents, Tools and skills, Multi-agent and A2A, and Sandboxes and security. The sidebar template gains category entries (`anchor`) that link to a section of their page. Release notes: - New Changelog page and Latest release callout, rendered from data/kagent_releases.yaml. scripts/sync-kagent-releases.py refreshes that file from the kagent GitHub releases, so the build never calls GitHub. Guides and Tutorials: - Each use case is one full flow on its page: an inline Set up kagent section (shared snippet), then kagent UI and YAML tabs. The YAML tab ends by talking to the agent with the CLI, and creates schedules through the API with grpcurl instead of linking away. - The UI tutorials get the same kagent UI / YAML tabs (API for schedules), with Open the kagent UI moved into the UI tab. - Examples are labeled command line only, use purple icons that match the tutorials, and the documentation agent joins the use case tiles. - Your first agent and Your first MCP tool keep their URLs but leave the sidebar; Deploy an agent covers the same steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The changelog renders GitHub release notes, which include pull request titles that any contributor writes, and the site renders Markdown with raw HTML allowed. sync-kagent-releases.py now escapes HTML outside code and drops link targets other than http(s), relative, and same-page, so a release note cannot inject markup or a script into the docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Regex filtering over Markdown source could be bypassed (code spans with several backticks, reference-style links, and similar). The sync script now renders each release note with markdown-it (CommonMark, raw HTML off), sanitizes the result with nh3 against an allowlist of tags and of http(s) URLs, and stores the HTML on one line. The release-changelog shortcode inserts it inside a div, so Hugo never parses it as Markdown again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
main (#790) moved the bodies of pages that latest and main share into assets/kagent-docs/pages/, leaving each version's page as front matter plus a reuse call. Resolved by keeping main's layout and replaying this branch's body edits (tutorial banners, links to the Setup and Quickstart pages, the reworked installation page) onto the shared files, and keeping this branch's front matter (titles, sidebarHidden, tab sync). main's version tags keep the platform-agent examples out of the 1.0 pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The docs theme's release-changelog shortcode inserts each release's html without escaping. From docs-theme-extras v0.7.0 it fails the build unless the data file sets sanitized: true, which is the sync script's statement that it cleaned the HTML. The script now writes the key, and the committed data file carries it. The release shortcode calls also name the data file. The theme's copies read data/releases.yaml by default, so without data="kagent_releases" they would render nothing once the site-local copies are removed. The site-local copies ignore the parameter. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Kristin Brown <kristin.brown@solo.io>
Signed-off-by: Kristin Brown <kristin.brown@solo.io>
beta.5 fails the framework checks on a guard test that only passes on the theme's own fixture. beta.6 fixes it, and beta.7 adds a longer limit for the contrast check. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Kristin Brown <kristin.brown@solo.io>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Kristin Brown <kristin.brown@solo.io>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The landing and guide shortcodes, the product sub-nav, the grouped sidebar, the "Docs" link and the home redirect now live in docs-theme-extras (all OSS and enterprise docs are served from that theme). This removes the site-local copies and configures the theme. - Remove the moved shortcodes and the unused product-title, story-path and story-step, the chrome-top, section-dropdown and sidebar overrides, the home redirect in head-end, and their CSS. - hugo.yaml: params.subnav, homeRedirect, sectionDropdown.link and themeExtras.productMark. custom.css sets the kagent purple accent. - The Agent Substrate diagram moves to layouts/_partials/kagent/substrate-diagram.html for landing-split's figure parameter. - Content: the theme's parameter names for the banner badge, hero UI and split figure; the release shortcodes name data="kagent_releases"; drop the unused sidebarLinks. Needs the docs-theme-extras release that contains these features before it builds; the module pin is unchanged here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Picks up the video shortcode build fix. Also drops go.sum lines for older theme versions. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Kristin Brown <kristin.brown@solo.io>
| - title: Overview | ||
| page: "." | ||
| - title: Quickstart | ||
| page: setup | ||
| - title: Deploy an agent | ||
| page: deploy-an-agent | ||
| - group: Documentation | ||
| items: | ||
| - title: About | ||
| page: about | ||
| # Listed one by one so the two architecture pages sit directly under | ||
| # About, without their Architecture subsection. | ||
| items: | ||
| - page: about/what-is-kagent | ||
| - page: about/core-concepts | ||
| - page: about/architecture/agent-substrate | ||
| - page: about/architecture/kagent | ||
| - title: Setup | ||
| page: install |
There was a problem hiding this comment.
Should fix. The labels and the URLs now point in opposite directions. The sidebar entry "Quickstart" opens /setup/, and the entry "Setup" opens /install/. The /install/ page also goes by three names: "Setup" in the sidebar and the top bar, "Set up kagent" as the page title, and "Install kagent" in about 59 prerequisite links.
I think a reader who sees "Install kagent" in a prerequisite and then lands on a page titled "Set up kagent" will wonder whether the link is wrong. Pick one name for the chooser page and use that name in the title, the linkTitle, the top bar, and the link text. My preference is "Install kagent", because that is what the prerequisite links already say.
The same applies to main/_index.md.
There was a problem hiding this comment.
Fixed in 4dbbaa7. The chooser page is now "Install kagent" (title), with "Install" as the label in the sidebar, the top bar, and the landing-page card, so it matches the prerequisite links. I kept the URLs (/setup/ for the Quickstart, /install/ for the chooser) so existing links keep working. Same change in main/.
| {{< card title="Documentation" path="/about/" icon="book-open" >}} | ||
| {{< /cards >}} | ||
|
|
||
| ## What is Kagent? |
There was a problem hiding this comment.
Should fix. The project name is lowercase everywhere else in these docs, including mid-heading. The hero title on line 136 has the same problem ("Run Agent Substrate with Kagent"), and the heading on line 200 is title case where the site uses sentence case ("Get started").
| ## What is Kagent? | |
| ## What is kagent? |
There was a problem hiding this comment.
Fixed in 4dbbaa7: "What is kagent?", "Run Agent Substrate with kagent" in the hero, and "Get started". Same in main/_index.md.
| ## Quick start | ||
|
|
||
| Run kagent and Agent Substrate on a local kind cluster in three commands. You need [`kubectl`](https://kubernetes.io/docs/tasks/tools/#kubectl), [`helm`](https://helm.sh/docs/intro/install/) 3, [`kind`](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) v0.32.0 or later, and an API key from your model provider. | ||
|
|
||
| 1. Create a cluster. | ||
| ```bash | ||
| kind create cluster --name kagent --image kindest/node:v1.37.0 | ||
| ``` | ||
|
|
||
| 2. Set your API key, then install the kagent CLI and run it. `kagent install` sets up the CRDs, Agent Substrate, a development PostgreSQL database, and kagent, and takes a few minutes. | ||
|
|
||
| {{< tabs >}} | ||
| {{% tab name="OpenAI" %}} | ||
| ```bash | ||
| export OPENAI_API_KEY="your-api-key-here" | ||
| curl -sL https://kagent.dev/install | bash && kagent install | ||
| ``` | ||
| {{% /tab %}} | ||
|
|
||
| {{% tab name="Anthropic" %}} | ||
| ```bash | ||
| export ANTHROPIC_API_KEY="your-api-key-here" | ||
| curl -sL https://kagent.dev/install | bash && kagent install --provider Anthropic | ||
| ``` | ||
| {{% /tab %}} | ||
|
|
||
| {{% tab name="Gemini" %}} | ||
| ```bash | ||
| export GOOGLE_API_KEY="your-api-key-here" | ||
| curl -sL https://kagent.dev/install | bash && kagent install --provider Gemini | ||
| ``` | ||
| {{% /tab %}} | ||
|
|
||
| {{% tab name="Ollama" %}} | ||
| ```bash | ||
| export OLLAMA_API_KEY="your-api-key-here" | ||
| curl -sL https://kagent.dev/install | bash && kagent install --provider Ollama | ||
| ``` | ||
| {{% /tab %}} | ||
| {{< /tabs >}} | ||
|
|
||
| 3. Open the dashboard at `http://localhost:8082`. | ||
| ```bash | ||
| kagent dashboard | ||
| ``` | ||
|
|
||
| For every step in detail, see the [Quickstart]({{< link path="setup" >}}). To install with Helm or for production, see [Install kagent]({{< link path="install" >}}). Then [deploy an agent]({{< link path="deploy-an-agent" >}}). |
There was a problem hiding this comment.
Should fix. This section is the third copy of the same install steps. The provider tabs with curl ... | bash && kagent install also live on the Quickstart page (setup/_index.md) and in the new usecase-setup.md snippet, and a fourth set of API key tabs was added to Advanced Install. A version bump or a new provider now needs four edits per tree.
Steps 1 and 2 here are word for word what usecase-setup.md steps 2 and 3 contain. Either reuse that snippet here, or shrink this section to one command plus a link to the Quickstart, which the PR description already suggests.
There was a problem hiding this comment.
Fixed in 4dbbaa7. The landing Quick start is now one command (OpenAI) plus a link to the Quickstart for kind, other providers, and the dashboard. The provider tabs now live in the Quickstart, usecase-setup.md, and Advanced Install only.
| | | Local kind cluster | Kubernetes cluster that you already run | | ||
| |---|---|---| | ||
| | **kagent CLI** | [Quickstart]({{< link path="setup" >}}) | [Quickstart]({{< link path="setup" >}}), then [Customize the CLI installation]({{< link path="setup/installation#customize-the-cli-installation" >}}) | | ||
| | **Helm** | [Install with Helm]({{< link path="setup/helm" >}}) | [Install with Helm]({{< link path="setup/helm" >}}) | | ||
| | **Production** | | [Advanced Install]({{< link path="setup/installation#install-with-helm" >}}): your own PostgreSQL and certificates | | ||
|
|
||
| {{< cards cols="3" >}} | ||
| {{< card title="Quickstart" subtitle="One command with the kagent CLI, on a kind cluster or your own. A development database is included." path="/setup/" icon="terminal" >}} | ||
| {{< card title="Install with Helm" subtitle="Helm and kubectl only, in five steps, on a development database." path="/setup/helm/" icon="cube" >}} | ||
| {{< card title="Advanced Install" subtitle="Customize the CLI installation, or install each chart against your own PostgreSQL." path="/setup/installation/" icon="adjustments" >}} | ||
| {{< /cards >}} |
There was a problem hiding this comment.
Nit. The table and the card grid right after the table send the reader to the same three pages. I would keep the table, because the table is the part that answers "which path fits me", and drop the cards. The empty cell for Production on a local kind cluster also reads as a rendering mistake. A short value such as "Not recommended" would make the gap deliberate.
There was a problem hiding this comment.
Fixed in 4dbbaa7: the card grid is gone, and the empty cell reads "Not recommended".
| > The database in this page is for evaluation only. It runs in the cluster with fixed passwords, without TLS, and without durable storage. For an installation that you keep, use your own PostgreSQL, as described in [Advanced Install]({{< link path="setup/installation#install-with-helm" >}}). | ||
|
|
||
| {{% panel title="Before you begin" id="before-you-begin" %}} | ||
| 1. Have a Kubernetes cluster at version **1.37 or later**. To create a local one, see [Before you begin]({{< link path="setup#before-you-begin" >}}) on the Install page. |
There was a problem hiding this comment.
Should fix. The linked page is titled Quickstart now, so "the Install page" names a page that no longer exists. The front matter comment on line 4 of setup/_index.md ("Helm installs are Installation") is stale for the same reason.
| 1. Have a Kubernetes cluster at version **1.37 or later**. To create a local one, see [Before you begin]({{< link path="setup#before-you-begin" >}}) on the Install page. | |
| 1. Have a Kubernetes cluster at version **1.37 or later**. To create a local one, see [Before you begin]({{< link path="setup#before-you-begin" >}}) in the Quickstart. |
There was a problem hiding this comment.
Fixed in 4dbbaa7, with your wording ("in the Quickstart"). The stale front matter comment in setup/_index.md is updated too.
| {{% /tab %}} | ||
|
|
||
| {{% tab name="Ollama" %}} | ||
| The installer sets up an [Ollama Cloud](https://docs.ollama.com/cloud) model, which takes an API key. To use an Ollama server that you host yourself, see [Ollama]({{< link path="setup/model-providers/ollama" >}}). |
There was a problem hiding this comment.
Blocking until somebody runs it. The PR description says kagent install --provider Ollama was documented from source and not run. From my reading of the v1.0.1 source, the result is not an Ollama Cloud model:
- The installer sets only
providers.default=ollamaandproviders.ollama.apiKey(go/core/pkg/install/plan.go). - The chart default for
providers.ollamais the local modelllama3.2withconfig.host: host.docker.internal:11434, andapiKeySecretRefis commented out (helm/kagent/values.yaml). helm/kagent/templates/modelconfig-secret.yamlcreates the Secret only when bothapiKeySecretRefandapiKeyare set, so I think the key is dropped.
If that reading is right, a reader who follows this tab gets a default model that points at a local Ollama daemon the reader does not have, and the first chat fails. I could be wrong, because I only read the code. Please run the Ollama, Anthropic, and Gemini tabs once before merge. The same tab is in usecase-setup.md, the landing page, and Advanced Install.
One smaller thing on line 92: "in that order" does not match the installer. The plan installs the bundled PostgreSQL before substrate-atelet and substrate. Dropping the three words fixes the sentence.
There was a problem hiding this comment.
Your reading is right. helm template of the 1.0.1 chart with the installer's values (providers.default=ollama plus providers.ollama.apiKey) produces a ModelConfig for llama3.2 at host.docker.internal:11434, and no Secret. In 4dbbaa7 I removed the Ollama tab from the Quickstart, usecase-setup.md, and Advanced Install; "Others" now names Ollama and links to the Ollama page. "In that order" is gone.
From the same cluster, the Gemini tab installs cleanly. The Anthropic tab is still unrun, for lack of a key. The chart gives it an apiKeySecretRef (kagent-anthropic), so it is not affected by the Ollama problem.
There was a problem hiding this comment.
Follow-up: the PR author has run the chats, so the provider tabs that remain (OpenAI, Anthropic, Gemini) have been exercised beyond the install. The Ollama tab stays removed, for the reason above.
| 3. Send a message to the Session. | ||
| ```bash | ||
| kagent agent invoke --session $SESSION_ID --task "Are any pods in the kagent namespace unhealthy?" | ||
| ``` | ||
|
|
||
| The agent calls its read-only tools, such as `k8s_get_resources`, and explains what it found. The wording of the reply depends on the model. |
There was a problem hiding this comment.
Should fix. This answers the open point about approval in the CLI. At v1.0.1, kagent agent invoke has no way to approve a tool call. When a turn pauses for approval, the CLI prints the text and "Input required to continue this Session.", then exits with status 0 (go/core/cli/internal/session/invoke.go).
So the YAML tab cannot show the half of this use case that the title promises, which is the agent asking before it acts. I would say that plainly after step 3, and send the reader to the chat page in the kagent UI to approve or reject the k8s_scale call. Stopping at the read-only question, with no explanation, leaves the reader thinking the page is finished.
There was a problem hiding this comment.
Fixed in 4dbbaa7. After the talk steps, an "Approve a change" section says that kagent agent invoke prints Input required to continue this Session. and exits (invoke.go), and sends the reader to the agent's chat page in the kagent UI to ask for the change and approve or reject k8s_scale.
|
|
||
| 2. In the **Name** field, enter `github-api`. Leave the **Namespace** as `kagent`. | ||
|
|
||
| 3. Under **Destination 1**, in the **Origin** field, enter `https://api.github.com`. An origin is a scheme, a host, and an optional port, without a path. A value such as `*.example.com` matches one level of subdomain. |
There was a problem hiding this comment.
Should fix. The wildcard example has no scheme, and the sentence before says an origin includes one. The CRD pattern for origin starts with ^https?://, so *.example.com as written is rejected. The type comment in egresspolicy_types.go uses https://*.example.com.
| 3. Under **Destination 1**, in the **Origin** field, enter `https://api.github.com`. An origin is a scheme, a host, and an optional port, without a path. A value such as `*.example.com` matches one level of subdomain. | |
| 3. Under **Destination 1**, in the **Origin** field, enter `https://api.github.com`. An origin is a scheme, a host, and an optional port, without a path. A value such as `https://*.example.com` matches one level of subdomain. |
There was a problem hiding this comment.
Fixed in 4dbbaa7, with your wording. The CRD pattern does require the scheme.
| kubectl get agent my-first-agent -n kagent -o jsonpath='{.status.conditions}' | jq | ||
| ``` | ||
|
|
||
| An Agent reports four conditions, ending in `Ready`. The `Accepted` condition covers the shape of the spec, and `ResolvedRefs` covers the AgentTemplate, Harness, ModelConfig, and tool references. `Compatible` covers whether the resolved configuration suits the Harness runtime, and `Ready` covers the compiled revision itself. `status.warnings` lists non-blocking compatibility decisions that the compiler made. |
There was a problem hiding this comment.
Should fix. An Agent reports five conditions at v1.0.1, not four. go/api/v1alpha3/agent_types.go defines Accepted, EgressPoliciesApplied, ResolvedRefs, Compatible, and Ready, and the controller appends EgressPoliciesApplied on every Agent, including one with no egress policy. A reader who runs the jq command from the step before sees a condition that this paragraph never mentions.
I think this sentence was copied from Your first agent, so the source page needs the same fix. That is one more reason to share the steps through a snippet.
There was a problem hiding this comment.
Fixed in 4dbbaa7. The sentence now lives in snippets/first-agent/yaml-resources.md, shared with Your first agent, and names five conditions, including EgressPoliciesApplied, which is True with no policy attached. A fresh Agent on v1.0.1 showed exactly that: Accepted EgressPoliciesApplied ResolvedRefs Compatible Ready.
| 1. Install `atelet`, and wait for it to roll out. | ||
| ```bash | ||
| kubectl create secret generic kagent-rustfs-credentials -n ate-system \ | ||
| --from-literal=AWS_ACCESS_KEY_ID=rustfsadmin \ | ||
| --from-literal=AWS_SECRET_ACCESS_KEY=rustfsadmin |
There was a problem hiding this comment.
Nit. This step points substrate-atelet at rustfs.ate-system.svc:9000, but nothing has installed RustFS yet. The substrate chart in the next step deploys it. The CLI installer uses the same order, so I think the order is correct, but a reader who checks will stop here. One sentence in the step would help, for example: "The object store that these values name is installed with the control plane in the next step."
The fixed rustfsadmin credentials are also evaluation-only, like the database passwords. The warning at the top of the page mentions only the database.
There was a problem hiding this comment.
Fixed in 4dbbaa7. The step now says that RustFS is installed with the control plane in the next step (I checked that the substrate release owns the rustfs Deployment), and the warning at the top covers the fixed rustfsadmin credentials as well as the database.
Shared steps move into snippets, so a change is one edit: - open-ui.md: macOS runs `kagent dashboard`; Linux and Windows get the `kubectl port-forward` command, because there the CLI only prints it. - talk-to-agent.md and grpcurl-schedule.md, filled from each page's `tutorial` front matter. - first-agent/*.md: the UI and YAML steps that Deploy an agent shares with Build an agent and Your first agent. Corrections checked against kagent v1.0.1 on a fresh kind cluster: - RemoteMCPServer needs `spec.description`; the weather server takes 17s to answer cold, so its timeout (and the UI form's) is now 60s. - Skill and plugin images build for the node architecture; an amd64 image leaves the agent unready on arm64 with "could not pull image". - `kagent install --provider Ollama` sets up a local llama3.2, not an Ollama Cloud model, so the Ollama install tabs are removed. - An Agent reports five conditions, including EgressPoliciesApplied. - Egress origins need a scheme; the CLI cannot approve a tool call. - Agent Substrate resumes in under 500 ms, not sub-millisecond. Wording: the chooser page is "Install kagent", lowercase "kagent", sentence-case headings, task-named headings in place of "Steps", and the Solo.io search server is gone from the open source tutorials. sync-kagent-releases.py demotes headings on parsed tokens, so shell comments in code blocks stay as they are; sorts by version; and pins its dependencies. The data file is regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The theme draws grouped-sidebar categories as small uppercase labels, which mixed with the sentence-case pages around them. Keep them at the size and case of their siblings, semi-bold so they still read as groupings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
"Get started" and "Documentation" were the last uppercase labels in the left nav. They keep their small, muted, semi-bold style, so they still read as headings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The Agents section had no overview of what an agent is. About agents covers what an agent is made of (AgentTemplate, Harness, Agent), which harness runs its loop, what it can use, how you talk to it, what keeps it in bounds, and when it is ready, and links to the page for each. Core concepts and Debug also list the fifth Agent condition, EgressPoliciesApplied, which sits outside the readiness pipeline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
- Rename the Guides and Tutorials categories by task: Build and configure, Add tools and skills, Connect agents, Run agents safely. - Use cases open with Before you begin and name each task heading by what you do. Install with Helm drops the numbers from its headings. - Move the "About" background out of the examples: skills load order and built-in tools go to Features > Skills, the subagent hand-off note goes to Features > About tools, and the rest folds into each page's intro. The MCP tool table is linked from the MCP server page. - Give the sections that had no steps numbered steps: answering an agent over MCP, handling A2A callback deliveries, A2A clean up, the BYO agent code walk-through, and guarding tool traffic at the gateway. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
Each of the 22 pages under Guides and Tutorials now runs, in order: banner, About this tutorial (what you build, with links to core concepts), a time estimate, Before you begin, the task headings and a final Verify step inside Hextra's numbered steps layout, What you built (features used, linked to their Features pages), Clean up, and Next steps. Examples gain the banner they were missing. The skills example now builds images for the cluster's node architecture instead of hardcoding linux/amd64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
|
Ready for another look. Since your review, the branch has these changes:
Not yet tested on a cluster: the new Verify and Clean up steps. They use only commands and output columns that are in the kagent v1.0.1 source or already in the docs. The time estimates are rough. 🤖 Generated with Claude Code |
Draft: do not merge yet. Opened for review.
Update: Setup, Guides and Tutorials, and release notes (commits c491ea7, 4f6fcbe, e3a9312, a423039)
This round covers
latestandmainonly. Where it conflicts with anything further down, this section is current. Page URLs still do not change.Navigation
anchorfor this.Use cases and tutorials
kagent install, pod check) from the shared snippetusecase-setup.md, then a Build it section with kagent UI and YAML tabs. The YAML tab ends by talking to the agent with the kagent CLI. Schedules have no YAML, so that tab creates them withgrpcurlcalls on the page instead of linking to Scheduled runs.Release notes
docs-site/data/kagent_releases.yaml, so the build never calls GitHub.scripts/sync-kagent-releases.pyrefreshes that file from the kagent GitHub releases. Run it after each kagent release and commit the result:javascript:anddata:links, code-span tricks, and reference-style links rendered entirely as plain text in the built page.Other
/install/) is retitled "Set up kagent" and gains a Configure models section.How this round was checked
latestandmainpages resolves.Open points from this round
grpcurlschedule steps. They follow Deploy an agent and Scheduled runs.sidebarlist of each version's_index.mdand must match the sections onget-started/_index.md, so a new tutorial goes in both places.Update: navigation restructure (commit 2ba4def)
This commit reorganizes the 1.x docs (
latestandmain) around a short Get started path. Where it conflicts with the Navigation and Install sections further down, this section is current. 0.x and kmcp are unchanged, and no page URLs change.Navigation
sidebarlist in each version's_index.md(the template is_partials/sidebar.html):items,tree, andhide.hideis howreference/clistays out of the Reference tree without editing the generated CLI_index.md. Versions without asidebarlist keep the theme's flat tree.New pages
/install/): a chooser across where you install (local kind or your own cluster) and how (kagent CLI, Helm, or production), followed by Verify, Deploy an agent, Configure models, and Upgrade or uninstall./deploy-an-agent/): kagent UI (the default) and YAML tabs on one page. The steps are copied from Build an Agent and Your first agent, which are unchanged. A comment on the page says to change both places together./features/) and Operate (/operate/) hubs./mcp-server/): permanent docs for working with kagent over MCP. It covers the endpoint, transport, auth, setup for Claude Code, Codex, Cursor, and curl, and the full tool and prompt reference. The tool and prompt tables are now shared snippets, which the two existing MCP guides also reuse. Those guides now sit under it in the nav.Content and flow
setup/) is now titled Quickstart. Every install path ends on Deploy an agent.flowparameter oftutorial-banner.src/components/icons/brands/.How this commit was checked
.Site.Datadeprecation.latestandmainpages resolves.More open points
What this changes
Reworks the docs entry points to follow a product developer-portal layout, and adds a Tutorials section built around the kagent UI. Everything is under
docs-site/; the Next.js marketing site is untouched.Docs home (
/docs/kagent/latest/and/docs/kagent/main/)/docs/now redirects to/docs/kagent/latest/Navigation
/docs/kagent/latest/instead of the section dropdownBanners
Install
setup/), CLI only: Before you begin (tools, Local Kind / Kubernetes tabs, provider tabs for the API key), Install with CLI as two numbered steps, Next steps. Picking a provider for the key also picks it for the install command.setup/helm/): a Helm-only install, with nokagentCLI. Five steps install the six charts withhelmandkubectl: CRDs, identity, a development PostgreSQL that runs in the cluster, Agent Substrate, kagent. It points to Advanced Install (the former full install guide, without its CLI section) for a production setup with your own PostgreSQL, and to the Helm referencesudoprompt and on an olderkagenton the PATHkagent install --provider ...)Tutorials (new)
The landing page has a banner, a grid of project tiles, cards for the single-task tutorials, and the two existing YAML tutorials. In the sidebar, Build an Agent comes first, then the projects.
Projects, each a complete walkthrough built and recorded in the kagent 1.0.1 UI:
bashtool, behind an egress policySingle-task tutorials: Build an Agent, Add an MCP server, Create a prompt library, Create a policy, Schedule an agent, Add a model, Add a skill, Add a plugin, Set up a sandbox template, Human in the loop.
YAML versions: every UI tutorial and project ends with a "YAML version" section, with the same resources as collapsed
kubectl applyblocks. Schedules are not Kubernetes resources, so those pages point to the API instead.The existing YAML tutorials ("Your first agent", "Your first MCP tool") are unchanged.
Versions
New layout pieces
landing-hero,landing-split,tutorial-banner,tile-grid,tile,story-path,story-step,panel,product-titlepartials/docs/chrome-top.html(sub-nav),_partials/components/section-dropdown.html(Docs link)sidebarLinks,sidebarHiddenstatic/icons/How it was checked
latestandmainkubectlCorrection: an earlier version of this description said the first install recording ran on v1.0.1. It did not: a stale 1.0.0-rc3 CLI on the PATH ran the install. The recording in this PR is from a later, corrected run.
Open points for review
mcp-weather-1cyg.onrender.com) is a third-party demonstration server, not run by the kagent project. The tutorials say so. A server that the project hosts would be more durable.sslmode=disable, on kind only, so its API authentication step is unverified on clusters with a public token issuer (the page says so and links to Advanced Install)logo/ate-logo.svgingithub.com/agent-substrate/substrate(Apache-2.0). Please confirm it is fine to use here.kagent install --provider Anthropic | Gemini | Ollamais documented from the installer source and was not run🤖 Generated with Claude Code
https://claude.ai/code/session_01FeiRMj27ZjfTMzbm4tX5Lg