Skip to content

docs: stand up the GemStack documentation site (VitePress)#58

Merged
suleimansh merged 1 commit into
mainfrom
docs/vitepress-site
Jun 27, 2026
Merged

docs: stand up the GemStack documentation site (VitePress)#58
suleimansh merged 1 commit into
mainfrom
docs/vitepress-site

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Closes #57.

What

GemStack had no documentation home of its own. Each package shipped only a short README, and the deep narrative docs for this engine still lived in the rudder repo (docs/guide/ai.md, 1090 lines; docs/guide/mcp.md, 229 lines), framed around the old @rudderjs/ai / @rudderjs/mcp scope.

This PR adds a VitePress site under docs/ (the stack GemStack already knows from rudder, deployable to gemstack.land) that owns the framework-agnostic engine documentation.

Structure

  • Landing + guide (What is GemStack, Installation, Your First Agent) + packages overview.
  • ai-sdk split into deep guides: Overview, Agents, Tools, Streaming, Structured Output, Memory & Persistence, Vector Stores & RAG, Providers, Testing & Evals.
  • ai-skills, ai-autopilot, ai-mcp, and the standalone mcp server framework, each its own page.

Migration and neutralization

All content is migrated from rudder's docs and neutralized:

  • @gemstack/* scope throughout; nothing presents @rudderjs/* as a current API.
  • Documents only what the @gemstack packages actually export (every symbol verified against source).
  • Drops every Rudder binding (ORM-backed stores, the /server provider, make:agent / ai:eval CLI, doctor/Telescope), noting they live in @rudderjs/ai.
  • Uses the neutral provider path (AiRegistry.register(...) + setDefault(...)), not the rudder config/ai.ts convention.

Several inaccuracies that had been sitting in the old rudder docs were corrected against source along the way:

  • stopWhen is not an agent({ ... }) config key (it is an Agent subclass override).
  • Suspend/resume and run-persistence stores require a caller-supplied CacheAdapter, not a framework-bound store.
  • Queue/broadcast go through the neutral configureAiQueue seam.
  • EmbeddingUserMemory is JSDoc-only (not exported), so it is documented as a UserMemory implementation pattern rather than a shipped class.

Verification

pnpm --filter @gemstack/docs docs:build is green with no dead links. The @gemstack/docs workspace package is private and not published; no changeset needed.

Follow-up

A separate rudder PR will trim ai.md / mcp.md to the binding surface and link out to this site.

GemStack had no documentation home of its own: each package shipped only a
short README, and the deep narrative docs for this engine still lived in the
Rudder repo, framed around the old @rudderjs/ai and @rudderjs/mcp scope.

This adds a VitePress site under docs/ that owns the framework-agnostic engine
documentation:

- Landing page, guide (what is GemStack, installation, first agent), and a
  packages overview.
- Per-package deep guides: ai-sdk split into agents, tools, streaming,
  structured output, memory, RAG, providers, and testing/evals; plus
  ai-skills, ai-autopilot, ai-mcp, and the standalone mcp server framework.

All content is migrated and neutralized: @gemstack scope throughout, only
documents what the @gemstack packages actually export, and drops every Rudder
binding (ORM-backed stores, the /server provider, make:agent / ai:eval CLI),
noting they live in @rudderjs/ai. Several inaccuracies carried over from the
old Rudder docs were corrected against source (stopWhen is not an agent()
config key; run stores require a caller-supplied CacheAdapter; queue/broadcast
go through the neutral configureAiQueue seam).

docs:build is green with no dead links.

Refs #57
@suleimansh suleimansh added documentation Improvements or additions to documentation enhancement New feature or request priority: high Should be addressed soon labels Jun 27, 2026
@suleimansh suleimansh self-assigned this Jun 27, 2026
@suleimansh suleimansh merged commit 09388de into main Jun 27, 2026
1 check passed
@suleimansh suleimansh deleted the docs/vitepress-site branch June 27, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request priority: high Should be addressed soon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: stand up the GemStack documentation site (VitePress)

1 participant