Skip to content

Feat/nori docs - #545

Open
tonyboylehub wants to merge 3 commits into
mainfrom
feat/nori-docs
Open

Feat/nori docs#545
tonyboylehub wants to merge 3 commits into
mainfrom
feat/nori-docs

Conversation

@tonyboylehub

Copy link
Copy Markdown
Contributor

No description provided.

Four new pages under /agents/nori covering the Nori service agent for
the agent-builder persona:

- Overview: services, payment rails, single-point-of-failure caveat
  (self-hosting deferred to v2), reference-implementation patterns
- Delegate to Nori: free onboarding flow, bearer-token auth, funding,
  revocation, common errors
- Pricing and Billing: rate card, charge-on-success accounting,
  price-change notice policy, hard stops on undelegate and wallet-empty
- Example Agents: consumers for chat.completion, image.generation,
  solana.rpc (incl. DAS), and raw A2A message/send

Wires Nori into the agents product nav, the top-level nav menu, and
llms.txt.
Locale parity for the four /agents/nori pages. Prose, headings, and
title/metaTitle/description/faqs/howToSteps frontmatter translated;
keywords, about, dates, and code blocks kept in English per the
localisation rules. In-page and cross-page anchors remapped to the
translated headings, terminology aligned with the existing locale
agents pages.
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
developer-hub Ready Ready Preview Jul 30, 2026 7:33am

Request Review

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: fbbb5b71-e356-4886-a09a-94391a9742b1

📥 Commits

Reviewing files that changed from the base of the PR and between b53d9d3 and 13f9ab0.

📒 Files selected for processing (8)
  • src/pages/en/agents/nori/delegate-to-nori.md
  • src/pages/en/agents/nori/example-agents.md
  • src/pages/ja/agents/nori/delegate-to-nori.md
  • src/pages/ja/agents/nori/example-agents.md
  • src/pages/ko/agents/nori/delegate-to-nori.md
  • src/pages/ko/agents/nori/example-agents.md
  • src/pages/zh/agents/nori/delegate-to-nori.md
  • src/pages/zh/agents/nori/example-agents.md

Summary by CodeRabbit

  • New Features

    • Added a new “Nori” section to the Agents navigation, including localized navigation labels in Japanese, Korean, and Chinese.
    • Added Nori links for Overview, Delegation, Pricing & Billing, and Example Agents.
  • Documentation

    • Published new Nori documentation pages in English, Japanese, Korean, and Chinese, covering services, endpoints, delegation setup, pricing/charge semantics, billing expectations, troubleshooting, and FAQs.
    • Added new Nori references to the AI documentation links list.

Walkthrough

Adds Nori to Agents navigation and llms.txt, then introduces English, Japanese, Korean, and Chinese documentation for Nori services, delegation, example agents, pricing, billing, payment rails, and operational behavior.

Changes

Nori documentation rollout

Layer / File(s) Summary
Nori navigation and discovery
public/llms.txt, src/components/NavList.jsx, src/components/products/agents/index.js
Adds Nori links to documentation discovery and localized Agents navigation.
Nori overview and service model
src/pages/{en,ja,ko,zh}/agents/nori/index.md
Documents Nori services, interfaces, payment rails, availability, reference patterns, endpoints, FAQs, and terminology.
Delegate-to-Nori onboarding
src/pages/{en,ja,ko,zh}/agents/nori/delegate-to-nori.md
Documents agent-card discovery, delegateExecutionV1 submission, bearer authentication, paid calls, PDA funding, revocation, errors, and fallback behavior.
Examples and pricing references
src/pages/{en,ja,ko,zh}/agents/nori/example-agents.md, src/pages/{en,ja,ko,zh}/agents/nori/pricing-and-billing.md
Adds service-consumer examples and multilingual pricing documentation covering rate cards, successful-call billing, retries, receipts, notices, and hard stops.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

Suggested reviewers: danenbm

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title mentions Nori docs, but it's too generic to identify the specific documentation work. Use a clearer title like 'Add Nori documentation pages and navigation links'.
Description check ❓ Inconclusive No description was provided, so the PR intent can't be assessed beyond the code changes. Add a short description summarizing the Nori docs pages and navigation updates.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/nori-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/pages/en/agents/nori/delegate-to-nori.md`:
- Around line 85-93: Protect the fetch-nori-card.ts example from an untrusted
NORI_URL by validating the origin against the pinned trusted value, verifying
the signed agent card, or deriving and comparing the expected
serviceExecutiveAddress before using it for delegation. Apply the same
validation behavior in the English source at
src/pages/en/agents/nori/delegate-to-nori.md lines 85-93 and mirror the
corresponding change in src/pages/ja/agents/nori/delegate-to-nori.md lines
85-93, src/pages/ko/agents/nori/delegate-to-nori.md lines 85-93, and
src/pages/zh/agents/nori/delegate-to-nori.md lines 85-93.

