agentcore-samples

(★ 3,306)

Amazon Bedrock Agentcore accelerates AI agents into production with the scale, reliability, and security, critical to real-world deployment.

파일 탐색기

파일 수가 많아 일부만 표시됩니다. 전체 파일은 위 다운로드 버튼으로 확인해 주세요.

  • .checkov.yaml
  • .gitignore
  • .secrets.baseline

# 설치 가이드

node / python
사전 준비물

설치 및 실행 절차

npm install -g @aws/agentcore

AgentCore CLI를 전역으로 설치합니다.

agentcore create

대화형 마법사를 통해 새로운 에이전트 프로젝트를 생성합니다.

agentcore dev

로컬 개발 서버를 시작하고 핫 리로드를 활성화합니다.

agentcore deploy

에이전트를 Amazon Bedrock AgentCore 런타임에 배포합니다.

agentcore invoke

배포된 에이전트를 테스트하고 호출합니다.

관련 영상 가이드

Build your first production-ready AI agent with Amazon Bedrock AgentCore

핵심 명령어

npm install -g @aws/agentcore

AgentCore CLI 도구를 전역 설치합니다.

agentcore create

새로운 에이전트 프로젝트 초기화 마법사를 실행합니다.

agentcore dev

로컬에서 에이전트를 실행하고 테스트 엔드포인트를 제공합니다.

agentcore deploy

에이전트 코드를 AWS 인프라에 빌드 및 배포합니다.

agentcore invoke

클라우드에 배포된 에이전트를 원격 호출합니다.

agentcore add memory

에이전트에 관리형 메모리 기능을 추가합니다.

AWS 계정 자격 증명(aws configure)과 Bedrock 모델 액세스 권한이 필수적으로 설정되어 있어야 합니다.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

파일 목록이 많아 일부만 표시됩니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

aws configure

설명 보기 ▼

Manage configuration for the AWS CLI.

aws configure

Configure AWS CLI interactively (creates a new configuration or updates the default):

aws configure --profile {{profile_name}}

Configure a named profile for AWS CLI interactively (creates a new profile or updates an existing one):

aws configure get {{name}}

Display the value from a specific configuration variable:

🔍

jupyter

설명 보기 ▼

코드, 시각화 및 노트를 포함한 문서를 생성하고 공유할 수 있는 웹 애플리케이션.
주로 데이터 분석, 과학 컴퓨팅 및 머신 러닝에 사용됩니다.
더 많은 정보: <https://docs.jupyter.org/en/latest/use/jupyter-command.html>.

jupyter notebook

현재 디렉토리에서 Jupyter 노트북 서버 시작:

jupyter notebook {{path/to/file}}.ipynb

특정 Jupyter 노트북 열기:

jupyter nbconvert --to {{html|markdown|pdf|script|...}} {{path/to/file}}.ipynb

특정 Jupyter 노트북을 다른 형식으로 내보내기:

🔍

npm install

설명 보기 ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

pip install

설명 보기 ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

설명 보기 ▼

Python 언어 인터프리터.
더 많은 정보: <https://docs.python.org/using/cmdline.html>.

python

REPL(대화형 셸) 시작:

python {{path/to/file.py}}

특정 Python 파일 실행:

python -i {{path/to/file.py}}

특정 Python 파일 실행 후 REPL 시작:

// repository documentation