Skip to content

docs(studio): document the Node path and lead the nav with Studio - #885

Merged
0xlucasliao merged 2 commits into
bnb-chain:mainfrom
Ang-dot:docs/studio-node-path-and-nav-order
Aug 25, 2026
Merged

docs(studio): document the Node path and lead the nav with Studio#885
0xlucasliao merged 2 commits into
bnb-chain:mainfrom
Ang-dot:docs/studio-node-path-and-nav-order

Conversation

@Ang-dot

@Ang-dot Ang-dot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

📋 Merge order

One of four related docs PRs. Recommended sequence:

# PR Depends on
1 #885 — Studio Node path + nav order
2 #884 — TypeScript SDK quickstart rebased on #885; fast-forwards after it
3 #886 — Studio architecture independent
4 #887 — remaining Studio pages independent

#882 (SDK server-module fixes) is independent of all four.


Summary

The Studio docs described a product that does not ship. This rewrites the two entry pages against the published @bnbagent/studio-cli@0.0.12 tarball, and moves Studio to the front of the Developer Kit nav.

quickstart.md — these were wrong, not merely stale

Page said Package actually ships
"Framework Google ADK (--framework adk)" Zero trace of Google ADK anywhere — not in package.json deps, not in any skill or recipe file
Python layout: main.py, signing.py, managed_model.py, service.py TypeScript scaffold — sellerCore.ts, signing.ts, tools.ts, main.ts, mcpMain.ts, dualMain.ts
npm install -g @aws/agentcore # Node ≥ 20 Node ≥ 22 (engines.node); cloud lifecycle delegated to the pinned @bnbagent/deploy-cli; AWS CLI optional, used only by a read-only quota check

Rewritten around what ships: the skill-first workflow, the six-stage journey, the real generated tree, and the three deploy targets.

Azure Foundry is includedrecipes/runtimes/azure-foundry/recipe.toml is status = "v1", bag deploy --provider azure is real, and it deploys A2A scaffolds only (MCP is rejected before a Foundry deploy). Worth flagging upstream: the studio-cli README never mentions Azure and its deployment table says "Every deploy asks for bnb or aws", which is why this was easy to miss.

index.md — the two-layer model is gone

Replaced Layer A / Layer B (app/service/ → EC2/Fargate, "keyless", "no LLM, no sign") with the shipped one runtime, one signer: a single process serving composable A2A (:9000) / MCP (:8000/mcp) / X402 (/x402) faces, holding the only key, signing in fixed code at app/agent/src/signing.ts.

Also:

  • dropped "v0.0.1 is seller-only … Buyer product flows … deferred to v2"
  • replaced Python package names (bnbagent_studio_core) with @bnbagent/studio-runtime and @bnbagent/deploy-cli
  • added an explicit Studio vs SDK table — "a library you import" vs "a tool that builds and deploys an app for you" — since conflating the two is the most common source of confusion
  • documented that local deliverable storage fails deployment readiness by design, and that Studio never auto-settles a buyer's job

Nav

Developer Kit now leads with BNB Agent Studio, ahead of the SDK, matching the agentic-first ordering the marketing site already uses. The developer-kit landing table is reordered to match.

Developer Kit
  ├── Overview
  ├── BNB Agent Studio     ← moved up
  ├── BNB Agent SDK
  ├── Greenfield SDK
  └── …

Verification

  • mkdocs.yml parses; all 33 developer-kit nav paths resolve
  • every relative link in both rewritten pages resolves
  • grep for Google ADK|--framework adk|main.py|managed_model.py|@aws/agentcore|Node ≥ 20|Layer A|Layer B|keyless|EC2|Fargate|bnbagent_studio_core|seller-only|deferred to v2 across both pages returns only one deliberate hit: the sentence "There is no separate keyless service tier."

Not in this PR

bnbchain-studio/architecture.md still documents the Layer A / Layer B model in full (diagram, app/service/service.py, keyless boundary invariants) and needs the same treatment. Kept separate to stay reviewable.

The Studio quickstart and overview described a product that does not ship.
Verified against the published @bnbagent/studio-cli 0.0.12 tarball:

quickstart.md — every one of these was wrong, not merely stale:
- "Framework Google ADK (--framework adk)": zero trace of ADK anywhere in
  the package — not in package.json deps, not in any skill or recipe.
- Python workspace layout (main.py, signing.py, managed_model.py,
  service.py): the scaffold is TypeScript. The recipes emit sellerCore.ts,
  signing.ts, tools.ts, main.ts, mcpMain.ts, dualMain.ts.
- "npm install -g @aws/agentcore  # Node >= 20": the requirement is Node
  >= 22 (engines.node), cloud lifecycle is delegated to the pinned
  @bnbagent/deploy-cli, and the AWS CLI is optional — used only by a
  read-only AgentCore quota check.

Rewritten around what actually ships: skill-first workflow, the six-stage
journey, the real generated tree, and the three deploy targets. Azure
Foundry is included: recipe status is v1, `bag deploy --provider azure` is
real, and it deploys A2A scaffolds only (MCP is rejected before deploy).
The studio-cli README omits Azure entirely, which is why it was missed.

index.md — replaced the two-layer Layer A / Layer B keyless model with the
shipped "one runtime, one signer": one process serving composable A2A
(:9000) / MCP (:8000/mcp) / X402 (/x402) faces, holding the only key,
signing in fixed code. Dropped "v0.0.1 is seller-only ... deferred to v2"
and the Python package names (bnbagent_studio_core) in favour of
@bnbagent/studio-runtime and @bnbagent/deploy-cli. Added an explicit
Studio-vs-SDK table, since conflating the two is the most common confusion.

Nav: Developer Kit now leads with BNB Agent Studio, ahead of the SDK,
matching the agentic-first ordering the marketing site already uses. The
developer-kit landing table is reordered to match.

Not in this PR: bnbchain-studio/architecture.md still documents the Layer
A / Layer B model and needs the same treatment.
@hashdit-bot

hashdit-bot Bot commented Aug 23, 2026

Copy link
Copy Markdown

Pull Request Review

This PR rewrites the BNB Agent Studio overview and quickstart to match the published TypeScript-based CLI, documenting the skill-first workflow, generated project structure, single-runtime signing model, payment rails, and BNB/AWS/Azure deployment paths. It also clarifies the distinction between Studio and the SDK and moves BNB Agent Studio ahead of the SDK in the Developer Kit landing page and MkDocs navigation.

Sensitive Content

No sensitive content detected.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

@Ang-dot

Ang-dot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor Author

Heads-up on merge order: this PR and #884 both edit the same mkdocs.yml nav region. This one moves the BNB Agent Studio block above BNB Agent SDK; #884 splits the SDK's Quickstart: entry into Quickstart (TypeScript) + Quickstart (Python). They conflict in mkdocs.yml (nav only).

Suggested order: merge this one first, then rebase #884 — the resolution is mechanical (keep Studio-above-SDK here, plus #884's two quickstart lines inside the SDK block).

The generated tree listed `main.ts` as the A2A/X402 entrypoint. No such
file is emitted. The recipes ship three entrypoint templates and none of
them is main.ts:

  recipes/runtimes/agentcore/code/{{PKG}}/unifiedMain.ts.tmpl
  recipes/runtimes/agentcore/code/{{PKG}}/mcpMain.ts.tmpl
  recipes/runtimes/agentcore/code/{{PKG}}/dualMain.ts.tmpl
  recipes/runtimes/azure-foundry/code/{{PKG}}/unifiedMain.ts.tmpl
  recipes/runtimes/azure-foundry/code/{{PKG}}/mcpMain.ts.tmpl

`find recipes -name 'main.ts.tmpl'` returns nothing. The name came from
the studio-cli README's own tree (README.md:138), which is wrong; the
skill body and the recipes agree on unifiedMain.ts.

Also notes the ports each entrypoint binds, and that dualMain.ts is
AgentCore-only — azure-foundry ships no dualMain template, consistent
with Foundry deploying A2A scaffolds only.
@hashdit-bot

hashdit-bot Bot commented Aug 23, 2026

Copy link
Copy Markdown

Pull Request Review

This documentation-only PR rewrites the BNB Agent Studio overview and quickstart to match the shipped TypeScript CLI/runtime architecture, deployment targets, generated project layout, payment flows, and safety guidance. It also moves BNB Agent Studio ahead of the BNB Agent SDK in the Developer Kit landing page and MkDocs navigation.

Sensitive Content

No sensitive content detected.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

0xlucasliao pushed a commit that referenced this pull request Aug 25, 2026
Completes the sweep started in #885 and #886. Verified against the
published @bnbagent/studio-cli 0.0.12 tarball.

deployment.md — rewritten. It described shipping "two artifacts": Layer A
to AgentCore and Layer B to EC2/Fargate, with `bag deploy agent` +
`bag deploy package` + a manual EC2 upload. One runtime ships now, and
every deploy explicitly selects bnb | aws | azure. Documents the real
per-target constraints (48h testnet trial runs in the operator's cloud so
signing material leaves your control; Azure is container-only and A2A-only)
and the per-target secret channel (Secrets Manager / Foundry CustomKeys /
managed store). Notes that local deliverable storage fails readiness by
design, and that cloud lifecycle is delegated to the pinned
@bnbagent/deploy-cli — no azd, no azure.yaml in the scaffold.

configuration.md — dropped the second `app/service/studio.toml` config and
the keyless-Service env section; one runtime means one studio.toml.
`--project-root app/service` no longer exists.

cli-reference.md — removed `bag deploy prepare --include-service-preflight`
(absent from the shipped CLI) and the Python flat-imports section. Fixed
`bag erc8004 register --endpoint .../apex/`: no `apex` route exists in the
package; the runtime serves /readiness, /invocations, /responses, /mcp and
/x402.

troubleshooting.md — replaced the two-studio.toml drift check, the
`main.py` flat-import advice, and the `@aws/agentcore` + Node>=20
prerequisite. Retargeted the funded-jobs checklist at the single runtime
and /readiness, and noted settle is manual.

demo.md — NOT rewritten, deliberately. It is a 610-line walkthrough of
recorded IDE transcripts and command output. A faithful version has to be
executed to be trustworthy, not adapted on paper; inferring one would
produce a confident guide that does not work. Added a prominent banner
pointing at the current Quickstart and Architecture, and fixed a
pre-existing broken link (../../bnbagent-sdk/networks.md was one level too
deep).

Verified: the four rewritten pages contain zero stale markers, and all 37
relative links across the studio doc set resolve.
@0xlucasliao
0xlucasliao merged commit 694de78 into bnb-chain:main Aug 25, 2026
1 check passed
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.

2 participants