Skip to content

docs: add guides for the Bolt JS agent features and sample apps#2855

Merged
lukegalbraithrussell merged 6 commits intomainfrom
docs-agent-kit
Apr 10, 2026
Merged

docs: add guides for the Bolt JS agent features and sample apps#2855
lukegalbraithrussell merged 6 commits intomainfrom
docs-agent-kit

Conversation

@lukegalbraithrussell
Copy link
Copy Markdown
Contributor

Summary

Bolt for JS docs (copied from python)

adding agent features (new) - also now has a section on the MCP server
Using the Assistant class - pull out assistant class stuff into separate page

Requirements

@lukegalbraithrussell lukegalbraithrussell requested a review from a team as a code owner April 9, 2026 23:34
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 9, 2026

⚠️ No Changeset found

Latest commit: 27bb49f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.59%. Comparing base (375d441) to head (27bb49f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2855   +/-   ##
=======================================
  Coverage   93.59%   93.59%           
=======================================
  Files          44       44           
  Lines        7855     7855           
  Branches      687      687           
=======================================
  Hits         7352     7352           
  Misses        498      498           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Looks great @lukegalbraithrussell!

🙇🏻 This is a boat load of documentation! It always makes me wonder how we can better support the docs team during the development of the features, rather than at release time 🤔

✏️ I left a few comments, but all non-blocking. I've also got a few action items to fix bits in the Sample Apps that I noticed while reading over the docs (I left comments on each).

Comment thread docs/english/concepts/adding-agent-features.md
slack run app-oauth.js
```

8. Click the install URL printed in the terminal to install the app to your workspace via OAuth.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Perhaps we remove this. I think I removed this from the sample apps (I see it's still in the README.md though, so I'll need to fix that). However, I could also add it back to the sample apps if you think it's easier to explain in docs than opening the app, going to the app home page, and selecting the "Connect Slack MCP Server" link.

const { channel_id: channelId, thread_ts: threadTs } = event.assistant_thread;

try {
await client.assistant.threads.setSuggestedPrompts({
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: The docs are accurate, but this made me realize that I can probably update the sample apps to use setSuggestedPrompts as an event handler argument instead of using it off client.

```javascript title="agent/tools/check-github-status.js"
import { tool } from '@anthropic-ai/claude-agent-sdk';

export const checkGitHubStatusTool = tool(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: This is very cool! Have you tested this tool implementation? I'm curious how reliable it is at hitting and whether the agent uses the other status check tool or this one reliability?

If this is something valuable, we could consider including it in Casey but we'd need to make sure that there aren't rate-limits from fetching that JSON file.

status: 'Thinking...',
loading_messages: ['Waking up...', 'Loading a witty response...'],
});
const stream = sayStream({ buffer_size: 100 });
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: We use the param buffer_size here, but I don't see it documented in the Parameter/Value table above.

@mwbrooks mwbrooks changed the title Docs agent kit docs: add guides for the Bolt JS agent features and sample apps Apr 10, 2026
@mwbrooks mwbrooks added docs M-T: Documentation work only semver:patch labels Apr 10, 2026
@mwbrooks mwbrooks added this to the 4.8.0 milestone Apr 10, 2026
@lukegalbraithrussell lukegalbraithrussell merged commit a545020 into main Apr 10, 2026
26 checks passed
@lukegalbraithrussell lukegalbraithrussell deleted the docs-agent-kit branch April 10, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs M-T: Documentation work only semver:patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants