feat(agents): NEAR AI Cloud inference provider with attestation display
Mantenedores costumam responder em até 1 dia
@Nkovaturient já está trabalhando nisso.
Desde 22/10/2026.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.pycalls AWS Bedrock directly. feat/toju-agent-storageaddsservices/groq_agent.pywith an explicit provider switch (AGENT_LLM_PROVIDER) and a no-silent-paid-fallback rule.
Proposal
- Add a
nearprovider 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
- NEAR AI private inference: https://docs.near.ai/cloud/private-inference
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).
- Linguagem predominante
- Python
- Estrelas
- 2
- Forks
- 4
- Merge médio
- 6h 14min
- PRs com merge (30d)
- 18
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de QMeshPy/distributed-quantum
-
enhancement good first issue helia storage tier-1
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
QMeshPy/distributed-quantum#53 ·
Mantenedores costumam responder em até 1 dia
-
chain-integration enhancement payments research-spike tier-2
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
QMeshPy/distributed-quantum#78 ·
Mantenedores costumam responder em até 1 dia
-
chain-integration enhancement payments research-spike tier-2
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 66/100
QMeshPy/distributed-quantum#77 ·
Mantenedores costumam responder em até 1 dia
-
documentation good first issue kubo storage tier-1
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 42/100
QMeshPy/distributed-quantum#75 ·
Mantenedores costumam responder em até 1 dia
-
enhancement kubo storage tier-2
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 56/100
QMeshPy/distributed-quantum#74 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de QMeshPy/distributed-quantum
Issues semelhantes
-
[Resource]: LoreAbertaresource-submission validation-passed
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
hesreallyhim/awesome-claude-code#3234 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
openminion/openminion#376 ·
Mantenedores costumam responder em até 1 dia
-
Type: ☹︎ Bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
posit-dev/great-tables#1028 ·
Mantenedores costumam responder em até 1 dia
-
integration: apple_tv
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
home-assistant/core#188282 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
A "since" range is worded as a career: "the past two seasons" says "regular season career (2025 on)"AbertaP4: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
jeffknupp/association#538 ·