├── .DS_Store ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENCE ├── LICENSE ├── README.md ├── cdk-infrastructure ├── .gitignore ├── bin │ └── appsync-agent-api.ts ├── cdk.json ├── lib │ ├── agent-api │ │ ├── agent-api.ts │ │ ├── appsync-js-functions.ts │ │ ├── appsync-js-utils.ts │ │ ├── functions │ │ │ ├── Agent.actions.ts │ │ │ ├── Conversation.events.ts │ │ │ ├── Mutation.agentPublishMetadata.ts │ │ │ ├── Query.userPublishMessage.buildHistory.ts │ │ │ ├── Query.userPublishMessage.getActions.ts │ │ │ ├── Query.userPublishMessage.getAgent.ts │ │ │ ├── Query.userPublishMessage.getConvo.ts │ │ │ ├── Query.userPublishMessage.getEvents.ts │ │ │ ├── Query.userPublishMessage.invokeLambda.ts │ │ │ ├── Query.userPublishMessage.recordMessage.ts │ │ │ ├── create.ts │ │ │ ├── createTimeId.ts │ │ │ ├── delete.ts │ │ │ ├── get.ts │ │ │ └── scan.ts │ │ └── schema.graphql │ ├── appsync-agent-api-stack.ts │ ├── cognito.ts │ ├── example-action-apis │ │ ├── functions │ │ │ ├── Customer.purchases.ts │ │ │ ├── Mutation.addCustomer.ts │ │ │ ├── Mutation.addSalesPerson.ts │ │ │ ├── Mutation.makeSale.addRecord.ts │ │ │ ├── Mutation.makeSale.linkCustomer.ts │ │ │ ├── Mutation.makeSale.linkSalesperson.ts │ │ │ ├── Mutation.sendEmail.ts │ │ │ ├── Sale.car.ts │ │ │ ├── Sale.customer.ts │ │ │ ├── Sale.salesperson.ts │ │ │ ├── Salesperson.sales.ts │ │ │ ├── createType.ts │ │ │ ├── delete.ts │ │ │ └── scanType.ts │ │ ├── index.ts │ │ └── schema.graphql │ ├── handler-lambda.ts │ ├── index.ts │ └── tables.ts ├── package.json ├── scripts │ ├── esbuild-appsync-resolvers.mjs │ ├── populate-sample-table.mjs │ ├── sample-actions.json │ ├── sample-agents.json │ ├── sample-cars.json │ └── sample-conversations.json └── tsconfig.json ├── handler-claude-agent ├── .gitignore ├── Dockerfile ├── index.py ├── requirements.txt └── src │ ├── agent.py │ ├── chatResponder.py │ ├── claudeChat.py │ ├── claudeInvoker.py │ ├── graphqlTool.py │ └── graphqlWrapper.py ├── handler-claude-simple ├── .gitignore ├── Dockerfile ├── chatResponder.py ├── index.py └── requirements.txt ├── handler-claude-websocket ├── .gitignore ├── Dockerfile ├── chatResponder.py ├── index.py └── requirements.txt └── playground ├── .gitignore ├── package.json ├── public └── index.html ├── scripts └── import-artifacts.mjs ├── src ├── apis │ ├── agent-api │ │ ├── hooks │ │ │ ├── useActions.ts │ │ │ ├── useAgents.ts │ │ │ ├── useConversation.ts │ │ │ ├── useConversations.ts │ │ │ ├── useCreateAction.ts │ │ │ ├── useCreateAgent.ts │ │ │ ├── useCreateConversation.ts │ │ │ ├── useDeleteAction.ts │ │ │ ├── useDeleteAgent.ts │ │ │ ├── useDeleteConversation.ts │ │ │ ├── useMetadata.ts │ │ │ ├── useSendMessage.ts │ │ │ └── useSubscribeConversation.ts │ │ ├── index.ts │ │ ├── state.ts │ │ └── types.ts │ └── invoker.tsx ├── endpoints.ts ├── index.css ├── index.tsx ├── library │ ├── chat │ │ ├── chat-items.tsx │ │ ├── chat-rendered.tsx │ │ ├── conversation-listed.tsx │ │ └── tool-conntection.tsx │ ├── container.tsx │ ├── control │ │ ├── action-listed.tsx │ │ └── agent-listed.tsx │ ├── toggle.tsx │ └── typeEffect.tsx ├── pages │ ├── agent-api-chat-connections.tsx │ ├── agent-api-new-chat.tsx │ ├── agent-api-sidebar.tsx │ ├── agent-api-view-chat.tsx │ ├── configuration-new-action.tsx │ ├── configuration-new-agent.tsx │ ├── configuration-sidebar.tsx │ ├── configuration-view-action.tsx │ └── configuration-view-agent.tsx └── prism.css └── tsconfig.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/.DS_Store -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/LICENCE -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/README.md -------------------------------------------------------------------------------- /cdk-infrastructure/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/.gitignore -------------------------------------------------------------------------------- /cdk-infrastructure/bin/appsync-agent-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/bin/appsync-agent-api.ts -------------------------------------------------------------------------------- /cdk-infrastructure/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/cdk.json -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/agent-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/agent-api.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/appsync-js-functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/appsync-js-functions.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/appsync-js-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/appsync-js-utils.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Agent.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Agent.actions.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Conversation.events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Conversation.events.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Mutation.agentPublishMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Mutation.agentPublishMetadata.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.buildHistory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.buildHistory.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.getActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.getActions.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.getAgent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.getAgent.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.getConvo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.getConvo.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.getEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.getEvents.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.invokeLambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.invokeLambda.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.recordMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/Query.userPublishMessage.recordMessage.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/create.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/create.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/createTimeId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/createTimeId.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/delete.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/get.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/functions/scan.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/functions/scan.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/agent-api/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/agent-api/schema.graphql -------------------------------------------------------------------------------- /cdk-infrastructure/lib/appsync-agent-api-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/appsync-agent-api-stack.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/cognito.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/cognito.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Customer.purchases.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Customer.purchases.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Mutation.addCustomer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Mutation.addCustomer.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Mutation.addSalesPerson.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Mutation.addSalesPerson.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Mutation.makeSale.addRecord.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Mutation.makeSale.addRecord.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Mutation.makeSale.linkCustomer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Mutation.makeSale.linkCustomer.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Mutation.makeSale.linkSalesperson.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Mutation.makeSale.linkSalesperson.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Mutation.sendEmail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Mutation.sendEmail.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Sale.car.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Sale.car.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Sale.customer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Sale.customer.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Sale.salesperson.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Sale.salesperson.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/Salesperson.sales.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/Salesperson.sales.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/createType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/createType.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/delete.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/functions/scanType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/functions/scanType.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/index.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/example-action-apis/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/example-action-apis/schema.graphql -------------------------------------------------------------------------------- /cdk-infrastructure/lib/handler-lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/handler-lambda.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/index.ts -------------------------------------------------------------------------------- /cdk-infrastructure/lib/tables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/lib/tables.ts -------------------------------------------------------------------------------- /cdk-infrastructure/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/package.json -------------------------------------------------------------------------------- /cdk-infrastructure/scripts/esbuild-appsync-resolvers.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/scripts/esbuild-appsync-resolvers.mjs -------------------------------------------------------------------------------- /cdk-infrastructure/scripts/populate-sample-table.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/scripts/populate-sample-table.mjs -------------------------------------------------------------------------------- /cdk-infrastructure/scripts/sample-actions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/scripts/sample-actions.json -------------------------------------------------------------------------------- /cdk-infrastructure/scripts/sample-agents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/scripts/sample-agents.json -------------------------------------------------------------------------------- /cdk-infrastructure/scripts/sample-cars.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/scripts/sample-cars.json -------------------------------------------------------------------------------- /cdk-infrastructure/scripts/sample-conversations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/scripts/sample-conversations.json -------------------------------------------------------------------------------- /cdk-infrastructure/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/cdk-infrastructure/tsconfig.json -------------------------------------------------------------------------------- /handler-claude-agent/.gitignore: -------------------------------------------------------------------------------- 1 | test* 2 | __pycache__ 3 | .env 4 | .DS_Store -------------------------------------------------------------------------------- /handler-claude-agent/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-agent/Dockerfile -------------------------------------------------------------------------------- /handler-claude-agent/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-agent/index.py -------------------------------------------------------------------------------- /handler-claude-agent/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-agent/requirements.txt -------------------------------------------------------------------------------- /handler-claude-agent/src/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-agent/src/agent.py -------------------------------------------------------------------------------- /handler-claude-agent/src/chatResponder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-agent/src/chatResponder.py -------------------------------------------------------------------------------- /handler-claude-agent/src/claudeChat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-agent/src/claudeChat.py -------------------------------------------------------------------------------- /handler-claude-agent/src/claudeInvoker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-agent/src/claudeInvoker.py -------------------------------------------------------------------------------- /handler-claude-agent/src/graphqlTool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-agent/src/graphqlTool.py -------------------------------------------------------------------------------- /handler-claude-agent/src/graphqlWrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-agent/src/graphqlWrapper.py -------------------------------------------------------------------------------- /handler-claude-simple/.gitignore: -------------------------------------------------------------------------------- 1 | test* 2 | __pycache__ 3 | .env 4 | .DS_Store -------------------------------------------------------------------------------- /handler-claude-simple/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-simple/Dockerfile -------------------------------------------------------------------------------- /handler-claude-simple/chatResponder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-simple/chatResponder.py -------------------------------------------------------------------------------- /handler-claude-simple/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-simple/index.py -------------------------------------------------------------------------------- /handler-claude-simple/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-simple/requirements.txt -------------------------------------------------------------------------------- /handler-claude-websocket/.gitignore: -------------------------------------------------------------------------------- 1 | test* 2 | __pycache__ 3 | .env 4 | .DS_Store -------------------------------------------------------------------------------- /handler-claude-websocket/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-websocket/Dockerfile -------------------------------------------------------------------------------- /handler-claude-websocket/chatResponder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-websocket/chatResponder.py -------------------------------------------------------------------------------- /handler-claude-websocket/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-websocket/index.py -------------------------------------------------------------------------------- /handler-claude-websocket/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/handler-claude-websocket/requirements.txt -------------------------------------------------------------------------------- /playground/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/.gitignore -------------------------------------------------------------------------------- /playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/package.json -------------------------------------------------------------------------------- /playground/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/public/index.html -------------------------------------------------------------------------------- /playground/scripts/import-artifacts.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/scripts/import-artifacts.mjs -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useActions.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useAgents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useAgents.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useConversation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useConversation.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useConversations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useConversations.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useCreateAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useCreateAction.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useCreateAgent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useCreateAgent.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useCreateConversation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useCreateConversation.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useDeleteAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useDeleteAction.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useDeleteAgent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useDeleteAgent.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useDeleteConversation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useDeleteConversation.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useMetadata.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useSendMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useSendMessage.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/hooks/useSubscribeConversation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/hooks/useSubscribeConversation.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/index.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/state.ts -------------------------------------------------------------------------------- /playground/src/apis/agent-api/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/agent-api/types.ts -------------------------------------------------------------------------------- /playground/src/apis/invoker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/apis/invoker.tsx -------------------------------------------------------------------------------- /playground/src/endpoints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/endpoints.ts -------------------------------------------------------------------------------- /playground/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/index.css -------------------------------------------------------------------------------- /playground/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/index.tsx -------------------------------------------------------------------------------- /playground/src/library/chat/chat-items.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/library/chat/chat-items.tsx -------------------------------------------------------------------------------- /playground/src/library/chat/chat-rendered.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/library/chat/chat-rendered.tsx -------------------------------------------------------------------------------- /playground/src/library/chat/conversation-listed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/library/chat/conversation-listed.tsx -------------------------------------------------------------------------------- /playground/src/library/chat/tool-conntection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/library/chat/tool-conntection.tsx -------------------------------------------------------------------------------- /playground/src/library/container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/library/container.tsx -------------------------------------------------------------------------------- /playground/src/library/control/action-listed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/library/control/action-listed.tsx -------------------------------------------------------------------------------- /playground/src/library/control/agent-listed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/library/control/agent-listed.tsx -------------------------------------------------------------------------------- /playground/src/library/toggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/library/toggle.tsx -------------------------------------------------------------------------------- /playground/src/library/typeEffect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/library/typeEffect.tsx -------------------------------------------------------------------------------- /playground/src/pages/agent-api-chat-connections.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/pages/agent-api-chat-connections.tsx -------------------------------------------------------------------------------- /playground/src/pages/agent-api-new-chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/pages/agent-api-new-chat.tsx -------------------------------------------------------------------------------- /playground/src/pages/agent-api-sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/pages/agent-api-sidebar.tsx -------------------------------------------------------------------------------- /playground/src/pages/agent-api-view-chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/pages/agent-api-view-chat.tsx -------------------------------------------------------------------------------- /playground/src/pages/configuration-new-action.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/pages/configuration-new-action.tsx -------------------------------------------------------------------------------- /playground/src/pages/configuration-new-agent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/pages/configuration-new-agent.tsx -------------------------------------------------------------------------------- /playground/src/pages/configuration-sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/pages/configuration-sidebar.tsx -------------------------------------------------------------------------------- /playground/src/pages/configuration-view-action.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/pages/configuration-view-action.tsx -------------------------------------------------------------------------------- /playground/src/pages/configuration-view-agent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/pages/configuration-view-agent.tsx -------------------------------------------------------------------------------- /playground/src/prism.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/src/prism.css -------------------------------------------------------------------------------- /playground/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/appsync-bedrock-sample-with-ai-agent/HEAD/playground/tsconfig.json --------------------------------------------------------------------------------