This repository is the engine of CoderHelm, the AI coding agent that turns GitHub issues and Jira tickets into pull requests and then stays on the code. It holds the agent (a Rust gateway and worker on AWS Lambda), the AWS CDK infrastructure, the Jira app and the self-host installer that runs all of it in your own AWS account, with Claude through Amazon Bedrock or an Anthropic API key.
The same code runs the hosted service at app.coderhelm.com and every self-hosted install. The dashboard, docs site and website are in CoderHelm/coderhelm.
Docs · Self-host install guide · Releases · API · Changelog · Security
- Tickets to pull requests. Assign a GitHub issue or Jira ticket, add the
coderhelmlabel or comment/coderhelm. The worker triages it, plans the files it will touch, writes the change on acoderhelm/branch, runs your build and tests in a sandbox with no credentials, reviews its own work and opens the pull request. - After the pull request. Fixes failing CI, answers review comments, resolves conflicts and, with auto merge on, merges only the exact commit it reviewed after a person approves.
- PR reviewer. Reviews any pull request with the review label: line comments, a risk level, and a verdict that requests changes only for a named, evidenced problem.
- Alerts, tests and logs. CloudWatch alarms through SNS become fix pull requests; flaky tests are detected and quarantined; chosen log groups are read every six hours.
- Security fixes and stale pull requests. Dependency advisories checked for reachability in your code, with tiers, deadlines and daily limits; stale pull requests warned and closed, off by default.
- Chat, knowledge and MCP. Chat reads the code and cites paths and lines; knowledge syncs from Notion, Confluence, Google Drive, Sanity, GitHub, websites and files, and can be used from Amazon Bedrock; CoderHelm is also an MCP server for Claude, Cursor and VS Code.
- Team controls. Agent permissions (allow, ask or deny), custom roles, monthly token limits, usage and audit records, a public REST API with team API keys and signed outbound webhooks.
Each of these has a page in the docs.
flowchart LR
subgraph Sources["Events"]
GH["GitHub App webhooks"]
JI["Jira (Forge app or webhook)"]
SNS["CloudWatch alarms via SNS"]
UI["Dashboard, API, MCP clients"]
end
subgraph AWS["Your AWS account (or CoderHelm's)"]
CF["CloudFront"]
GW["Gateway Lambda (Rust)<br/>signatures, OAuth, REST API, MCP"]
Q[("SQS queues")]
WK["Worker Lambda (Rust)<br/>triage, plan, code, test, review"]
DB[("DynamoDB and S3")]
SM[("Secrets Manager and KMS")]
SL["Smaller Lambdas<br/>logs, updater, cleanup, sign-in"]
end
M["Claude<br/>Amazon Bedrock or Anthropic API"]
PR["Pull requests, reviews and comments on GitHub"]
GH --> GW
JI --> GW
SNS --> GW
UI --> CF --> GW
GW --> Q --> WK
GW --> DB
WK --> DB
WK --> SM
WK --> M
WK --> PR
SL --> DB
- The gateway checks each webhook's signature, finds the team and repository, serves the REST API and the MCP server, and puts a job on the queue.
- The worker runs the job: runs, reviews, plans, CI fixes, security fixes and the rest of the agent work. Every agent action goes through the team's agent permissions, so anything risky waits for a person.
- The infrastructure is AWS CDK v2, built from one JSON config, so the hosted service and a self-hosted install are the same stacks with different settings.
- The installer (
coderhelm-selfhost) installs, checks, updates, backs up and removes a self-hosted install.
| Component | Technology |
|---|---|
| Gateway and worker | Rust, async, compiled for ARM64 Lambda |
| Models | Claude, through Amazon Bedrock or the Anthropic API |
| Infrastructure | AWS CDK v2 (TypeScript), deployed as CloudFormation |
| Queue, storage, sign-in | Amazon SQS, DynamoDB, S3, Cognito |
| Web | CloudFront in front of the dashboard and the API |
| Jira | Atlassian Forge app (Node.js) |
| Installer | Node.js 20+, no global install |
The easiest way is the browser install guide: one click opens an AWS quick create page, the guide follows the install, creates your GitHub App in one click, checks model access on Amazon Bedrock and helps with your own domain.
From a terminal (Node.js 20+ and the AWS CLI v2, signed in to your account):
npx -y github:CoderHelm/coderhelm-platform init # a few questions, writes coderhelm.config.json
npx -y github:CoderHelm/coderhelm-platform deploy # deploys, uploads the dashboard, creates your GitHub App
npx -y github:CoderHelm/coderhelm-platform doctor # checks the install and says how to fix what failsOr with the release's install script, which checks the installer's signature before it runs anything:
curl -fsSL https://github.com/CoderHelm/coderhelm-platform/releases/latest/download/install.sh | shNo Rust, Docker or domain needed: releases ship built Lambda code, and without a domain CoderHelm runs on a CloudFront address.
Updates. Press Update in Settings, then System, let the install update itself in a maintenance window on the Stable or nightly Beta channel, or run:
npx -y github:CoderHelm/coderhelm-platform version # the installed release and the latest one
npx -y github:CoderHelm/coderhelm-platform update # the latest release, or --to vX.Y.Z
npx -y github:CoderHelm/coderhelm-platform rollback # back to the previous releaseGuides: requirements, quick start, what it creates in your AWS account, updates, hybrid, troubleshooting and uninstall. Their source is docs/self-host/.
An install or update uses nothing from a release until two checks pass:
- The tag is on
mainand vouched for. It is an annotatedvX.Y.Ztag on a commit onmain, either signed by a maintainer SSH key pinned inselfhost/maintainers.jsonor attested by the automatic release workflow onmainwith a keyless Sigstore signature. - The release was built and signed by this repository's release workflow from that commit.
SHA256SUMScarries a keyless cosign signature fromrelease.ymlon that tag, and every file must match its checksum.
If any check fails, nothing is installed. To check a release yourself with cosign:
V=v0.8.59 # the release to check
R=CoderHelm/coderhelm-platform
COMMIT=$(git ls-remote "https://github.com/$R.git" "refs/tags/$V^{}" | cut -f1)
for f in SHA256SUMS SHA256SUMS.sigstore.json; do
curl --proto =https -fsSLO "https://github.com/$R/releases/download/$V/$f"
done
cosign verify-blob --bundle SHA256SUMS.sigstore.json \
--certificate-identity "https://github.com/$R/.github/workflows/release.yml@refs/tags/$V" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-github-workflow-repository "$R" \
--certificate-github-workflow-ref "refs/tags/$V" \
--certificate-github-workflow-sha "$COMMIT" \
SHA256SUMSThe full procedure, including the tag check and the Launch Stack template, is in How updates are kept safe.
| Path | What it is |
|---|---|
services/gateway/ |
Rust Lambda: webhooks (GitHub, Jira, SNS, knowledge), OAuth, the REST API, the MCP server, queue dispatch |
services/worker/ |
Rust Lambda: runs, reviews, plans, CI fixes and the other agent work |
services/common/ |
Shared Rust code: models, knowledge, agent permissions, notifications |
lambda/ |
Smaller Lambdas: log analyzer, updater, MCP proxy, stuck run cleanup, sign-in messages, install helpers |
coderhelm-jira/ |
Atlassian Forge app that sends Jira Cloud events to the gateway |
infra/ |
AWS CDK v2 for all cloud infrastructure, built from one config file (infra/config/) |
installer/ |
coderhelm-selfhost: init, deploy, doctor, update, rollback, auto-update, backup, migrate, uninstall |
selfhost/ |
Release metadata: maintainer keys, migration notes, the dashboard version, install.sh, the Launch Stack bootstrap |
plugins/ |
Example plugin packages |
docs/ |
Self-host guides, the OpenAPI document and operations notes |
scripts/ |
Build, release protection and maintenance scripts |
| Tool | Version | Notes |
|---|---|---|
| Rust | pinned in services/rust-toolchain.toml |
rustup installs it on first build |
cargo-zigbuild |
0.24.0 | cargo install cargo-zigbuild --version 0.24.0 --locked, plus Zig |
| Node.js | 20 or newer | infra, installer, Jira app, MCP proxy |
| Python | 3 | the smaller Lambdas' tests |
| AWS CLI | v2 | only to deploy |
Build and test, the same commands CI runs:
# Rust gateway and worker
cd services
cargo fmt --check --all
cargo clippy --workspace -- -D warnings
cargo test --workspace
cd ..
bash scripts/rust-build.sh dist # dist/gateway.zip and dist/worker.zip for Lambda
# Infrastructure: config validation and synth tests, then synth
cd infra && npm ci && npm test && npx cdk synth && cd ..
# Installer
cd installer && npm test && cd ..
# Smaller Lambdas
python3 -m unittest discover -s lambda/tests
node --test lambda/pre-signup/handler.test.jsnpx cdk synth uses the hosted deployment's config by default; pass -c config=<file> for another. Every deployment is built from one JSON config: see the config reference. Secrets live in AWS Secrets Manager at coderhelm/<stage>/secrets, and a self-hosted install's are created and filled by the installer.
deploy.ymldeploysmainto the hosted service.auto-release.ymlcuts a nightly Beta release ofmain's deployed head and promotes the newest Beta to Stable once it has been out for a day with no open release blocker, with no person in the loop and no stored signing key.release.ymlpublishes avX.Y.Ztag as a self-host release: built Lambda zips, the dashboard, the source, the installer,install.shand the Launch Stack template, with signed checksums and build provenance.
Please report vulnerabilities privately, as described in SECURITY.md. For how CoderHelm protects code, accounts and secrets, read the security overview and the self-host security model.
Issues and pull requests are welcome. For a bigger change, open an issue first so we can agree on the approach. Questions and support: support@coderhelm.com.
CoderHelm is licensed under the Functional Source License, Version 1.1, with Apache 2.0 as the future license (FSL-1.1-ALv2). In plain words:
- You can run it, change it and self-host it for your own company.
- You can't offer it, or something built from it, as a competing hosted product.
- Each release becomes Apache 2.0 two years after it ships.
The full terms are in LICENSE.md.