Skip to content

Commit b47cc17

Browse files
committed
update doc, add mention about the python package for every agent or classifier
1 parent ba72ed3 commit b47cc17

16 files changed

+173
-22
lines changed

README.md

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -338,18 +338,44 @@ These examples showcase:
338338
3. The orchestrator's ability to route requests to the most appropriate agent based on the input.
339339
4. Handling of both streaming and non-streaming responses from different types of agents.
340340

341-
### Working with Anthropic or OpenAI
342-
If you want to use Anthropic or OpenAI for classifier and/or agents, make sure to install the multi-agent-orchestrator with the relevant extra feature.
343-
```bash
341+
342+
### Modular Installation Options
343+
344+
The Multi-Agent Orchestrator is designed with a modular architecture, allowing you to install only the components you need while ensuring you always get the core functionality.
345+
346+
#### Installation Options
347+
348+
**1. AWS Integration**:
349+
350+
```bash
351+
pip install "multi-agent-orchestrator[aws]"
352+
```
353+
Includes core orchestration functionality with comprehensive AWS service integrations (`BedrockLLMAgent`, `AmazonBedrockAgent`, `LambdaAgent`, etc.)
354+
355+
**2. Anthropic Integration**:
356+
357+
```bash
344358
pip install "multi-agent-orchestrator[anthropic]"
359+
```
360+
361+
**3. OpenAI Integration**:
362+
363+
```bash
345364
pip install "multi-agent-orchestrator[openai]"
346-
```
365+
```
347366

348-
### Full package installation
349-
For a complete installation (including Anthropic and OpenAi):
350-
```bash
367+
Adds OpenAI's GPT models for agents and classification, along with core packages.
368+
369+
**4. Full Installation**:
370+
371+
```bash
351372
pip install "multi-agent-orchestrator[all]"
352-
```
373+
```
374+
375+
Includes all optional dependencies for maximum flexibility.
376+
377+
Curious about how to use these installation options? Our comprehensive documentation provides:
378+
353379

354380
## 🤝 Contributing
355381

docs/src/content/docs/agents/built-in/amazon-bedrock-agent.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ The `AmazonBedrockAgent` is a specialized agent class in the Multi-Agent Orchest
99

1010
Here are various examples showing different ways to create and configure an AmazonBedrockAgent:
1111

12+
### Python Package
13+
14+
If you haven't already installed the AWS-related dependencies, make sure to install them:
15+
16+
```bash
17+
pip install "multi-agent-orchestrator[aws]"
18+
```
19+
1220
### Basic Examples
1321

1422
**1. Minimal Configuration**

docs/src/content/docs/agents/built-in/anthropic-agent.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ This agent can handle a wide range of processing tasks, making it suitable for d
2222

2323
Here are various examples showing different ways to create and configure an AnthropicAgent:
2424

25+
### Python Package
26+
27+
If you haven't already installed the Anthropic-related dependencies, make sure to install them:
28+
29+
```bash
30+
pip install "multi-agent-orchestrator[anthropic]"
31+
```
32+
2533
### Basic Examples
2634

2735
**1. Minimal Configuration**

docs/src/content/docs/agents/built-in/bedrock-flows-agent.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ This integration enables you to orchestrate your Bedrock Flows alongside other a
1515

1616
## Creating a BedrockFlowsAgent
1717

18+
### Python Package
19+
20+
If you haven't already installed the AWS-related dependencies, make sure to install them:
21+
22+
```bash
23+
pip install "multi-agent-orchestrator[aws]"
24+
```
25+
1826
### Basic Example
1927

2028
import { Tabs, TabItem } from '@astrojs/starlight/components';

docs/src/content/docs/agents/built-in/bedrock-inline-agent.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ This architecture removes practical limits on the number of action groups and kn
2222

2323
## Creating a BedrockInlineAgent
2424

25+
### Python Package
26+
27+
If you haven't already installed the AWS-related dependencies, make sure to install them:
28+
29+
```bash
30+
pip install "multi-agent-orchestrator[aws]"
31+
```
32+
2533
### Basic Example
2634

2735
import { Tabs, TabItem } from '@astrojs/starlight/components';

docs/src/content/docs/agents/built-in/bedrock-llm-agent.mdx

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ This agent can handle a wide range of processing tasks, making it suitable for d
2323

2424
By default, the **Bedrock LLM Agent** uses the `anthropic.claude-3-haiku-20240307-v1:0` model.
2525

26+
### Python Package
27+
28+
If you haven't already installed the AWS-related dependencies, make sure to install them:
29+
30+
```bash
31+
pip install "multi-agent-orchestrator[aws]"
32+
```
2633

2734
**1. Minimal Configuration**
2835

@@ -596,14 +603,40 @@ Choose the approach that best fits your needs:
596603

597604
### Option Explanations
598605

599-
- `name` and `description`: Required fields to identify and describe the agent's purpose
600-
- `modelId`/`model_id`: Specifies the LLM model to use (e.g., Claude 3 Sonnet)
601-
- `region`: AWS region for the Bedrock service
602-
- `streaming`: Enables streaming responses for real-time output
603-
- `inferenceConfig`/`inference_config`: Fine-tunes the model's output characteristics
604-
- `guardrailConfig`/`guardrail_config`: Applies predefined guardrails to the model's responses
605-
- `retriever`: Integrates a retrieval system for enhanced context
606-
- `toolConfig`/`tool_config`: Defines tools the agent can use and how to handle their responses
607-
- `customSystemPrompt`/`custom_system_prompt`: Defines the agent's system prompt and behavior, with optional variables for dynamic content
608-
- `client`: Optional custom Bedrock client for specialized configurations
606+
<Tabs syncKey="runtime">
607+
608+
<TabItem label="TypeScript" icon="seti:typescript" color="blue">
609+
610+
| Parameter | Description | Required/Optional |
611+
|------------|-------------|-------------------|
612+
| `name` | Identifies the agent within the system | **Required** |
613+
| `description` | Describes the agent's purpose and capabilities | **Required** |
614+
| `modelId` | Specifies the LLM model to use (e.g., Claude 3 Sonnet) | Optional |
615+
| `region` | AWS region for the Bedrock service | Optional |
616+
| `streaming` | Enables streaming responses for real-time output | Optional |
617+
| `inferenceConfig` | Fine-tunes the model's output characteristics | Optional |
618+
| `guardrailConfig` | Applies predefined guardrails to the model's responses | Optional |
619+
| `retriever` | Integrates a retrieval system for enhanced context | Optional |
620+
| `toolConfig` | Defines tools the agent can use and how to handle their responses | Optional |
621+
| `customSystemPrompt` | Defines the agent's system prompt and behavior, with optional variables for dynamic content | Optional |
622+
| `client` | Optional custom Bedrock client for specialized configurations | Optional |
623+
624+
</TabItem>
625+
<TabItem label="Python" icon="seti:python">
626+
| Parameter | Description | Required/Optional |
627+
|--------|-------------|-------------------|
628+
| `name` | Identifies the agent within the system | **Required** |
629+
| `description` | Describes the agent's purpose and capabilities | **Required** |
630+
| `model_id` | Specifies the LLM model to use (e.g., Claude 3 Sonnet) | Optional |
631+
| `region` | AWS region for the Bedrock service | Optional |
632+
| `streaming` | Enables streaming responses for real-time output | Optional |
633+
| `inference_config` | Fine-tunes the model's output characteristics | Optional |
634+
| `guardrail_config` | Applies predefined guardrails to the model's responses | Optional |
635+
| `retriever` | Integrates a retrieval system for enhanced context | Optional |
636+
| `tool_config` | Defines tools the agent can use and how to handle their responses | Optional |
637+
| `custom_system_prompt` | Defines the agent's system prompt and behavior, with optional variables for dynamic content | Optional |
638+
| `client` | Optional custom Bedrock client for specialized configurations | Optional |
639+
640+
</TabItem>
641+
</Tabs>
609642

docs/src/content/docs/agents/built-in/bedrock-translator-agent.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ The `BedrockTranslatorAgent` uses Amazon Bedrock's language models to translate
1515

1616
## Creating a Bedrock Translator Agent
1717

18+
### Python Package
19+
20+
If you haven't already installed the AWS-related dependencies, make sure to install them:
21+
22+
```bash
23+
pip install "multi-agent-orchestrator[aws]"
24+
```
25+
1826
### Basic Example
1927

2028
To create a new `BedrockTranslatorAgent` with minimal configuration:

docs/src/content/docs/agents/built-in/chain-agent.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ The `ChainAgent` is an agent class in the Multi-Agent Orchestrator System that a
88

99
### Basic Example
1010

11+
### Python Package
12+
13+
If you haven't already installed the AWS-related dependencies, make sure to install them:
14+
15+
```bash
16+
pip install "multi-agent-orchestrator[aws]"
17+
```
18+
1119
Here's how to create a ChainAgent with only the required parameters:
1220

1321
import { Tabs, TabItem } from '@astrojs/starlight/components';

docs/src/content/docs/agents/built-in/comprehend-filter-agent.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ When used in a [ChainAgent](/multi-agent-orchestrator/agents/built-in/chain-agen
1818

1919
## Creating a Comprehend Filter Agent
2020

21+
### Python Package
22+
23+
If you haven't already installed the AWS-related dependencies, make sure to install them:
24+
25+
```bash
26+
pip install "multi-agent-orchestrator[aws]"
27+
```
28+
2129
### Basic Example
2230

2331
To create a new `ComprehendFilterAgent` with default settings:

docs/src/content/docs/agents/built-in/lambda-agent.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ The `LambdaAgent` is a versatile agent class in the Multi-Agent Orchestrator Sys
1414

1515
## Creating a LambdaAgent
1616

17+
### Python Package
18+
19+
If you haven't already installed the AWS-related dependencies, make sure to install them:
20+
21+
```bash
22+
pip install "multi-agent-orchestrator[aws]"
23+
```
24+
1725
import { Tabs, TabItem } from '@astrojs/starlight/components';
1826

1927
<Tabs syncKey="runtime">

0 commit comments

Comments
 (0)