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

feat(agents): NEAR AI Cloud inference provider with attestation display

Đang mở
#29 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 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
35/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ệ
python
Lĩnh vực
ai, backend

Hướng nghiên cứu

Read services/ai_agent_service.py and the provider-switch implementation described in feat/toju-agent-storage, then verify attestation steps, model availability, and pricing in the linked NEAR AI Cloud documentation. Trace how chat sessions store provider data and how the UI displays provider status. Done means NEAR AI handles chat and bounded tool calls when explicitly selected, attestation status is shown, and failures never trigger a silent provider fallback.

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

Mô tả

agents chain-integration enhancement tier-2

Summary

Add NEAR AI Cloud (private inference in a trusted execution environment, OpenAI-compatible API) as a selectable inference provider for agent chat, and surface its attestation in the UI.

Motivation

Portfolio and drug-discovery prompts can be sensitive. Verifiable private inference is a meaningful differentiator and fits the existing provider-switch design.

Current state in this repo

  • On main, services/ai_agent_service.py calls AWS Bedrock directly.
  • feat/toju-agent-storage adds services/groq_agent.py with an explicit provider switch (AGENT_LLM_PROVIDER) and a no-silent-paid-fallback rule.

Proposal

  • Add a near provider reusing the OpenAI-compatible tool-calling loop; configure via env.
  • Retrieve and verify the attestation per the NEAR AI documentation and store a summary with the chat session; show a 'private inference verified' indicator.
  • Keep the explicit-selection rule: no automatic provider switching.

Acceptance criteria

  • Selecting the provider routes chat and tool calls to NEAR AI with bounded tool rounds.
  • Failures are reported honestly and never fall back to another provider silently.
  • Attestation status is visible in the UI.

Out of scope

  • Hosting models ourselves.

Dependencies

  • Toju branch merge (provider switch).

Verify before implementing

  • Attestation verification steps, model list, pricing and free-tier availability in the NEAR AI Cloud docs.

References


Part of ##1. Ground rules for all issues in this roadmap are listed there (testnet-first, no secrets in the repo, chain logic behind the registry, tests and docs with every PR).

Ngôn ngữ chính
Python
Star
2
Fork
4
Merge trung bình
6 giờ 54 phút
Pull request đã merge (30 ngày)
7

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không 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 QMeshPy/distributed-quantum

Tất cả issue của QMeshPy/distributed-quantum

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.