Repository navigation
feat: replace the starter agent with the coding agent sample - #2
Merged
Merged
Conversation
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…framework-free Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
commented
Oct 20, 2026
zimeg
left a comment
Member
Author
There was a problem hiding this comment.
🌠 Comments with testing so far good before merge
Member
Author
There was a problem hiding this comment.
🧪 note: Coverage is decent so we'll continue with this for now but seek to align cases and patterns in follow up changes.
Member
Author
There was a problem hiding this comment.
🤓 note: Will review this with adjacent landings later!
…th setup Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
marked this pull request as ready for review
October 20, 2026 04:57
Member
Author
|
🏁 Now is an alright time to merge this for later follow up and adjacent provider with iteration I think |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request replaces the starter agent template contents with a coding agent sample built on the OpenAI Agents SDK, ported from bolt-python-coding-agent#5 to Bolt for JavaScript.
create_code_channeltool, reading the thread or direct message the request came from.git commitrun right away. Running the repo's code, or using paths outside the clone, posts Approve / Deny buttons. Commands run withspawnand no shell, so&&and|reach the program as plain text, and they run without the app's secrets in their environment.splitCommandinagent/workspace.jssplits a command the way Python'sshlex.splitdoes, so the approval check and the run see the same arguments.agent/index.js, and the OpenAI Agents SDK stays inagent/agent.js,agent/guardrails.js, andagent/tools/, so other frameworks can follow the same structure. The rootAGENTS.mdlists what implementations keep the same.errorFunction, instead of the SDK's default message.client.agents.conversations.*andclient.agents.sessions.*from@slack/web-api8.2.0, now a direct dependency.claude-agent-sdk/starter,.claude/with the Bolt vendoring commands, and the maintainers guide. The Claude Agent SDK coding agent follows in a stacked pull request.openai-agents-sdk/, and pins workflow actions with read-only permissions. Dependencies are checked daily, with a 7-day cooldown outside of Slack packages.Windows can't start
.cmdprograms likenpmwithout a shell, so those commands fail there. The README notes it.Testing
openai-agents-sdk/.env.sampleto.env, setOPENAI_API_KEY, and start the app withslack runfromopenai-agents-sdk/./run-tests, and confirm it starts a turn. Repeat over HTTP withapp-oauth.jsafter setting the ngrok domain inmanifest.jsonandSLACK_STATE_SECRETin.env.🤖 Generated with Claude Code