Skip to content

docs: add tutorial for mocking a multi-tool agent end-to-end #40

@sboorlagadda

Description

@sboorlagadda

Problem

The existing docs cover individual features (matchers, resolvers, call recording, etc.) but there is no tutorial that walks through a complete real-world workflow — mocking multiple tools for an AI agent and using call recording for pytest assertions.

Proposed Solution

Add a tutorial guide in docs/guides/ that walks through:

  1. Setting up StuntDouble for a LangGraph agent with multiple tools
  2. Configuring mocks for each tool with matchers and resolvers
  3. Using call recording to assert tool invocation order and arguments in pytest
  4. Common patterns and edge cases (e.g., conditional responses, error simulation)

Files

  • docs/guides/

Difficulty

Easy–Medium

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions