Concepts¶
Understanding the philosophy behind Tenro and when to use it.
This section explains the why behind Tenro's design. If you're looking for how to do something specific, see the Guides or API Reference.
Topics¶
-
How Tenro works
How Tenro intercepts provider calls, why
@link_llmis optional, and compatibility. -
What is simulation?
Understand the difference between simulation and traditional patching, and why it matters for AI agent testing.
-
Testing strategy
When to use Tenro vs. other testing approaches, and how to structure your test suite.
-
Glossary
Key terms and definitions used throughout the Tenro documentation.
Key principles¶
1. Simulation over patching¶
Traditional patching focuses on replacing functions. Tenro simulates tools, agents, and LLM behaviours (including errors) so your tests match production reality.
2. Test behaviour, not implementation¶
Verify that your agent does the right thing (calls the right tools, produces correct output) rather than how it's wired internally.
3. Single source of truth¶
Examples in examples/ are tested in CI and embedded in docs via snippets. Code you see here runs.