Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[RFC] Policy Facilitator pattern for Agentic Wallets — Dreamline as reference implementation

Đang mở
#1,055 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
32/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

Bắt đầu bằng việc xem xét tích hợp x402 của AgentKit và tùy chọn facilitatorUrl được đề xuất, sau đó so sánh luồng /facilitator/verify với endpoint settlement của CDP. Công việc được xem là hoàn tất khi extension point Policy Facilitator, hành vi cấu hình và danh sách community-facilitator được ghi lại tài liệu hoặc triển khai, kèm theo hướng dẫn của dự án và validation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

Agentic Wallets give agents autonomous spending power.
The built-in guardrails (spending caps, OFAC screening) are static
and centralized in CDP infrastructure.

There is no standard way for developers to add:

  • Custom destination whitelists/blacklists
  • Per-agent policy rules (max per tx, daily budget)
  • Immutable on-chain enforcement that survives server compromise

Proposal

A Policy Facilitator pattern for x402-compatible Agentic Wallets.

Instead of routing payments directly to https://api.cdp.coinbase.com/platform/v2/x402,
agents route to a policy facilitator first:

Agent → POST /facilitator/verify (Dreamline)
→ on-chain blacklist check ✓
→ policy check ✓
→ approved → CDP settlement as normal

Live implementation

Integration (3 lines)

const { createDreamlineClient } = require('dreamline-x402');
const fetch = createDreamlineClient({ apiKey: 'dlk_your_key' });
await fetch('https://api.example.com/paid-resource');

Request

  1. Document the Policy Facilitator pattern as a standard extension point
  2. Add facilitatorUrl as a configurable option in AgentKit
  3. List Dreamline as a community facilitator in the x402 ecosystem

— @getdreamline

Ngôn ngữ chính
TypeScript
Star
1.3k
Fork
842
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coinbase/agentkit

Tất cả issue của coinbase/agentkit

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.