Skip to content

Commit 267a37c

Browse files
committed
Fix docs and naming
1 parent e1aacfd commit 267a37c

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

docs/explanation/concepts/react-pattern.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ This temperature modulation creates a natural rhythm that alternates between exp
3838

3939
## Comparing ReAct with Traditional Approaches
4040

41-
To understand ReAct's value, consider how it differs from the [`StressingToolUser`](https://github.com/xpressai/xaibo/blob/main/src/xaibo/primitives/modules/orchestrator/stressing_tool_user.py) pattern, which represents a more traditional approach.
41+
To understand ReAct's value, consider how it differs from the [`SimpleToolOrchestrator`](https://github.com/xpressai/xaibo/blob/main/src/xaibo/primitives/modules/orchestrator/simple_tool_orchestrator.py) pattern, which represents a more traditional approach.
4242

43-
StressingToolUser follows a simpler model where the agent generates responses and uses tools in a fluid way, increasing temperature when tool execution fails to simulate cognitive stress. This reactive approach works well for straightforward tasks but lacks the systematic structure that makes ReAct powerful for complex problems.
43+
SimpleToolOrchestrator follows a simpler model where the agent generates responses and uses tools in a fluid way, increasing temperature when tool execution fails to simulate cognitive stress. This reactive approach works well for straightforward tasks but lacks the systematic structure that makes ReAct powerful for complex problems.
4444

45-
ReAct is proactive rather than reactive. By forcing explicit reasoning before action, it helps prevent many errors that would trigger stress responses in simpler patterns. The structured approach also makes it easier to identify and correct problems when they occur.
45+
ReAct is proactive rather than reactive. By forcing explicit reasoning before action, it helps prevent many errors that would trigger temperature increases in simpler patterns. The structured approach also makes it easier to identify and correct problems when they occur.
4646

4747
## When to Choose ReAct
4848

docs/how-to/orchestrator/switch-to-react-pattern.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# How to switch from other orchestrators to ReAct pattern
22

3-
This guide shows you how to migrate from [`StressingToolUser`](../../reference/modules/orchestrator.md#stressingtooluser) or other orchestrators to the [`ReActOrchestrator`](../../reference/modules/orchestrator.md#reactorchestrator) for more structured reasoning and better debugging capabilities.
3+
This guide shows you how to migrate from [`SimpleToolOrchestrator`](../../reference/modules/orchestrator.md#simpletoolorchestrator) or other orchestrators to the [`ReActOrchestrator`](../../reference/modules/orchestrator.md#reactorchestrator) for more structured reasoning and better debugging capabilities.
44

55
## Prerequisites
66

77
- Existing agent configuration with an orchestrator module
88
- Basic understanding of YAML configuration
99
- Familiarity with your current orchestrator's behavior
1010

11-
## Replace StressingToolUser with ReActOrchestrator
11+
## Replace SimpleToolOrchestrator with ReActOrchestrator
1212

1313
Update your agent configuration to use the ReAct pattern:
1414

@@ -28,7 +28,7 @@ modules:
2828
tool_packages: [tools.weather, tools.calendar]
2929

3030
# Replace this line:
31-
# - module: xaibo.primitives.modules.orchestrator.StressingToolUser
31+
# - module: xaibo.primitives.modules.orchestrator.SimpleToolOrchestrator
3232
# With this:
3333
- module: xaibo.primitives.modules.orchestrator.ReActOrchestrator
3434
id: orchestrator
@@ -53,11 +53,11 @@ exchange:
5353
5454
Map your existing configuration to ReAct parameters:
5555
56-
### From StressingToolUser
56+
### From SimpleToolOrchestrator
5757
5858
```yaml
59-
# Old StressingToolUser config
60-
- module: xaibo.primitives.modules.orchestrator.StressingToolUser
59+
# Old SimpleToolOrchestrator config
60+
- module: xaibo.primitives.modules.orchestrator.SimpleToolOrchestrator
6161
id: orchestrator
6262
config:
6363
max_thoughts: 15
@@ -80,7 +80,7 @@ Map your existing configuration to ReAct parameters:
8080
8181
### Configuration mapping
8282
83-
| StressingToolUser | ReActOrchestrator | Notes |
83+
| SimpleToolOrchestrator | ReActOrchestrator | Notes |
8484
|-------------------|-------------------|-------|
8585
| `max_thoughts` | `max_iterations` | Same iteration limit concept |
8686
| `system_prompt` | `system_prompt` | Direct equivalent |
@@ -147,7 +147,7 @@ config:
147147

148148
### Tool execution changes
149149

150-
ReActOrchestrator executes tools differently than StressingToolUser:
150+
ReActOrchestrator executes tools differently than SimpleToolOrchestrator:
151151

152152
- Tools are called during ACTION phase only
153153
- Each tool execution triggers an OBSERVATION phase

docs/tutorial/advanced-orchestration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ You now have powerful ReAct agents that can handle complex research tasks. Consi
682682

683683
The ReAct pattern provides a foundation for building transparent, reliable AI agents that users can understand and trust. Your research assistant demonstrates how structured reasoning leads to better outcomes in complex problem-solving scenarios.
684684

685-
Ready to build more sophisticated agents? Explore the [How-to Guides](../how-to/orchestrator/index.md) for advanced ReAct techniques and customization options.
685+
Ready to build more sophisticated agents? Explore the [How-to Guides](../how-to/index.md#orchestratorconfiguration) for advanced ReAct techniques and customization options.
686686

687687
## Related Documentation
688688

tests/core/test_reading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_load_echo_complete():
6868
_assert_modules_match(config, raw_yaml)
6969
_assert_exchange_matches(config, raw_yaml)
7070

71-
def test_load_stressing_tool():
71+
def test_load_simple_tool():
7272
config, raw_yaml = _read_yaml_config("simple_tool_orchestrator.yaml")
7373
_assert_modules_match(config, raw_yaml)
7474
_assert_exchange_matches(config, raw_yaml)

0 commit comments

Comments
 (0)