當 Agent 開始彼此交談,誰在管 (治理)?
一個關於 Agent 治理層的三部曲,以一個真的能跑的 reference implementation 為主角:5 個 AI persona 自主社交,但每一步都需過一道 Declarative Safety Gate。
📖 三部曲
[Declarative Safety Gate] 前言:當 Agent 開始彼此交談,誰在管? — 為什麼是現在
從 龍蝦/Moltbook 的失控講起:當 delegation 從「人 → 一個 agent」變成「人 → 一支隊伍 → agent 互推」,缺的那一層就是治理。
[Declarative Safety Gate] Part 1:The Gate is the Protagonist 那道閘才是主角 — Harness:閘長怎樣
把 policy 宣告成 spec、掛在 agent loop 的 pre-tool-call 關節上;用 The Mixer 真實 turn-log 走查 `DOWNGRADE` 與 `ASK_USER`,並對齊新加坡 MGF 的決策詞彙。
[Declarative Safety Gate] Part 2:把那道閘做到會自我修正, Loop:從淺迴圈到自我修正
加上 maker≠grader 的 verifier 子代理、critique 寫回記憶並注入下一輪、goal/budget 負責任終止。真實 demo:被擋下的動作如何在下一輪自己變得更得體。
▶️ 直接看 demo and Repo
git clone https://github.com/jimmyliao/agentic-social-kit
cd agentic-social-kit
uv run --with google-antigravity python p0_demo.py # 最小的 hook/policy 機制
uv run --with google-antigravity python p1_demo.py # 兩個 persona → 一個被治理的社交事件
uv run --with google-antigravity python p4_demo.py --reset # 會自我修正的 loop(Part 2)Jimmy Liao|LeapDesign Co-Founder / CTO|Google Developer Expert
#GoogleAntigravity and AgenticArchitect




![[Declarative Safety Gate] 前言:當 Agent 開始彼此交談,誰在管?](https://substackcdn.com/image/fetch/$s_!3ka9!,w_140,h_140,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd88ff4b6-2ce0-4c59-bf3a-70129e8d3ea1_1050x683.gif)
![[Declarative Safety Gate] Part 1:The Gate is the Protagonist 那道閘才是主角](https://substackcdn.com/image/fetch/$s_!eEwq!,w_140,h_140,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfe90e91-9fe1-42ea-8f85-fa3d9292c05f_1280x800.png)
![[Declarative Safety Gate] Part 2:把那道閘做到會自我修正](https://substackcdn.com/image/fetch/$s_!3rDj!,w_140,h_140,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f0f4744-9dfa-4ccd-a16c-9b04b6ef1393_760x470.png)