본문으로 건너뛰기
Skillpedia
에이전트48k · #6290

polis-protocol

하는 일

여러 AI 에이전트가 학습하는 팀으로 함께 일하도록 조율합니다. 똑똑한 ‘라우터’가 과거 성과를 바탕으로 각 작업에 가장 적합한 에이전트를 정합니다. 팀의 규칙도 에이전트들이 직접 바꿀 수 있습니다.

사용하는 경우

  • ✓여러 AI 에이전트(서로 다른 제공자)가 하나의 프로젝트에서 함께 일할 때.
  • ✓결과로부터 배워 팀이 시간이 지나며 나아지기를 원할 때.
  • ✓누가 무엇을 했고 어떤 규칙이 바뀌었는지 명확한 기록이 필요한 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/polis-protocol/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/polis-protocol/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“AI 팀은 이 문서를 번역하기에 어떤 에이전트가 가장 적합한지 어떻게 결정하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

각 에이전트에는 기술을 설명하는 프로필이 있습니다. 작업이 들어오면 지능형 시스템이 그 유형의 작업에서 가장 좋은 실적을 가진 에이전트를 고릅니다. 시스템은 완료된 작업마다 배워서 다음 선택을 개선합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Polis Protocol — a team of agents that develops

Overview

Most agent coordination is a passive board: claim a task, do it, mark it done. It records, but it never gets smarter, and its rules are frozen. Polis Protocol is the active alternative — a folder of markdown where each agent is a "citizen" with a capability card, work is routed by a learning bandit to whoever has the best track record on the task's tags, settled work files lessons that update the routing, and citizens can propose and vote on amendments to the protocol itself. It is vendor-agnostic: Antigravity, Claude, Codex, and Gemini agents can all share one _polis/.

In Antigravity specifically, this turns Manager View's fixed pipeline into a team that learns who is actually best at each kind of work, instead of running the same roles in the same order every time.

When to Use This Skill

  • Use when 2+ agents (especially across vendors) work on one project and "who should do this" is a real question.
  • Use when you want the team to measurably improve over time — routing that adapts from outcomes, not static role labels.
  • Use when you need a durable, git-auditable record of who did what, what was learned, and which rules changed.
  • Use when Antigravity's default orchestration is too rigid and you want routing + governance on top of it.

How It Works

Step 1: Found a polis

Use a reviewed checkout by default so the scaffolder code is pinned before it writes into the project:

git clone https://github.com/yehudalevy-collab/polis-protocol.git
cd polis-protocol
git checkout <reviewed-commit-sha>
python3 scripts/init_polis.py \
  --project-root . \
  --agent-id gemini-antigravity-yourproject \
  --vendor google --model gemini-3 --tool antigravity

If you prefer the published PyPI package, install an exact version after reviewing that release, for example pipx install polis-protocol==<reviewed-version>. Do not invoke the package through an unpinned uvx or "latest" workflow for automated setup.

This writes _polis/ plus the skill into .agents/skills/ (the path Antigravity reads), and bridge pointers (GEMINI.md, AGENTS.md) that point every tool at _polis/CONSTITUTION.md. Tip: add --dry-run to preview every file before anything is written; init never overwrites existing files, and polis init --repair restores missing ones.

Step 2: Register citizens and open contracts

Each agent publishes a capability card under _polis/citizens/. Work is opened as a contract with required_tags, not assigned to a fixed role.

Step 3: Route by track record

polis route --polis-root _polis \
  --contract _polis/contracts/open/your-task.md --explain

The router prints a score breakdown (history / self-rating / cost / availability / applied lessons) and recommends the citizen with the strongest record on the task's tags. Agents can also reserve files (polis reserve src/auth --as <citizen>) so two agents never edit the same path at once — overlapping claims are rejected with the holder named.

Step 4: Settle, learn, and amend

polis contract settle <contract-id> --quality 5
polis reconcile --polis-root _polis

A settled contract files a lesson; accepted lessons carry a bounded routing_effect the router reads — and names in --explain — on the next similar task. Failures become guardrails (polis guardrail add …) that future contracts on those tags inherit as must-pass acceptance criteria. When a rule stops working, a citizen proposes an amendment and the others vote. Reproduce the learning claim yourself: polis bench --mode learning.

Examples

Example 1: See the team learn (no install, 30 seconds)

git clone https://github.com/yehudalevy-collab/polis-protocol.git
cd polis-protocol
git checkout <reviewed-commit-sha>
bash scripts/demo.sh

The router recommends Gemini for a Spanish-translation contract — because settled work taught it she has the best record on that tag, not because anyone reassigned it.

Example 2: Explain any routing decision

python3 scripts/route_contract.py --polis-root examples/research-team/_polis \
  --contract examples/research-team/_polis/contracts/open/parent-newsletter-issue-3.md --explain

Notes

  • No server, no runtime, no database — the whole protocol is markdown plus two small Python scripts.
  • Vendor-agnostic by design; a Claude or Codex agent can join the same polis an Antigravity agent created.

…

자주 묻는 질문

‘시민’이란 무엇인가요?

팀의 일부인 AI 에이전트를 말합니다. 각 에이전트는 무엇을 할 수 있는지 설명하는 ‘역량 카드’를 가집니다.

팀의 규칙은 어떻게 바뀌나요?

에이전트들이 규칙 변경을 제안하고 투표할 수 있어, 팀이 적응하고 개선할 수 있습니다.

복잡한 것을 설치해야 하나요?

아니요, 이 시스템은 간단한 텍스트 파일(markdown)과 몇 개의 작은 스크립트로 작동하며, 복잡한 서버나 데이터베이스가 필요하지 않습니다.

상세 정보

작성자의 원본 설명

Coordinate multi-vendor AI agents as a self-improving team — a learning router assigns work by track record and citizens can amend the protocol's own rules.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#6290
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