For the complete documentation index optimized for AI agents, see llms.txt or llms-full.txt. A markdown version of this page is available by appending.mdto the URL or sendingAccept: text/markdown.
Installation Reference
For AI agents: the documentation index is at llms.txt (full corpus: llms-full.txt). A markdown source for this page is /using-stacks/installation.md.
Complete installation reference for all Arete client SDKs.
TypeScript (Core)
Section titled “TypeScript (Core)”For Node.js, Vue, Svelte, or vanilla JS:
npm install @usearete/sdkFramework-agnostic with AsyncIterable-based streaming. No peer dependencies.
TypeScript (React)
Section titled “TypeScript (React)”For React applications:
npm install @usearete/react @usearete/sdk zodReact is an application peer dependency. zustand is a normal dependency of @usearete/react and must not be installed separately. Generated stack files use the core SDK and Zod directly, so generated React consumers install all three packages shown above.
For hosted ORE browser apps, set VITE_ARETE_PUBLISHABLE_KEY and pass it to AreteProvider as auth={{ publishableKey }}. Read-only viewing requires authentication but does not require a wallet.
Add to your Cargo.toml:
[dependencies]a4-sdk = "0.3.0"Next Steps
Section titled “Next Steps”- Quickstart — Scaffold a working app in under 2 minutes
- React SDK — Build a complete React app
- TypeScript SDK — Use with Node.js, Vue, Svelte
- Rust SDK — Native Rust client
The Arete CLI (a4) handles project scaffolding, deployment, and SDK generation.
Via npm (global):
npm install -g @usearete/a4Or use without installing:
npx @usearete/a4 --helpVia Cargo:
cargo install a4-cliTroubleshooting
Section titled “Troubleshooting”| Issue | Solution |
|---|---|
Cannot find module '@usearete/*' | Install the React, core SDK, and Zod packages shown above |
| React peer dependency warning | Install the React version required by your application |