In `@src/pages/en/agents/nori/example-agents.md`:
- Around line 204-205: Align the x402 FAQ wording with the billing behavior by
stating that the upstream call runs once before payment and its result is
cached, or narrow the explanation to delegated calls. Apply the corresponding
correction in src/pages/en/agents/nori/example-agents.md lines 204-205,
src/pages/ja/agents/nori/example-agents.md lines 204-205, and
src/pages/ko/agents/nori/example-agents.md lines 204-205, preserving each
language’s existing style.
- Around line 83-98: Update the no-delegation examples so payment and error
responses are handled before successful-result access: in
src/pages/en/agents/nori/example-agents.md ranges 83-98, 107-117, and 139-167,
check HTTP 402 before reading response.data[0], expose and handle x402
challenges instead of returning undefined, and handle A2A error/payment
responses before treating the task as complete; apply the corresponding HTTP,
RPC, and A2A handling in the same ranges of
src/pages/ja/agents/nori/example-agents.md and
src/pages/ko/agents/nori/example-agents.md.

In `@src/pages/en/agents/nori/index.md`:
- Around line 108-110: Add concise BLUF content to every listed Quick Reference
and FAQ section: insert a declarative sentence immediately before each Quick
Reference table, and replace each generic FAQ introduction with a direct answer.
Apply the corresponding localized wording in src/pages/en/agents/nori/index.md
(108-110, 131-133), src/pages/ja/agents/nori/index.md (108-110, 131-133),
src/pages/en/agents/nori/example-agents.md (176-180, 194-196),
src/pages/ja/agents/nori/example-agents.md (176-180, 194-196),
src/pages/ko/agents/nori/example-agents.md (176-180, 194-196),
src/pages/en/agents/nori/pricing-and-billing.md (143-147, 167-169),
src/pages/ja/agents/nori/pricing-and-billing.md (143-147, 167-169), and
src/pages/ko/agents/nori/pricing-and-billing.md (143-147, 167-169).
- Around line 37-41: Move each page’s lead paragraph so it appears immediately
below its Summary heading: src/pages/en/agents/nori/index.md (37-41),
src/pages/ja/agents/nori/index.md (37-41),
src/pages/en/agents/nori/example-agents.md (37-41),
src/pages/ja/agents/nori/example-agents.md (37-41),
src/pages/ko/agents/nori/example-agents.md (37-41),
src/pages/en/agents/nori/pricing-and-billing.md (38-42),
src/pages/ja/agents/nori/pricing-and-billing.md (38-42), and
src/pages/ko/agents/nori/pricing-and-billing.md (38-42); preserve each page’s
existing localized heading and lead text.

In `@src/pages/zh/agents/nori/example-agents.md`:
- Around line 83-97: Update the image-generation example around the fetch
response and imageB64 extraction to check response.ok and validate that
response.data contains an image before dereferencing it; handle failures
explicitly. Apply the same validation to noriRpc: check HTTP success,
parse/validate the JSON-RPC response, and ensure result exists before returning
it so later agent logic never receives undefined data.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: ad8f9e92-c33c-4264-83f7-8e81e5e7703c

📥 Commits

Reviewing files that changed from the base of the PR and between e1cf9db and b53d9d3.

📒 Files selected for processing (19)
  • public/llms.txt
  • src/components/NavList.jsx
  • src/components/products/agents/index.js
  • src/pages/en/agents/nori/delegate-to-nori.md
  • src/pages/en/agents/nori/example-agents.md
  • src/pages/en/agents/nori/index.md
  • src/pages/en/agents/nori/pricing-and-billing.md
  • src/pages/ja/agents/nori/delegate-to-nori.md
  • src/pages/ja/agents/nori/example-agents.md
  • src/pages/ja/agents/nori/index.md
  • src/pages/ja/agents/nori/pricing-and-billing.md
  • src/pages/ko/agents/nori/delegate-to-nori.md
  • src/pages/ko/agents/nori/example-agents.md
  • src/pages/ko/agents/nori/index.md
  • src/pages/ko/agents/nori/pricing-and-billing.md
  • src/pages/zh/agents/nori/delegate-to-nori.md
  • src/pages/zh/agents/nori/example-agents.md
  • src/pages/zh/agents/nori/index.md
  • src/pages/zh/agents/nori/pricing-and-billing.md

Comment thread src/pages/en/agents/nori/delegate-to-nori.md
Comment thread src/pages/en/agents/nori/example-agents.md
Comment thread src/pages/en/agents/nori/example-agents.md Outdated
Comment thread src/pages/en/agents/nori/index.md
Comment thread src/pages/en/agents/nori/index.md
Comment thread src/pages/zh/agents/nori/example-agents.md
…rust

- Correct the example-agents FAQ (body + faqs frontmatter, all locales):
  a non-delegated first call runs the request once and returns HTTP 402;
  paying and retrying returns the cached result. Previous wording said
  the call was not executed, contradicting the charge-on-success
  documentation on the pricing page.
- Add a warning callout to the delegation guide (all locales): the
  agent card fetched from NORI_URL determines the executive profile
  granted billing authority, so treat the base URL as trusted
  configuration and verify serviceExecutiveAddress out-of-band before
  signing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant