Pi Agent Action — AI skill for Claude Code
GitHub Action that runs the pi coding agent on issues and pull requests, with any model provider.
How to install Pi Agent Action
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lw396/pi-agent-action and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pi Agent Action does
GitHub Action that runs the pi coding agent on issues and pull requests, with any model provider. A drop-in replacement for claude-code-action.
Alternatives in AI
- Loushang — AI-native agent harness for coding workflows by python: multi-model LLM orchestration, stateful sessions, tool 1.3k ★
- My Free Code — Open-source multi-provider AI gateway for Claude Code and other coding agents, with model routing, streaming 633 ★
- Claude Hub — by Claude Did This - A webhook service that connects Claude Code to GitHub repositories, enabling AI-powered c 393 ★
README
pi-agent-action
[](https://github.com/lw396/pi-agent-action/actions/workflows/ci-all.yml) [](./LICENSE)
A GitHub Action that runs the [pi coding agent](https://github.com/earendil-works/pi) on your issues and pull requests, with the model of your choice. Mention `@pi` in a comment to have it answer a question, review a change or implement a fix, or give it a `prompt` to run an automation. Claude, GPT, Gemini, models on Amazon Bedrock or Google Vertex AI, OpenRouter and any other provider pi supports all work the same way: you pick the model, the workflow stays the same.
[!NOTE] This project is based on [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) (MIT) and offers a migration path for its workflows. It is not an official product of Anthropic or of the pi project.
Features
- Any model: set
modelto/; switching providers changes one input and one secret - Two modes, picked automatically: tag mode answers
@pimentions, assignments and labels on issues and pull requests; agent mode runs thepromptyou give it, on any event - Code review and implementation: reads the issue or pull request, the diff and CI status, then answers, leaves inline review comments or pushes a branch with the fix
- Progress tracking: a comment that updates as the agent works, with a link to the job run
- Structured output:
json_schematurns the agent's answer into validated JSON action outputs - Explicit permissions: the agent can always read files; every other tool call needs an
allowed_toolsrule - Runs on your runner: the agent runs inside the action on your GitHub runner, and model requests go straight to your provider
Quickstart
To have a coding agent (pi, Claude Code, Codex, ...) set it up for you, paste this into it from your
Related Skills
Code Agent
An AI Agent that operates on GitHub Actions. By using this action, you can directly invoke Coding Agent CLI fr
Devintern
Turn tracker tickets into pull requests with the coding agent and model you choose. FSL source-available.
Prlense
Understand vibe-coded pull requests before you approve them, whether a person wrote them with AI or an agent o
Semble Rs
Fast, AI-agent-native code search in Rust — hybrid BM25 + semantic, Tree-sitter AST chunking, dependency & imp
Free Search API
Self-hosted, keyless, unlimited web search API. Drop-in replacement for Tavily, Serper, Brave Search API and S
Memory Lean
A token-lean MCP memory server for AI coding agents: a knowledge graph your agent can search without reading t
Related Agents
GitHub Issues Specialist
GitHub Issues and Pull Requests specialist optimized for AI-agent workflows. Use PROACTIVELY for writing well-
Pi Implementer
Implementation lane driven by the pi CLI (a local multi-provider coding agent, distinct from omp). Model-agnos
Opencode
Coding subagent that runs inside opencode, on any provider and model opencode supports (OpenAI, Google, Moonsh