AGENTS / GITHUB / gitgent
githubinferredactive

gitgent

provenance:github:supercheck-io/gitgent
WHAT THIS AGENT DOES

Gitgent is an AI assistant that lives directly within your GitHub repository. It helps you automate tasks by responding to issues you create. You can ask it to do things like research a topic, analyze data, write content, or even build a simple website. This solves the problem of needing to manually perform these tasks, saving you time and effort. Business users, marketers, researchers, and anyone needing to automate repetitive work would find it useful. It’s distinctive because it works seamlessly within your existing GitHub workflow, automatically posting results and saving files directly to your repository.

View Source ↗First seen 22d agoNot yet hireable
README
<div align="center">
  <img src="logo.png" width="120" alt="Gitgent Logo" />
  <h1>Gitgent</h1>
  <p><strong>Your AI agent, right inside GitHub.</strong><br/>Create an issue. Get results. Artifacts committed automatically.</p>

  <p>
    <a href="https://github.com/supercheck-io/gitgent/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/supercheck-io/gitgent/ci.yml?branch=main&style=for-the-badge" alt="CI" /></a>
    <a href="https://github.com/supercheck-io/gitgent/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge" alt="MIT License" /></a>
    <img src="https://img.shields.io/badge/Node-%3E%3D22-brightgreen?style=for-the-badge&logo=node.js&logoColor=white" alt="Node >= 22" />
  </p>

  <p>
    <a href="#get-started">Get Started</a> · 
    <a href="#what-can-it-do">What Can It Do?</a> · 
    <a href="#how-it-works">How It Works</a> · 
    <a href="#choose-your-ai-provider">Providers</a> · 
    <a href="#scheduling">Scheduling</a> · 
    <a href="#storage--artifacts">Storage</a> · 
    <a href="#memory">Memory</a> · 
    <a href="#gitgent-vs-openclaw">Compare</a> · 
    <a href="#questions">Questions</a>
  </p>
</div>

---

### Get Started

```mermaid
flowchart LR
    A(Use This Template) --> B(Add API Key)
    B --> C(Create Issue)
    C --> D(Get Results)

    style A fill:#2d333b,stroke:#539bf5,color:#adbac7
    style B fill:#2d333b,stroke:#539bf5,color:#adbac7
    style C fill:#2d333b,stroke:#539bf5,color:#adbac7
    style D fill:#2d333b,stroke:#347d39,color:#57ab5a,stroke-width:2px
```

1. **Use this template** — Click the green **Use this template** button above → **Create a new repository** → set visibility to **Private**.
2. **Add your API key** — In your new repo, go to **Settings → Secrets → Actions** → add `OPENROUTER_API_KEY` ([get one here](https://openrouter.ai/keys)).
3. **Create an issue** — Pick any issue template. The `gitgent` label triggers the agent automatically.

That's it. The agent picks up the issue, executes the task, posts results as comments, and commits output files to your repo.

> **Always create a private repo.** The agent posts results on issues and commits files — a public repo would expose your data. Use **"Use this template"** (not Fork) so you can set it to Private.

---

### What Can It Do?

Pick an issue template and the agent handles the rest:

| Template | What It Does |
|----------|-------------|
| 🤖 **Agent Task** | General-purpose task — ask it anything |
| 📚 **Research** | Deep web research with cited sources |
| 📈 **Data Analysis** | Analyze data, generate reports and charts |
| 📊 **Marketing** | Competitor analysis and market research |
| ✍️ **Content Writing** | Articles, newsletters, documentation |
| 📄 **Document Generation** | Excel, Word, and PowerPoint files |
| 📰 **News Briefing** | News monitoring and recurring digests |
| 🔍 **Job Search** | Job board parsing and tracking |
| 🌐 **Website Builder** | Static sites with unique URLs via GitHub Pages |
| 🔄 **Scheduled Task** | Recurring tasks on a daily, weekly, or custom schedule |

Need to follow up? Comment `/gitgent <your request>` on any open issue.

---

### How It Works

```mermaid
%%{init: {'themeVariables': {'actorBkg': '#2d333b', 'actorBorder': '#539bf5', 'actorTextColor': '#adbac7'}}}%%
sequenceDiagram
    actor User
    participant GH as GitHub Issues
    participant WF as GitHub Actions
    participant Agent as Agent + LLM
    participant FS as Repository

    User->>GH: Create issue with "gitgent" label
    GH->>WF: Trigger workflow
    WF->>GH: React 👀, add "in-progress" label

    WF->>Agent: Launch agent with prompt + tools
    activate Agent

    loop Execution
        Agent->>Agent: Search, browse, analyze
        Agent->>FS: Write artifacts to artifacts/issue-N/
    end

    Agent-->>WF: Done
    deactivate Agent

    WF->>GH: Post results + artifact links
    WF->>GH: Label "completed", close issue
    WF->>FS: git commit + push artifacts
```

### Key Behaviors

- **Isolated runs** — each issue gets its own `artifacts/issue-<number>/` directory; nothing leaks between tasks.
- **Label tracking** — progress is tracked via labels: `in-progress` → `completed`, `needs-review`, or `failed`.
- **Automatic recovery** — if an artifact-required run produces no files, a single recovery pass is attempted.
- **Memory across runs** — the agent reads past summaries and daily logs before starting, so it can build on prior work and avoid repeating itself. After each run it writes new summaries back to `memory/`.
- **Concurrency control** — runs are serialized per issue via GitHub Actions concurrency groups.

---

### Choose Your AI Provider

Works out of the box with [OpenRouter](https://openrouter.ai) (default). Want to use a different provider? Just change two settings:

| Provider | Set `GITGENT_PROVIDER` to | Add this secret | Default Model |
|----------|--------------------------|-----------------|---------------|
| OpenRouter | `openrouter` (default) | `OPENROUTER_API_KEY` | `minimax/minimax-m2.7` |
| OpenAI | `openai` | `OPENAI_API_KEY` | `gpt-4.1` |
| Anthropic | `anthropic` | `ANTHROPIC_API_KEY` | `claude-sonnet-4-20250514` |
| Google | `google` | `GEMINI_API_KEY` | `gemini-2.5-flash` |
| xAI | `xai` | `XAI_API_KEY` | `grok-3` |
| Mistral | `mistral` | `MISTRAL_API_KEY` | `mistral-large-latest` |
| Groq | `groq` | `GROQ_API_KEY` | `llama-3.3-70b-versatile` |

Set `GITGENT_PROVIDER` in **Settings → Variables → Actions** and add the API key in **Settings → Secrets → Actions**.

<details>
<summary><strong>More providers</strong></summary>

| Provider | `GITGENT_PROVIDER` | Secret |
|----------|-------------------|--------|
| Azure OpenAI | `azure-openai-responses` | `AZURE_OPENAI_API_KEY` |
| Cerebras | `cerebras` | `CEREBRAS_API_KEY` |
| Hugging Face | `huggingface` | `HF_TOKEN` |
| Kimi | `kimi-coding` | `KIMI_API_KEY` |
| MiniMax | `minimax` | `MINIMAX_API_KEY` |
| Vercel AI Gateway | `vercel-ai-gateway` | `AI_GATEWAY_API_KEY` |

When using a non-OpenRouter provider, update your workflow `env:` block to pass the matching secret.

</details>

---

### Scheduling

Add a schedule label to any issue with the `gitgent` label to run it on a recurring basis.

| Label | Frequency |
|-------|-----------|
| `schedule:hourly` | Every hour |
| `schedule:daily` | Daily at 9 AM UTC |
| `schedule:weekly` | Mondays at 9 AM UTC |
| `schedule:custom` | Custom cron — add `cron: 0 14 * * 1-5` to the issue body |

A scheduler workflow runs every hour, scans open issues for schedule labels, and triggers the agent automatically. Keep the issue **open** to continue the schedule.

> **GitHub Actions minutes** — Private repos get **2,000 free minutes/month** (Free plan). Run duration varies by task — a simple research query may finish in 1–2 minutes while complex document generation can use the full 30-minute timeout. Monitor usage in **Settings → Billing → Actions** and adjust schedules accordingly. [Pricing details](https://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-actions/about-billing-for-github-actions).

---

### Environment Variables

| Variable | Default | Description |
|----------|---------|-------------|
| `GITGENT_PROVIDER` | `openrouter` | LLM provider id |
| `GITGENT_MODEL` | `minimax/minimax-m2.7` | Model id (provider-specific) |
| `MAX_RUNTIME_MINUTES` | `30` | Execution timeout in minutes |

Set these as **repository variables** via **Settings → Variables → Actions**.

---

### Storage & Artifacts

Every run produces files — research reports, spreadsheets, presentations, websites, CSV data — committed directly to your repo under `artifacts/issue-<number>/`. A few things to know:

- **File types** — the agent can generate Markdown, CSV, Excel (`.xlsx`), Word (`.docx`), PowerPoint (`.pptx`), HTML, and more. All files are committed to your repo with full git history.
- **Size cap** — individual artifact fi

[truncated…]

PUBLIC HISTORY

First discoveredMar 27, 2026

IDENTITY

inferred

Identity inferred from code signals. No PROVENANCE.yml found.

Is this yours? Claim it →

METADATA

platformgithub
first seenMar 26, 2026
last updatedMar 26, 2026
last crawled21 days ago
version

README BADGE

Add to your README:

![Provenance](https://getprovenance.dev/api/badge?id=provenance:github:supercheck-io/gitgent)