Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds native Amazon Bedrock Agent support to LISA’s “agentic connections” surface area: admins can curate an agent catalog, users can opt-in to agents/tools in preferences, and chat tool-calling can invoke Bedrock agents directly (including action-group functions).
Changes:
- Adds Bedrock agent catalog storage (DynamoDB), discovery, and invoke endpoints to the MCP API Lambda, plus supporting domain models/utilities and tests.
- Extends the React UI to manage Bedrock agent catalog (admin), enable agents/tools per user, and wire Bedrock agent tools into chat tool-calling + approval flows.
- Updates deployment artifacts/baselines and bumps versions to 6.5.0.
Reviewed changes
Copilot reviewed 54 out of 55 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| VERSION | Bumps repo version to 6.5.0. |
| package.json | Updates NPM package version to 6.5.0. |
| package-lock.json | Updates lockfile version metadata and dependency state after install. |
| lisa-sdk/pyproject.toml | Bumps Python SDK version to 6.5.0. |
| CHANGELOG.md | Adds v6.5.0 changelog entry. |
| test/lambda/test_mcp_server_lambda.py | Adds MCP Lambda tests for Bedrock agent catalog listing/invocation + validation handling. |
| test/lambda/test_bedrock_agent_discovery.py | Adds unit tests for Bedrock agent discovery utilities and schema conversion. |
| test/lambda/conftest.py | Updates test skipping list to avoid importing model lambdas for new tests. |
| cypress/src/smoke/fixtures/configuration.json | Enables bedrockAgents in UI configuration fixture. |
| lib/user-interface/react/src/types/bedrock-agent.ts | Introduces shared UI types for Bedrock agents, approvals, discovery rows, and invoke payloads. |
| lib/user-interface/react/src/shared/reducers/user-preferences.reducer.ts | Adds Bedrock agent preferences types and helper to preserve global override flag. |
| lib/user-interface/react/src/shared/reducers/rag.reducer.ts | Removes an extra blank line in imports. |
| lib/user-interface/react/src/shared/reducers/mcp-server.reducer.ts | Adds RTK Query endpoints for Bedrock agent discovery/catalog/approval/invoke APIs. |
| lib/user-interface/react/src/shared/model/configuration.model.ts | Adds bedrockAgents flag to enabled-components schema (default false). |
| lib/user-interface/react/src/shared/model/chat-assistant-stack.model.ts | Adds bedrockAgentIds allow-list to assistant stacks and validation schema defaults. |
| lib/user-interface/react/src/shared/hooks/useAnnouncementNotifier.test.ts | Updates test config to include bedrockAgents. |
| lib/user-interface/react/src/pages/Mcp.tsx | Adds Bedrock agent details route and refactors MCP routes ordering/fallbacks. |
| lib/user-interface/react/src/pages/BedrockAgentManagement.tsx | Adds admin page wrapper for Bedrock agent catalog management. |
| lib/user-interface/react/src/components/Topbar.tsx | Renames “MCP Connections” to “Agentic Connections” and adds admin nav entry for Bedrock agent catalog. |
| lib/user-interface/react/src/components/mcp/McpServerManagementComponent.tsx | Adds tabbed UI: MCP servers + Bedrock agents panel; respects feature flags when querying. |
| lib/user-interface/react/src/components/mcp/McpServerForm.tsx | Updates breadcrumbs to “Agentic connections”. |
| lib/user-interface/react/src/components/mcp/McpServerDetails.tsx | Updates breadcrumbs to “Agentic connections”. |
| lib/user-interface/react/src/components/mcp/BedrockAgentsManagementPanel.tsx | Adds user-facing opt-in UI for Bedrock agents, per-agent auto-approve, and global override. |
| lib/user-interface/react/src/components/mcp/BedrockAgentManagementComponent.tsx | Adds admin UI to scan account agents and curate the Bedrock agent catalog + group visibility. |
| lib/user-interface/react/src/components/mcp/BedrockAgentDetails.tsx | Adds per-agent details page and per-tool enable/disable + per-agent auto-approve toggles. |
| lib/user-interface/react/src/components/configuration/ActivatedUserComponents.tsx | Adds Bedrock agents option under MCP/agentic components. |
| lib/user-interface/react/src/components/chatbot/hooks/useToolChain.hooks.tsx | Extends tool approval bypass logic to support Bedrock agent tools and per-agent/global overrides. |
| lib/user-interface/react/src/components/chatbot/Chat.tsx | Wires Bedrock agent tools into OpenAI tool list, routes tool calls to Bedrock invoke API, and updates approval UX. |
| lib/user-interface/react/src/components/chat-assistant-stacks/StackFormSteps.tsx | Allows assistant stacks to restrict which Bedrock agents are allowed (in addition to MCP servers). |
| lib/user-interface/react/src/components/chat-assistant-stacks/CreateStackModal.tsx | Ensures stacks include bedrockAgentIds and validates tool-capable model requirement. |
| lib/user-interface/react/src/components/chat-assistant-stacks/ChatAssistantStacksManagement.tsx | Displays Bedrock agent count column for stacks. |
| lib/user-interface/react/src/App.tsx | Adds routes for agentic connections when Bedrock agents or MCP connections are enabled; adds admin Bedrock catalog route. |
| lib/user-interface/react/package.json | Bumps UI package version to 6.5.0. |
| lambda/utilities/bedrock_agent_discovery.py | Adds Bedrock agent discovery utilities (agents, aliases, action-group tools, schema conversion). |
| lambda/models/domain_objects.py | Adds Pydantic domain models for Bedrock agent discovery items and invoke request validation. |
| lambda/mcp_server/models.py | Adds request model for Bedrock agent approval upsert payload. |
| lambda/mcp_server/lambda_functions.py | Adds Bedrock agent approvals table helpers + list/discovery/approval CRUD/invoke endpoints. |
| lambda/chat_assistant_stacks/models.py | Adds bedrockAgentIds to assistant stack model persisted by backend. |
| lib/chat/api/mcp.ts | Provisions approvals DynamoDB table + new API routes; grants Bedrock IAM permissions; wires env var. |
| lib/chat/api/configuration.ts | Adds bedrockAgents enabled-component flag in configuration payload. |
| lib/rag/ingestion/ingestion-job-construct.ts | Adjusts Batch compute environment naming and EventBridge filter to use jobQueue ARN; adds stable metric label. |
| lambda/metrics/batch_job_metric.py | Uses JOB_QUEUE_LABEL env var for stable CloudWatch metric dimension. |
| test/cdk/stacks/baselines/LisaUI.json | Updates synthesized UI stack baseline (SSM params/imports + asset keys). |
| test/cdk/stacks/baselines/LisaServe.json | Updates synthesized serve stack baseline (subnets, alarms, exports, assets, env vars). |
| test/cdk/stacks/baselines/LisaNetworking.json | Updates synthesized networking baseline to add third public/private subnets and adjust CIDRs/exports. |
| test/cdk/stacks/baselines/LisaMcpApi.json | Updates synthesized MCP API baseline (CORS headers + subnets + assets + env vars). |
| test/cdk/stacks/baselines/LisaDocs.json | Updates synthesized docs baseline to use ImportValue for access logs bucket. |
| test/cdk/stacks/baselines/LisaCore.json | Updates synthesized core baseline (access logs bucket ACL + exports + layer asset). |
| test/cdk/stacks/baselines/LisaApiDeployment.json | Updates synthesized API deployment logical ID. |
| test/cdk/stacks/baselines/LisaApiBase.json | Updates synthesized API base baseline (ImportValue for access logs + subnets + assets + env vars). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…s/LISA into feature/bedrock-agent-integration
…s/LISA into feature/bedrock-agent-integration
batzela
previously approved these changes
Apr 6, 2026
gingerknight
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added native integration to Bedrock Agents in LISA.

Admins can add agents to a catalog for users to use.

Users can opt into using an agent from within the agentic connections page.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.