Skip to content

Bedrock Agent Integration#928

Merged
estohlmann merged 11 commits intodevelopfrom
feature/bedrock-agent-integration
Apr 8, 2026
Merged

Bedrock Agent Integration#928
estohlmann merged 11 commits intodevelopfrom
feature/bedrock-agent-integration

Conversation

@estohlmann
Copy link
Copy Markdown
Member

@estohlmann estohlmann commented Apr 6, 2026

Added native integration to Bedrock Agents in LISA.
Screenshot 2026-04-06 at 3 11 37 PM

Admins can add agents to a catalog for users to use.
Screenshot 2026-04-06 at 3 10 40 PM

Users can opt into using an agent from within the agentic connections page.
Screenshot 2026-04-06 at 3 10 54 PM

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

@estohlmann estohlmann changed the base branch from main to develop April 6, 2026 20:03
@estohlmann estohlmann requested a review from Copilot April 6, 2026 20:03
@estohlmann estohlmann marked this pull request as draft April 6, 2026 20:03
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

estohlmann and others added 4 commits April 6, 2026 14:10
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…s/LISA into feature/bedrock-agent-integration
@estohlmann estohlmann marked this pull request as ready for review April 6, 2026 20:47
batzela
batzela previously approved these changes Apr 6, 2026
@estohlmann estohlmann merged commit e4c8b24 into develop Apr 8, 2026
8 checks passed
@estohlmann estohlmann deleted the feature/bedrock-agent-integration branch April 8, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants