Skip to content

kramlipi/code-agent-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

kramlipi CI Repair

Verify-gated CI repair for GitHub Actions. Red build → edit in your repo → your verify-cmd exits 0 → optional draft PR.

Not a comment farm. Customer-hosted binary. BYO LLM key. We refuse to edit .github/workflows to fake green.

Marketplace install

- uses: kramlipi/code-agent-action@v0
  with:
    expert: bug-fix
    verify-cmd: pytest -q
    publish: "true"
  env:
    GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
    CODE_AGENT_LICENSE_KEY: ${{ secrets.CODE_AGENT_LICENSE_KEY }}  # optional Team+

Pin a release: @v0.1.3 or a commit SHA.

Fix on failure (copy-paste)

name: Fix with kramlipi
on:
  workflow_run:
    workflows: [CI]
    types: [completed]
jobs:
  fix:
    if: github.event.workflow_run.conclusion == 'failure'
    runs-on: ubuntu-latest
    permissions:
      contents: write
      pull-requests: write
      checks: write
    steps:
      - uses: actions/checkout@v4
        with:
          ref: ${{ github.event.workflow_run.head_branch }}
          fetch-depth: 0
      - uses: kramlipi/code-agent-action@v0
        with:
          expert: bug-fix
          verify-cmd: pytest -q
          publish: "true"
        env:
          GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}

PR review comments

- uses: kramlipi/code-agent-action@v0
  with:
    expert: code-review
  env:
    GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
    GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

Input Default Purpose
expert bug-fix bug-fix · code-review · test-intel
verify-cmd pytest -q Hard gate for bug-fix
publish false Open draft PR when true
base-branch main PR base
version (latest) Pin kramlipi/code-agent-binaries tag
upgrade-url docs pricing Free-cap CTA
pr event PR # For code-review

Secrets

Secret / env Required Purpose
GEMINI_API_KEY or OPENAI_API_KEY Yes BYO LLM
CODE_AGENT_LICENSE_KEY After Free CI quota Team+ for production CI
CODE_AGENT_EMAIL No Explicit Free signup identity
CODE_AGENT_INSTALL_ID No Default github-actions:<repository_id>
CODE_AGENT_SKIP_ACTIVATE No Skip signup

Free CI → paid

First 1000 Free runs need no key (limit remotely updatable). After that, set CODE_AGENT_LICENSE_KEY. Extra Free for design partners is granted only via license API admin (set-quota / grant_free_ci) — there is no client env bypass.

One org key may be used on multiple repos — we record that server-side and notify ops silently (jobs keep running).

Why CI no longer asks to register every run

GitHub runners are ephemeral — ~/.code-agent/profile.json is wiped each job. The Action pins CODE_AGENT_INSTALL_ID to the repository id and auto-registers a CI identity (or your CODE_AGENT_EMAIL / Team key) so signup is non-interactive.

Pricing

  • Community (Free) — evaluation / OSS caps
  • Team — $49/org/mo
  • Business — $199/org/mo

Docs: https://kramlipi.github.io/ · Support: [email protected]

Trust

  • Subprocess verify-cmd exit 0 is truth (LLM cannot override)
  • Workflow YAML edits forbidden
  • Binary from public releases: kramlipi/code-agent-binaries

License

Apache-2.0 for this Action wrapper. Product commercial terms: https://kramlipi.github.io/

About

GitHub Marketplace Action: verify-gated CI repair (kramlipi). Red Actions -> draft PR when your verify-cmd is green.

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors