-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add ToolSimulator for tool response simulation #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: add ToolSimulator for tool response simulation #111
Conversation
| import logging | ||
| import warnings | ||
| from datetime import datetime | ||
| from typing import Any, Callable, Dict, List, Optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use Python built-in collection types?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in the latest commit
| # Store framework selection | ||
| self.framework = framework | ||
| # Store model configuration for creating internal agents | ||
| self.model_id = model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we could keep it as model instead of model_id.
Description
Introduces ToolSimulator framework for simulating realistic tool responses during agent evaluation without calling production APIs. Enables systematic testing of agents with API-based, Python function-based, and MCP-based tools through LLM-powered dynamic simulation.
Key capabilities:
Design principles:
Related Issues
#93
Documentation PR
strands-agents/docs#500
Type of Change
New feature
Testing
hatch run prepareChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.