community-automations/postgres-conv-agent

研究與情報

PublicClaude 子代理

Postgres 對話代理程式

大多數需要從 Postgres 撈數字的人都不會寫查詢,只能開工單乾等。這套 agent 讓他們直接在對話裡提問,就能拿到答案。

sonnet3 天PostgresOpenAILangChainpgBouncer
ClaudeClaude
ROI for
README.md

為什麼選擇此子代理

大多數需要從 Postgres 撈數字的人都不會寫查詢,只能開工單乾等。這套 agent 讓他們直接在對話裡提問,就能拿到答案。

每個連線都透過唯讀角色進行,資料庫裡的任何資料都不會遭到更動。agent 會撰寫 SELECT、執行查詢、用白話解釋每一列結果,並在底下顯示完整的 SQL,讓結果值得信賴。

運作方式

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

輸出範例

json
// Sample output
// (generated when the pipeline finishes)

Answer questions about the Postgres database using read-only SELECT queries and report both the result and the SQL used.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.