{"id":13624106,"url":"https://github.com/langchain-ai/langchain-aws","last_synced_at":"2026-04-15T02:00:58.769Z","repository":{"id":226301626,"uuid":"768315119","full_name":"langchain-ai/langchain-aws","owner":"langchain-ai","description":"Build LangChain Applications on AWS","archived":false,"fork":false,"pushed_at":"2026-04-09T20:48:47.000Z","size":7974,"stargazers_count":315,"open_issues_count":102,"forks_count":275,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-04-10T09:00:18.272Z","etag":null,"topics":["aws","generative-ai","langchain","langchain-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/langchain-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-03-06T21:29:00.000Z","updated_at":"2026-04-09T20:47:59.000Z","dependencies_parsed_at":"2024-03-13T05:34:06.956Z","dependency_job_id":"5b0985db-e4d5-4365-a738-84aa8f7a348b","html_url":"https://github.com/langchain-ai/langchain-aws","commit_stats":{"total_commits":194,"total_committers":23,"mean_commits":8.434782608695652,"dds":0.7525773195876289,"last_synced_commit":"dabdd99fe1d4186de79f798f5564c9f6f0e2d76e"},"previous_names":["langchain-ai/langchain-aws"],"tags_count":83,"template":false,"template_full_name":"langchain-ai/integration-repo-template","purl":"pkg:github/langchain-ai/langchain-aws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchain-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchain-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchain-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchain-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/langchain-ai","download_url":"https://codeload.github.com/langchain-ai/langchain-aws/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchain-aws/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31793225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","generative-ai","langchain","langchain-python"],"created_at":"2024-08-01T21:01:38.850Z","updated_at":"2026-04-15T02:00:58.743Z","avatar_url":"https://github.com/langchain-ai.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# 🦜️🔗 LangChain 🤝 Amazon Web Services (AWS)\n\nThis monorepo provides LangChain and LangGraph components for various AWS services. It aims to replace and expand upon the existing LangChain AWS components found in the `langchain-community` package in the LangChain repository.\n\nThe following packages are hosted in this repository:\n\n- `langchain-aws` ([PyPI](https://pypi.org/project/langchain-aws/))\n- `langgraph-checkpoint-aws` ([PyPI](https://pypi.org/project/langgraph-checkpoint-aws/))\n- `langchain-agentcore-codeinterpreter` ([PyPI](https://pypi.org/project/langchain-agentcore-codeinterpreter/))\n\n## Features\n\n### LangChain\n\n- **LLMs**: Includes LLM classes for AWS services like [Bedrock](https://aws.amazon.com/bedrock) and [SageMaker Endpoints](https://aws.amazon.com/sagemaker/deploy/), allowing you to leverage their language models within LangChain.\n- **VectorStores**: Supports vectorstores for services like [Amazon MemoryDB](https://aws.amazon.com/memorydb/), [Amazon S3 Vectors](https://aws.amazon.com/s3/features/vectors/), and [AWS ElastiCache for Valkey](https://aws.amazon.com/elasticache/), providing efficient and scalable vector database for your applications.\n- **Retrievers**: Supports retrievers for services like [Amazon Kendra](https://aws.amazon.com/kendra/) and [KnowledgeBases for Amazon Bedrock](https://aws.amazon.com/bedrock/knowledge-bases/), enabling efficient retrieval of relevant information in your RAG applications.\n- **Graphs**: Provides components for working with [AWS Neptune](https://aws.amazon.com/neptune/) graphs within LangChain.\n- **Agents**: Includes Runnables to support [Amazon Bedrock Agents](https://aws.amazon.com/bedrock/agents/), allowing you to leverage Bedrock Agents within LangChain and LangGraph.\n- **Tools**: Includes tools and toolkits to enable use of [Amazon Bedrock AgentCore](https://aws.amazon.com/bedrock/agentcore/)'s built-in tools with LangChain and LangGraph agents.\n\n### LangGraph\n\n- **Checkpointers**: Provides custom checkpointing solutions for LangGraph agents using several AWS services, including [Bedrock AgentCore Memory](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/memory.html), [Bedrock Session Management](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html), [DynamoDB](https://aws.amazon.com/dynamodb/), and [ElastiCache Valkey](https://aws.amazon.com/elasticache/).\n- **Memory Stores** - Provides memory store solutions for saving, processing, and retrieving intelligent long term memories using services like [Bedrock AgentCore Memory](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/memory.html) and [ElastiCache Valkey](https://aws.amazon.com/elasticache/).\n\n### Deep Agents\n\n- **Sandboxes**: Provides an [Amazon Bedrock AgentCore](https://aws.amazon.com/bedrock/agentcore/) Code Interpreter sandbox backend for [Deep Agents](https://github.com/langchain-ai/deepagents), enabling secure code execution in isolated MicroVM environments.\n\n...and more to come. This repository will continue to expand and offer additional components for various AWS services as development progresses.\n\n**Note**: This repository will replace all AWS integrations currently present in the `langchain-community` package. Users are encouraged to migrate to this repository as soon as possible.\n\n## Installation\n\nYou can install the `langchain-aws` package from PyPI.\n\n```bash\npip install langchain-aws\n```\n\nThe `langgraph-checkpoint-aws` package can also be installed from PyPI.\n\n```bash\npip install langgraph-checkpoint-aws\n```\n\nThe `langchain-agentcore-codeinterpreter` package can also be installed from PyPI.\n\n```bash\npip install langchain-agentcore-codeinterpreter\n```\n\n## Usage\n\n### `langchain-aws`\n\nHere's a simple example of how to use the `langchain-aws` package.\n\n```python\nfrom langchain_aws import ChatBedrockConverse\n\n# Initialize the Bedrock chat model\nmodel = ChatBedrockConverse(\n    model=\"us.anthropic.claude-sonnet-4-5-20250929-v1:0\"\n)\n\n# Invoke the model\nresponse = model.invoke(\"Hello! How are you today?\")\nprint(response)\n```\n\n### AgentCore Tools\n\n```python\nfrom langchain_aws.tools import create_browser_toolkit, create_code_interpreter_toolkit\n\n# Browser automation\nbrowser_toolkit, browser_tools = create_browser_toolkit(region=\"us-west-2\")\n\n# Code execution (async)\ncode_toolkit, code_tools = await create_code_interpreter_toolkit(region=\"us-west-2\")\n\n# Use with LangGraph agent\nagent = create_react_agent(model, tools=browser_tools + code_tools)\nresult = await agent.ainvoke(\n    {\"messages\": [{\"role\": \"user\", \"content\": \"Navigate to example.com\"}]},\n    config={\"configurable\": {\"thread_id\": \"session-1\"}}\n)\n\n# Cleanup\nawait browser_toolkit.cleanup()\nawait code_toolkit.cleanup()\n```\n\nFor more detailed usage examples and documentation, please refer to the [LangChain docs](https://python.langchain.com/docs/integrations/platforms/aws/).\n\n\u003e [!TIP]\n\u003e For developing, debugging, and deploying AI agents and LLM applications, see [LangSmith](https://docs.langchain.com/langsmith/home).\n\n### `langgraph-checkpoint-aws`\n\nYou can find usage examples for `langgraph-checkpoint-aws` [in the README](https://github.com/langchain-ai/langchain-aws/blob/main/libs/langgraph-checkpoint-aws/README.md).\n\n### `langchain-agentcore-codeinterpreter`\n\n```python\nfrom bedrock_agentcore.tools.code_interpreter_client import CodeInterpreter\nfrom langchain_agentcore_codeinterpreter import AgentCoreSandbox\n\ninterpreter = CodeInterpreter(region=\"us-west-2\")\ninterpreter.start()\n\nbackend = AgentCoreSandbox(interpreter=interpreter)\nresult = backend.execute(\"echo hello\")\nprint(result.output)  # hello\n\ninterpreter.stop()\n```\n\n## Contributing\n\nWe welcome contributions to this repository! To get started, please follow the [Contributing Guide](https://github.com/langchain-ai/langchain-aws/blob/main/.github/CONTRIBUTING.md).\n\nThis guide provides detailed instructions on how to set up each project for development and guidance on how to contribute effectively.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangchain-ai%2Flangchain-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flangchain-ai%2Flangchain-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangchain-ai%2Flangchain-aws/lists"}