Skip to content

查看中文指南

AgentBuff Stack ​

AgentBuff Stack is a reusable foundation for independent tool sites. The template and its official website have separate builds. JSON formatting and text cleanup are working examples for input, preview, download and private account history; they are sample content, not evidence of keyword demand.

The current iteration focuses on the template, its official website and English/Chinese support. Real products, model integrations and cloud deployment are deferred. stack.agentbuff.dev is the intended official template website domain.

Architecture ​

LayerImplementationConfiguration
Official websiteIndependent static Astro site, blog and showcaseapps/website/
Product public pagesAstro, React islands and an edge routerapps/web/
Account workspaceReact, TanStack Router/Query and Jotaiapps/app/
DesignAstryx, StyleX and retained Radix controlspackages/ui/
API and identityHono, tRPC, Zod and Better Authapps/api/
DatabasePostgreSQL and Drizzle; Neon/Hyperdrive prepareddb/
Email and paymentsReact Email/Resend and StripeServer-only environment
DocumentationVitePress with local searchdocs/

Bun is the local toolchain; production code runs in Cloudflare Workers. Installed versions come from package.json and bun.lock. Keep original MIT notices and third-party licenses.

Configure in three places ​

  1. Public product options: packages/core/website.ts.
  2. Private service credentials: ignored local environment files or Worker Secrets.
  3. Resource bindings and routes: application Wrangler files and infra/.

Changes to public options require rebuilding the applications. API environment changes require restarting the API. The official site does not import product runtime configuration.

Follow Quick start → Product configuration → Environment → Module boundaries. Core usage guides have paired Chinese versions. Detailed iteration history and acceptance records are intentionally kept in Chinese.

For language models: llms.txt · llms-full.txt
Released under the MIT License.