aws / aws/bedrock-agentcore-sdk-python
import-agent: Specify Bedrock AgentCore Gateway Targets
- Dominant language
- Python
- Stars
- 761
- Forks
- 147
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 7
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.
Contributor guide
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.
Assessment
- Tech stack
- aws, openapi, python
- Domain
- backend-api-design, cli, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100