Skip to content

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

Merged
sebbycorp merged 9 commits into
kagent-dev:mainfrom
hguerrero:blog/claude-code-on-agent-substrate
Dec 4, 2026
Merged

sebbycorp merged 9 commits into
kagent-dev:mainfrom
hguerrero:blog/claude-code-on-agent-substrate

Conversation

@hguerrero

@hguerrero hguerrero commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

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 3 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>
…ode tutorial

Signed-off-by: Hugo Guerrero <1001939+hguerrero@users.noreply.github.com>
@hguerrero
hguerrero force-pushed the blog/claude-code-on-agent-substrate branch from 5eb0259 to c7e2bec Compare December 1, 2026 22:54
hguerrero and others added 3 commits December 1, 2026 23:58
Resolve the conflict in src/app/blog/authors.ts by keeping both the new
stevenjin8 entry and the hugoguerrero entry. Add the category field that
main now requires on blog index entries (Tutorial).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Hugo Guerrero <1001939+hguerrero@users.noreply.github.com>
Resize the post's hero image to the 1200x630 WebP size the blog index
uses and set it as the entry's image.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Hugo Guerrero <1001939+hguerrero@users.noreply.github.com>
Set the publish date to 2026-12-02 in the post metadata and the blog
index, and move the index entry to the top of the list.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Hugo Guerrero <1001939+hguerrero@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sebbycorp
sebbycorp merged commit 1d174a5 into kagent-dev:main Dec 4, 2026
2 checks passed
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