import-agent: Specify Bedrock AgentCore Gateway Targets

Open
#261 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, openapi, python

Research direction

Start at the import-agent entry point and trace how OpenAPI action group schemas are converted into Gateway Lambda targets. Compare that behavior with AgentCore Gateway OpenAPI targets and determine how a configurable target type should be represented; done means imports can select an OpenAPI-compatible target without the current validation errors.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.

I'm attempting to use the import-agent tool to migrate a Bedrock Agent into AgentCore but I'm running into the following issue:

When I try to import a Bedrock Agent that has OpenAPI action group schemas, the import fails with validation errors. It looks like the tool is converting these to Gateway Lambda targets, which only support a limited schema format (type, properties, required, items, description). I can see that AgentCore Gateway supports OpenAPI targets with full schemas, so is this just a current limitation of the tool?

Describe the solution you'd like

The ability to specify an AgentCore Gateway target type, such as OpenAI schema, when configuring the migration of an agent using import-agent

Describe alternatives you've considered
The only alternative I can see is manually migrating the agent.

Additional context
Add any other context or screenshots about the feature request here.

Dominant language
Python
Stars
786
Forks
163
Avg merge
4h
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/bedrock-agentcore-sdk-python

All issues in aws/bedrock-agentcore-sdk-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.