Skip to content

About

An engineering platform for your tickets, pull requests, alerts and releases: tickets to PRs, PR review, alerts to fixes, flaky tests, security fixes, Chat and App map. Self-host on AWS (Rust on Lambda, CDK, installer) or use the hosted beta. Claude via Bedrock or Anthropic. Source available (FSL-1.1-ALv2).

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

CoderHelm: an engineering platform for your tickets, pull requests, alerts and releases

CI Latest release License: FSL-1.1-ALv2 Docs

CoderHelm is an engineering platform for teams on GitHub and Jira. It turns tickets into pull requests and stays on them after they open, reviews your team's pull requests, turns production alerts into fixes, finds and quarantines flaky tests, fixes vulnerable dependencies, and tags releases with notes. Chat answers questions about your code and cites the lines, knowledge syncs from the tools your team already writes in, and the App map shows how your repositories fit together. Run it in your own AWS account, or use the hosted service.

This repository is the engine: a Rust gateway and worker on AWS Lambda, the AWS CDK infrastructure, the Jira app and the self-host installer. 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

Try it

  • Hosted (open beta). Sign up at app.coderhelm.com and paste your own Anthropic API key in Settings, AI models. Model usage goes on your Anthropic bill. See Getting started.

  • Self-hosted. The install guide deploys CoderHelm into your AWS account as one CloudFormation stack from the browser, or use the terminal commands below. You need:

    • an AWS account you can administer, in a region with Lambda on ARM64, Cognito and SES;
    • a GitHub account or organization where you can create a GitHub App (the installer creates it with one click);
    • Claude through Amazon Bedrock in your account, or each team's own Anthropic API key.

    You pay AWS directly. The installer's estimate for a small team is about $11 to $62 a month in AWS charges, before model usage; the build sandbox and logs are the parts that grow with use. See Requirements for what it costs and why.

How it differs

  • It runs in your account. A self-hosted install is CloudFormation stacks in your AWS account. Your code, runs, reviews, knowledge and secrets stay there, and model calls go to Bedrock in that account or to Anthropic with your key. A fully private install sends nothing to CoderHelm; a hybrid one can borrow CoderHelm's address and apps, and its docs list exactly what passes through. The hosted service runs the same code.
  • It stays on the pull request after it opens. It fixes failing CI, answers review comments and resolves conflicts on its own pull requests, and with auto merge on it merges only the exact commit it reviewed after a person approves.
  • Every agent action goes through permissions. Each action is allowed, asked or denied by the team's agent permissions; anything set to ask waits for a person.
  • Source available. The code is public under FSL-1.1-ALv2: you can read it, run it and change it for your own use, and each release becomes Apache 2.0 two years after it ships.

What runs here

  • Tickets to pull requests. Assign a GitHub issue or Jira ticket, add the coderhelm label or comment /coderhelm. The worker triages it, plans the files it will touch, writes the change on a coderhelm/ 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.
  • Releases. Tags a release after merges and writes release notes, published to the GitHub release, Confluence or email; with auto merge on, it checks the deploy and reports only new failures.
  • 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, App map and MCP. Chat reads the code and cites paths and lines; the App map is a plain-English map of how a team's repositories fit together; 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.

Architecture

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
Loading
  1. 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.
  2. 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.
  3. 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.
  4. 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

Self-host in your own AWS account

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 fails

Or 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 | sh

No 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 release

Guides: requirements, quick start, what it creates in your AWS account, updates, hybrid, troubleshooting and uninstall. Their source is docs/self-host/.

How releases are signed and verified

An install or update uses nothing from a release until two checks pass:

  1. The tag is on main and vouched for. It is an annotated vX.Y.Z tag on a commit on main, either signed by a maintainer SSH key pinned in selfhost/maintainers.json or attested by the automatic release workflow on main with a keyless Sigstore signature.
  2. The release was built and signed by this repository's release workflow from that commit. SHA256SUMS carries a keyless cosign signature from release.yml on that tag, and every file must match its checksum.

If any check fails, nothing is installed. To check a release yourself with cosign:

R=CoderHelm/coderhelm-platform
V=$(curl -fsSL "https://api.github.com/repos/$R/releases/latest" | sed -n 's/.*"tag_name": *"\([^"]*\)".*/\1/p')   # the latest stable release, or set one
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" \
  SHA256SUMS

The full procedure, including the tag check and the Launch Stack template, is in How updates are kept safe.

Repository layout

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

Development

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 --all-targets -- -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.js lambda/custom-message/handler.test.js

npx 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.

Deploys and releases

  • deploy.yml deploys main to the hosted service.
  • auto-release.yml cuts a nightly Beta release of main'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.yml publishes a vX.Y.Z tag as a self-host release: built Lambda zips, the dashboard, the source, the installer, install.sh and the Launch Stack template, with signed checksums and build provenance.

Security

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.

Contributing and support

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.

License

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.

About

An engineering platform for your tickets, pull requests, alerts and releases: tickets to PRs, PR review, alerts to fixes, flaky tests, security fixes, Chat and App map. Self-host on AWS (Rust on Lambda, CDK, installer) or use the hosted beta. Claude via Bedrock or Anthropic. Source available (FSL-1.1-ALv2).

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages