Skip to content

Blog: Troubleshoot Agent Substrate with kagent OSS - #788

Open
sebbycorp wants to merge 2 commits into
mainfrom
blog/troubleshoot-agent-substrate-kagent
Open

sebbycorp wants to merge 2 commits into
mainfrom
blog/troubleshoot-agent-substrate-kagent

Conversation

@sebbycorp

Copy link
Copy Markdown
Collaborator

Summary

Adds a new blog post, How to Troubleshoot Agent Substrate with kagent: A Field Guide (/blog/troubleshoot-agent-substrate-kagent). It also fixes a site bug where MDX images lost their alt text.

The post

A field guide to where kagent and Agent Substrate report failures, and how to work from a symptom to its cause:

  • Where status lives. Harnesses and AgentTemplates have no status, so the Agent's conditions report for them. Read the first False that isn't Blocked.
  • Harness and Agent errors: WorkerPoolNotFound, Compatible=False (reserved env vars, harness/provider limits), ActorTemplateRetrying, and edits that don't reach an existing Session.
  • Runtime: request timed out, WorkerPool sizing, sandbox class mismatches, and snapshot storage.
  • SandboxTemplates and Sandboxes: guest image, digest pinning, FailedPrecondition, request_id behavior, what survives suspend and resume, ownership, and MCP limits.
  • Egress: why a blocked host shows up as a DNS error, EgressPoliciesApplied, the atenet-egress log, and the redirect-host trap.
  • A cheat sheet, an FAQ, and links to related posts and docs.

16 screenshots in public/images/blog/troubleshoot-agent-substrate-kagent/. Each one is real output from upstream kagent OSS 1.0.1 and Agent Substrate, installed with kagent install on a kind cluster (Kubernetes 1.37). The broken resources were created on purpose for the captures.

Site fix

src/mdx-components.tsx: the MDX img component set alt from the image title, so Markdown images without a title rendered with no alt text and logged Image is missing required "alt" property in dev. It now uses the alt text and falls back to the title. This affects images in every post; layout doesn't change.

AGENTS.md carries the heading-level change that next dev regenerates.

Test plan

  • npm run dev: the post renders, and the link check and sitemap generation pass
  • Headless Chrome: no console warnings on the new post or on kagent-cve-agent-substrate-secure-sandbox, and images render with their alt text
  • Every in-page anchor link resolves to a heading ID
  • Reviewer: read the post through and check the screenshots

🤖 Generated with Claude Code

sebbycorp and others added 2 commits December 2, 2026 13:46
Add a field guide for troubleshooting Agent Substrate with kagent OSS:
where Harness, Agent, SandboxTemplate, Sandbox, WorkerPool, snapshot,
and egress failures are reported, and the command that confirms each
cause. Screenshots are real output captured from upstream kagent OSS
1.0.1 and Agent Substrate on a kind cluster.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
The MDX img component set alt from the image title, so Markdown images
without a title rendered with no alt text and logged "Image is missing
required alt" in dev. Use the alt text, falling back to the title.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Sebastian Maniak <sebastian@maniak.io>
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Docs preview

Link Points at
Branch preview The newest push to this branch. Updates in place.
Commit preview 2faef6d only. Frozen.

Both are uploaded Worker versions and serve no production traffic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants