Skip to content

docs(blog): add Running Claude Code on Agent Substrate post - #569

Open
hguerrero wants to merge 4 commits into
kagent-dev:mainfrom
hguerrero:blog/claude-code-on-agent-substrate
Open

hguerrero wants to merge 4 commits into
kagent-dev:mainfrom
hguerrero:blog/claude-code-on-agent-substrate

Conversation

@hguerrero

@hguerrero hguerrero commented Oct 7, 2026 •

Copy link
Copy Markdown

Summary

Adds a new blog post, Running Claude Code on Agent Substrate: What Changes from OpenShell, by Hugo Guerrero. It is a hands-on walkthrough of running Claude Code on kagent 1.x and Agent Substrate using kagent's built-in Claude runtime (the claude-harness image, so no adapter and no image to build):

  • Anthropic Secret and ModelConfig
  • Default-deny egress and gateway credential injection
  • Harness, AgentTemplate, and Agent
  • Suspend and resume across turns
  • A GitHub RemoteMCPServer with a per-call approval gate

Changes:

  • src/blogContent/migrate-openshell-claude-code-to-agent-substrate-kagent.mdx: the post, with metadata per CONTRIBUTION.md
  • src/app/blog/page.tsx: index entry (slug matches the .mdx file)
  • src/app/blog/authors.ts and public/images/authors/hugoguerrero.jpg: new hugoguerrero author, with title, bio, and photo
  • public/images/blog/migrate-openshell-claude-code-to-agent-substrate-kagent/: 8 figures (PNG, 2x)

Notes for reviewers

  • Focus guideline. The post compares against NVIDIA OpenShell and runs Claude Code, but the subject is kagent 1.x and Agent Substrate: the built-in Claude runtime, Harness/AgentTemplate/Agent, egress policy, and suspend/resume. The existing NemoClaw/OpenShell post is the precedent. Happy to adjust if maintainers prefer a different framing.

  • Alpha versions. The post pins what I tested on 2026-10-07: Substrate 0.3.0-alpha3, kagent and CLI 1.0.0-alpha7, Claude Code 2.1.260. It says so and links to the 1.x docs for current versions.

Test plan

  • npm ci and npm run dev: /blog and the new post both return 200, and the images load
  • eslint on the changed TS files is clean
  • Commit is signed off (DCO)
  • Reviewer: skim the rendered post for MDX and table rendering

🤖 Generated with Claude Code

hguerrero and others added 2 commits October 7, 2026 16:38
Adds a walkthrough of moving a Claude Code setup from an OpenShell
sandbox to kagent 1.x and Agent Substrate using the built-in Claude
runtime: model config, default-deny egress with credential injection,
Harness/AgentTemplate/Agent, suspend and resume, and a GitHub approval
gate. Includes 8 figures, the blog index entry, and an author entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Hugo Guerrero <1001939+hguerrero@users.noreply.github.com>
Replace the placeholder title and bio and add an author photo.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Hugo Guerrero <1001939+hguerrero@users.noreply.github.com>
@sebbycorp
sebbycorp self-requested a review October 7, 2026 21:06
hguerrero and others added 2 commits October 7, 2026 17:10
The adapter comparison is not relevant to this post.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Hugo Guerrero <1001939+hguerrero@users.noreply.github.com>
The MDX img override read alt from the image title, so images written
as ![alt](src) rendered with no alt attribute and next/image logged
"Image is missing required alt property". Fall back to the markdown alt
first, then the title.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Hugo Guerrero <1001939+hguerrero@users.noreply.github.com>
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.

1 participant