Autonomous Copilot v2.0

Meet Ghostwriter

The AI agent that lives in your pull requests. It audits code, simulates runtime execution, and orchestrates fixes before you even start your review.

Three Agents. One Mind.

Ghostwriter isn't just a chatbot. It's a multi-agent system powered by Google Gemini 2.0 and Weave.

Security Auditor

Scans diffs for secret leaks, injection risks, and dependency vulnerabilities using Chain-of-Thought reasoning.

Runtime Validator

Actually runs your code. Generates test cases, executes them in a sandbox, and verifies logic before merge.

Orchestrator

Manages the workflow. Decomposes complex PRs, assigns tasks to sub-agents, and synthesizes a final report.

Seamless Integration with GitHub Actions

No complex webhooks to manage. Ghostwriter installs as a GitHub App or runs directly via GitHub Actions.

  • Zero-configuration setup for public repos
  • Private sandbox for code execution
  • Respects .gitignore and security policies
  • comment-based interaction (e.g. '/ghostwriter fix')
ghostwriter-action.yml
name: DevOps Ghostwriter
on:
  pull_request:
    types: [opened, synchronize]

jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - name: Run Ghostwriter Agent
        uses: ghostwriter/agent-action@v2
        with:
          api-key: ${{ secrets.GHOSTWRITER_KEY }}
          enable-runtime: true