Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>BedrockPalNew to Visual Studio Code? Get it now.
BedrockPal

BedrockPal

jacobnguyenn

|
87 installs
| (1) | Free
Refactor, improve, and debug your code with Bedrock.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BedrockPal

BedrockPal is a Visual Studio Code extension that allows you to use the Bedrock API to write, refactor, and improve your code.

Get for VSCode

Search for "BedrockPal" in the VSCode extension search.

Or install directly:

  • VSCode Marketplace
  • Open VSX Registry

Or build this extension yourself (see below).

About this fork

This is a refactored version of the popular, but now discontinued vscode-chatgpt extension but for Amazon Bedrock. Full credit to @gencay for building the original extension and open-sourcing it. Note that this version is API-only, the browser code was not open-sourced by Gencay (due to OpenAI ToS issue).

Installation

To set up the project, first clone the repository:

git clone https://github.com/jacobnguyenn/bedrockpal.git

Next, change into the project directory and install the dependencies using Yarn:

cd bedrockpal
yarn install

Running Scripts

You can run the following scripts using Yarn:

Build the extension

yarn run build

Watch for changes and rebuild automatically

yarn run watch

Format the code using Prettier and run tests with fixes

yarn run fmt

Run tests using ESLint and TypeScript

yarn run test

Testing the Extension in Visual Studio Code

To test the bedrockpal extension in Visual Studio Code, follow these steps:

  1. Open the project directory in Visual Studio Code.

  2. Press F5 or click Run > Start Debugging in the menu to start a new Extension Development Host instance with the extension loaded.

  3. In the Extension Development Host instance, test the extension's functionality.

  4. Use the Debug Console in the main Visual Studio Code window to view any output or errors.

  5. To make changes to the extension, update the code, and then press Ctrl + Shift + F5/Cmd + Shift + F5 (or click Run > Restart Debugging) to reload the extension.

  6. Once you are satisfied with your changes, submit a pull request to this repository.

TODO

  • [ ] Add way to manage custom prompts in UI.
  • [ ] Add option to stream directly into the editor.
  • [ ] Inline diff
  • [ ] AI-generated git commit messages

Tech

Yarn - TypeScript - VSCode Extension API - React - Redux - React Router - Tailwind CSS

  • The UI is built with TailwindCSS. But, respecting VSCode's UI consistency and theme support is still a priority.
  • This does not use VSCode's WebView UI Toolkit. But, I'm open to switching to the WebView UI toolkit since it better aligns with VSCode's UI.

License

This project is licensed under the ISC License - see the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft