This folder (agent0-sdk-docs/) is the source for the Agent0 SDK documentation site, built with:
- Astro
5.15.1 - Starlight
0.36.1
From repo root:
cd agent0-sdk-docs
npm installIf you installed Node via nvm and npm is not on PATH in non-interactive shells, run commands like this:
cd agent0-sdk-docs
PATH="$HOME/.nvm/versions/node/v24.12.0/bin:$PATH" npm installcd agent0-sdk-docs
npm run devBuild output goes to agent0-sdk-docs/dist/.
cd agent0-sdk-docs
npm run buildPublishing uploads the compiled dist/ output to the S3 bucket arn:aws:s3:::sdk.ag0.xyz.
Setup:
cd agent0-sdk-docs
cp s3-publish.env.example s3-publish.envEdit agent0-sdk-docs/s3-publish.env and choose one auth option:
- Use an AWS CLI profile: set
AWS_PROFILE - Paste credentials: set
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY(and optionallyAWS_SESSION_TOKEN) - Use a JWT (web identity): set
AWS_ROLE_ARNandAWS_WEB_IDENTITY_JWT
Publish:
cd agent0-sdk-docs
npm run publish:s3Note: the bucket has ACLs disabled, so the publish script does not set object ACLs; public access must be controlled by the bucket policy / static website config.