polis-protocol-a-self-optimizing-city-of-agents
Fungsinya
Sistem ini memungkinkan berbagai kecerdasan buatan (agent) bekerja sama dalam proyek jangka panjang. Mereka diatur seperti sebuah kota, di mana setiap agent memiliki peran dan belajar dari pengalaman masa lalu untuk meningkatkan kerja sama tim.
Kapan dipakai
- βSaat Anda membutuhkan beberapa AI untuk berkolaborasi dalam proyek yang kompleks.
- βUntuk mengoptimalkan AI mana yang mengerjakan tugas tertentu, berdasarkan keahlian mereka.
- βSaat Anda ingin proses kerja otomatis meningkat seiring waktu.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/polis-protocol-a-self-optimizing-city-of-agents/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBagaimana cara agar AI Claude dan AI Gemini bisa bekerja sama menulis buku tentang sejarah Brasil?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Sistem ini bekerja seperti sebuah kota di mana setiap AI adalah warganya. Mereka mengikuti aturan (protokol), memperkenalkan diri dengan keahlian mereka (kartu kapabilitas), menerima tugas (kontrak), dan mencatat apa yang mereka pelajari (kronik) agar semuanya bisa berkembang bersama.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Bundled upstream support
Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes.
Polis Protocol: A Self-Optimizing City of Agents
When to Use
Use this skill when you need polis Protocol: A Self-Optimizing City of Agents.
A protocol that lets AI agents from different vendors collaborate on a long-running project, route work to whoever is best at it, and get measurably better over time. Everything lives in a folder of markdown files, so any tool that reads and writes text can participate β no central server, no required runtime.
The core idea
Treat the project as a small polis: citizens (the agents) that share a constitution (the protocol), publish public identities (capability cards), enter contracts (tasks), and leave a public record of how things went (lessons). Three institutions plus a self-change mechanism:
- The Register β identity and capability discovery (capability cards).
- The Contract β structured tasks with learned routing.
- The Chronicle β lessons that compound and feed back into routing.
- The Amendment β citizens change the rules when reality demands it.
This buys what shared-vault setups don't: cross-vendor optimization (work goes to whoever is best at it), self-development (routing improves with use), and constitutional evolution (the protocol updates itself from friction). For pure note-passing without routing, prefer agent-vault.
When this skill is active
Any multi-agent scenario where "who should do this" is a real question: founding or joining a polis; writing, claiming, or settling a contract; running a chavruta review; proposing or ratifying an amendment; or diagnosing a stalled contract, sync conflict, router pathology, or stuck quorum. Upgrading from agent-vault β references/troubleshooting.md ("Migrating from agent-vault").
Structure of a polis
A polis lives in a _polis/ folder at the project root; everything outside it is project content the protocol never touches.
CONSTITUTION.mdβ canonical tool-agnostic protocol Β·index.mdβ current state Β·README.mdβ human explainerchronicle.mdβ append-only event logcitizens/<agent-id>/βcapability_card.yml,status.md,inbox.md,journal.mdcontracts/open/<id>.mdΒ·contracts/settled/<id>.mdΒ·contracts/routing_stats.yml(learned policy, updated on settle)lessons/<capability-tag>/<id>.mdΒ·reviews/<YYYY-MM-DD-HHMM>-<contract>.mdΒ·amendments/proposed|ratified/- Project root also gets
CLAUDE.md/AGENTS.md/GEMINI.mdbridge pointers and.agents/skills/polis-protocol/SKILL.md(Codex/Antigravity copy), all pointing atCONSTITUTION.md.
Citizens link to project files with wikilinks ([[path/to/note]]). The _polis/ folder is the only thing the protocol owns.
The first thing to do every session
Before touching any project file, run the entry routine, in order:
- Polis exists? Look for
_polis/CONSTITUTION.md. If absent, scaffold it (see "Founding a polis"). - You are registered? Look for
_polis/citizens/<self>/capability_card.yml. If absent, register (see "Registering a citizen"). - Read
_polis/CONSTITUTION.mdonce per session β it is the canonical protocol for this polis; this SKILL.md is the seed it grew from. - Read
_polis/index.mdβ where things stand (a two-minute read). - Read your inbox β
_polis/citizens/<self>/inbox.md. - Scan the tail of
chronicle.mdbackward until you reach thelast_seen_event:in yourstatus.md. That is your catch-up. - Read your open contracts β anything in
_polis/contracts/open/withowner: <self>. - Update
last_seen_eventandlast_activein yourstatus.md. - Report back to the user β state of the project, what's in flight, what needs their input, a concrete first move.
If chronicle.md has grown large, the rollover policy (references/troubleshooting.md) keeps it bounded.
The chronicle: recording what you did
After each meaningful action, append exactly one line to _polis/chronicle.md. The format is rigid because the router and other citizens parse it:
- YYYY-MM-DD HH:MM | <agent-id> | <verb-phrase> | [[<wikilink>]] | <one-line note or - >
- 2026-05-14 09:15 | codex-frontend-pesaj | settled contract | [[contracts/settled/auth-refactor]] | tests passing, lesson filed
β¦
Pertanyaan umum
Apa itu 'agent'?
Agent adalah kecerdasan buatan individu yang berpartisipasi dalam proyek.
Apa itu 'protocol'?
Protokol adalah kumpulan aturan yang diikuti semua agent untuk berkolaborasi dan mengambil keputusan.
Bagaimana AI belajar dan berkembang?
Mereka mencatat pelajaran dari setiap tugas dan menggunakan informasi ini untuk memutuskan siapa yang paling cocok untuk tugas berikutnya, sehingga prosesnya menjadi lebih efisien.
Detail
Deskripsi asli dari pembuat
Polis Protocol: A Self-Optimizing City of Agents
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #5466
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.