Skip to content

docs: add local development & mock mode guide for TypeScript SDK#792

Open
ClintEastman02 wants to merge 1 commit intostrands-agents:mainfrom
ClintEastman02:fix/local-development-mock-mode-guide-728
Open

docs: add local development & mock mode guide for TypeScript SDK#792
ClintEastman02 wants to merge 1 commit intostrands-agents:mainfrom
ClintEastman02:fix/local-development-mock-mode-guide-728

Conversation

@ClintEastman02
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new guide at docs/user-guide/concepts/local-development covering mock model providers for local development and testing without real API credentials
  • Includes Python and TypeScript examples for: basic mock model, env-var swap pattern (MOCK_MODE=true), tool call simulation, error simulation, and multi-turn conversations
  • Documents using Ollama and llama.cpp as local LLM backends with links to existing provider docs
  • Adds TypeScript code snippet file used via --8<-- include syntax

Test plan

  • npm run build — 434 pages built, no broken links detected
  • npm run typecheck — passes
  • npm run format:check — passes
  • Visual review of rendered page at /docs/user-guide/concepts/local-development/

Closes #728

Add a new guide covering mock model providers for local development
and testing without real API credentials. Includes examples for text
streaming, tool calls, error simulation, multi-turn conversations,
and local LLM backends (Ollama, llama.cpp).

Closes strands-agents#728
@ClintEastman02 ClintEastman02 force-pushed the fix/local-development-mock-mode-guide-728 branch from a27cf8e to 64e17dc Compare April 28, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Add local development & mock mode guide for TypeScript SDK

1 participant