Skip to content

Commit 6573f06

Browse files
author
AWS
committed
Agents for Amazon Bedrock Runtime Update: Support Multi Agent Collaboration within Inline Agents
1 parent fceb1d7 commit 6573f06

File tree

2 files changed

+143
-0
lines changed

2 files changed

+143
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Agents for Amazon Bedrock Runtime",
4+
"contributor": "",
5+
"description": "Support Multi Agent Collaboration within Inline Agents"
6+
}

services/bedrockagentruntime/src/main/resources/codegen-resources/service-2.json

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,14 @@
706706
"min":0,
707707
"pattern":"^[0-9a-zA-Z]+$"
708708
},
709+
"AgentCollaboration":{
710+
"type":"string",
711+
"enum":[
712+
"SUPERVISOR",
713+
"SUPERVISOR_ROUTER",
714+
"DISABLED"
715+
]
716+
},
709717
"AgentCollaboratorInputPayload":{
710718
"type":"structure",
711719
"members":{
@@ -1189,6 +1197,100 @@
11891197
},
11901198
"documentation":"<p>Contains the JSON-formatted string returned by the API invoked by the code interpreter.</p>"
11911199
},
1200+
"CollaborationInstruction":{
1201+
"type":"string",
1202+
"max":4000,
1203+
"min":1,
1204+
"sensitive":true
1205+
},
1206+
"Collaborator":{
1207+
"type":"structure",
1208+
"required":[
1209+
"foundationModel",
1210+
"instruction"
1211+
],
1212+
"members":{
1213+
"actionGroups":{
1214+
"shape":"AgentActionGroups",
1215+
"documentation":"<p> List of action groups with each action group defining tasks the inline collaborator agent needs to carry out. </p>"
1216+
},
1217+
"agentCollaboration":{
1218+
"shape":"AgentCollaboration",
1219+
"documentation":"<p> Defines how the inline supervisor agent handles information across multiple collaborator agents to coordinate a final response. </p>"
1220+
},
1221+
"agentName":{
1222+
"shape":"Name",
1223+
"documentation":"<p> Name of the inline collaborator agent which must be the same name as specified for <code>collaboratorName</code>. </p>"
1224+
},
1225+
"collaboratorConfigurations":{
1226+
"shape":"CollaboratorConfigurations",
1227+
"documentation":"<p> Settings of the collaborator agent. </p>"
1228+
},
1229+
"customerEncryptionKeyArn":{
1230+
"shape":"KmsKeyArn",
1231+
"documentation":"<p> The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the inline collaborator. </p>"
1232+
},
1233+
"foundationModel":{
1234+
"shape":"ModelIdentifier",
1235+
"documentation":"<p> The foundation model used by the inline collaborator agent. </p>"
1236+
},
1237+
"guardrailConfiguration":{
1238+
"shape":"GuardrailConfigurationWithArn",
1239+
"documentation":"<p> Details of the guardwrail associated with the inline collaborator. </p>"
1240+
},
1241+
"idleSessionTTLInSeconds":{
1242+
"shape":"SessionTTL",
1243+
"documentation":"<p> The number of seconds for which the Amazon Bedrock keeps information about the user's conversation with the inline collaborator agent.</p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout. </p>"
1244+
},
1245+
"instruction":{
1246+
"shape":"Instruction",
1247+
"documentation":"<p> Instruction that tell the inline collaborator agent what it should do and how it should interact with users. </p>"
1248+
},
1249+
"knowledgeBases":{
1250+
"shape":"KnowledgeBases",
1251+
"documentation":"<p> Knowledge base associated with the inline collaborator agent. </p>"
1252+
},
1253+
"promptOverrideConfiguration":{
1254+
"shape":"PromptOverrideConfiguration",
1255+
"documentation":"<p> Contains configurations to override prompt templates in different parts of an inline collaborator sequence. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html\">Advanced prompts</a>. </p>"
1256+
}
1257+
},
1258+
"documentation":"<p> List of inline collaborators. </p>"
1259+
},
1260+
"CollaboratorConfiguration":{
1261+
"type":"structure",
1262+
"required":[
1263+
"collaboratorInstruction",
1264+
"collaboratorName"
1265+
],
1266+
"members":{
1267+
"agentAliasArn":{
1268+
"shape":"AgentAliasArn",
1269+
"documentation":"<p> The Amazon Resource Name (ARN) of the inline collaborator agent. </p>"
1270+
},
1271+
"collaboratorInstruction":{
1272+
"shape":"CollaborationInstruction",
1273+
"documentation":"<p> Instructions that tell the inline collaborator agent what it should do and how it should interact with users. </p>"
1274+
},
1275+
"collaboratorName":{
1276+
"shape":"Name",
1277+
"documentation":"<p> Name of the inline collaborator agent which must be the same name as specified for <code>agentName</code>. </p>"
1278+
},
1279+
"relayConversationHistory":{
1280+
"shape":"RelayConversationHistory",
1281+
"documentation":"<p> A relay conversation history for the inline collaborator agent. </p>"
1282+
}
1283+
},
1284+
"documentation":"<p> Settings of an inline collaborator agent. </p>"
1285+
},
1286+
"CollaboratorConfigurations":{
1287+
"type":"list",
1288+
"member":{"shape":"CollaboratorConfiguration"}
1289+
},
1290+
"Collaborators":{
1291+
"type":"list",
1292+
"member":{"shape":"Collaborator"}
1293+
},
11921294
"ConfirmationState":{
11931295
"type":"string",
11941296
"enum":[
@@ -3157,6 +3259,10 @@
31573259
"InlineSessionState":{
31583260
"type":"structure",
31593261
"members":{
3262+
"conversationHistory":{
3263+
"shape":"ConversationHistory",
3264+
"documentation":"<p> Contains the conversation history that persist across sessions. </p>"
3265+
},
31603266
"files":{
31613267
"shape":"InputFiles",
31623268
"documentation":"<p> Contains information about the files used by code interpreter. </p>"
@@ -3602,10 +3708,22 @@
36023708
"shape":"AgentActionGroups",
36033709
"documentation":"<p> A list of action groups with each action group defining the action the inline agent needs to carry out. </p>"
36043710
},
3711+
"agentCollaboration":{
3712+
"shape":"AgentCollaboration",
3713+
"documentation":"<p> Defines how the inline collaborator agent handles information across multiple collaborator agents to coordinate a final response. The inline collaborator agent can also be the supervisor. </p>"
3714+
},
36053715
"bedrockModelConfigurations":{
36063716
"shape":"InlineBedrockModelConfigurations",
36073717
"documentation":"<p>Model settings for the request.</p>"
36083718
},
3719+
"collaboratorConfigurations":{
3720+
"shape":"CollaboratorConfigurations",
3721+
"documentation":"<p> Settings for an inline agent collaborator called with <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeInlineAgent.html\">InvokeInlineAgent</a>. </p>"
3722+
},
3723+
"collaborators":{
3724+
"shape":"Collaborators",
3725+
"documentation":"<p> List of collaborator inline agents. </p>"
3726+
},
36093727
"customerEncryptionKeyArn":{
36103728
"shape":"KmsKeyArn",
36113729
"documentation":"<p> The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to encrypt your inline agent. </p>"
@@ -4792,6 +4910,10 @@
47924910
"shape":"BasePromptTemplate",
47934911
"documentation":"<p>Defines the prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html\">Prompt template placeholder variables</a>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts-configure.html\">Configure the prompt templates</a>.</p>"
47944912
},
4913+
"foundationModel":{
4914+
"shape":"ModelIdentifier",
4915+
"documentation":"<p> The foundation model to use. </p>"
4916+
},
47954917
"inferenceConfiguration":{
47964918
"shape":"InferenceConfiguration",
47974919
"documentation":"<p>Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the <code>promptType</code>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p>"
@@ -5042,6 +5164,13 @@
50425164
"documentation":"<p>Contains information about the reasoning that the model used to return the content in the content block.</p>",
50435165
"sensitive":true
50445166
},
5167+
"RelayConversationHistory":{
5168+
"type":"string",
5169+
"enum":[
5170+
"TO_COLLABORATOR",
5171+
"DISABLED"
5172+
]
5173+
},
50455174
"RepromptResponse":{
50465175
"type":"structure",
50475176
"members":{
@@ -6320,6 +6449,10 @@
63206449
"max":25000000,
63216450
"min":0
63226451
},
6452+
"SyntheticTimestamp_date_time":{
6453+
"type":"timestamp",
6454+
"timestampFormat":"iso8601"
6455+
},
63236456
"TagKey":{
63246457
"type":"string",
63256458
"documentation":"<p>Key of a tag</p>",
@@ -6568,6 +6701,10 @@
65686701
"shape":"Name",
65696702
"documentation":"<p>The part's collaborator name.</p>"
65706703
},
6704+
"eventTime":{
6705+
"shape":"SyntheticTimestamp_date_time",
6706+
"documentation":"<p> The time of the trace. </p>"
6707+
},
65716708
"sessionId":{
65726709
"shape":"SessionId",
65736710
"documentation":"<p>The unique identifier of the session with the agent.</p>"

0 commit comments

Comments
 (0)