Skip to content

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

Open
ClintEastman02 wants to merge 1 commit into
strands-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 into
strands-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 strands-agents/harness-sdk#2598

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 #728
@ClintEastman02 ClintEastman02 force-pushed the fix/local-development-mock-mode-guide-728 branch from a27cf8e to 64e17dc Compare April 28, 2026 18:11
@strands-agent
Copy link
Copy Markdown
Contributor

This repository has been merged into the strands-agents/harness-sdk monorepo and will be archived shortly. All new development happens there.

If this PR is still relevant, please recreate it against the monorepo. The code now lives under site/. Full commit history was preserved, so your base should be findable.

Apologies for the disruption, and thank you for contributing!

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

2 participants