SDK install
The SDK is the cleanest path for TypeScript agents and CLIs.
npm install @builtbyecho/vaultline-sdk viem
Vaultline is live x402 storage for agents. This page is the public entrypoint for the SDK, the agent skill, the live API, the quickstart flow, and the operational docs builders need before wiring it into real work.
Use a Base wallet that can sign x402 payments, point your client at the live API, then upload or retrieve artifacts through the same HTTP flow.
The SDK is the cleanest path for TypeScript agents and CLIs.
npm install @builtbyecho/vaultline-sdk viem
Point at the live service and pass a wallet account that can sign x402 payment payloads.
const client = new VaultlineClient({
baseUrl: 'https://storage.builtbyecho.xyz',
account
});
Open is public-by-key. Private adds wallet-gated reads. Encrypted is not live yet.
await client.upload('workspace/report.md', body, {
visibility: 'open'
});
Vaultline uses the standard machine-payment loop. Send the request, parse `402`, sign the payment, retry the same request, and get the normal route response.
Uploads and larger reads may be billable. Private files also require wallet-auth headers.
PUT /v1/files/workspace/report.md GET /v1/files/large.bin
When payment is required, the server returns a machine-readable `payment-required` header.
error: payment_required network: eip155:8453 asset: Base USDC payTo: treasury wallet
Keep the original request intact. Add the x402 payment header and retry.
x-payment: <signed payload> retry original method + path + body
These are the routes most builders need first. The repo still carries deeper operational notes, but this page covers the public shape.
Site-first when you want orientation. Repo-first when you want internals. npm-first when you just want to install and move.
Install the SDK directly and wire it into an agent or CLI.
Use the hosted skill page or copy the raw markdown file into your agent setup.
When you need deeper architecture, tests, examples, and operational files, the repo is still the full source of truth.