[Integration]: attenu-guard

Đang mở
#813 0 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 9 ngày

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

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
ai, tooling

Hướng nghiên cứu

Read the integration listing process introduced for #585 and compare its requirements with the attenu-guard details here. The issue asks to list the integration, but the author maintains the package and reports no third-party pipeline use; check what evidence the listing process requires and whether the existing snippet and tests meet it. Done means the maintainers can decide whether attenu-guard qualifies for the listing.

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

Mô tả

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

attenu-guard

Integration type

Tool Integration

Published package or repo (if it exists)

https://pypi.org/project/attenu-guard/ and https://github.com/attenu-io/attenu-guard

Need or proof of use

This replaces #585, which you closed for the new process. I don't know of a third-party project that uses it in a pipeline yet. The proof is the #585 snippet and our tests. The snippet runs offline with a scripted model: a sub-agent behind AgentTool calls crm_export, which it was never granted, and the call is denied before the tool body runs. I ran it again today with attenu-guard 0.23.0 and haystack-ai 3.5.0. The adapter tests run in our CI against haystack-ai 3.1.0, and weekly against the latest.

Short description

A sub-agent behind AgentTool runs with the tool list it was built with. attenu-guard (Apache-2.0) checks each call of the tools you wrap with it against the authority of the agent making it, and a sub-agent gets at most what its caller holds. It hooks in through a Tool subclass and the ConfirmationStrategy protocol. A denial is a ToolInvocationError.

I maintain attenu-guard.

Ngôn ngữ chính
Python
Star
114
Fork
332
Merge trung bình
5 ngày 1 giờ
Pull request đã merge (30 ngày)
13

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 deepset-ai/haystack-integrations

Tất cả issue của deepset-ai/haystack-integrations

Issue tương tự

Thêm issue về Python

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.