본문으로 건너뛰기
cccskills
무료GitHub에 공개

setup

Launch all services for the Retail-Agentic-Commerce project. Use when the user types setup, install, or asks to start, launch, or run the project stack.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Docker
설치 방법 보기

포함된 파일(1)

  • SKILL.md4.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Setup

This skill sets up and launches the Retail-Agentic-Commerce project. It supports Docker deployment and local development.

Ask First

Ask which deployment mode the user wants before proceeding unless they already specified one:

  1. Docker, recommended default: runs everything in containers via Docker Compose.
  2. Local development: runs infrastructure in Docker, but backend services, agents, and UIs run directly on the host.

If the user says "setup" or "install" without specifying a mode, ask them. Default to Docker only if the user explicitly says to use the default.

Shared Prerequisites

Create .env from the template if it does not exist:

cp env.example .env

Do not overwrite an existing .env.

Validate that NVIDIA_API_KEY is set to a real key:

  • Valid: starts with nvapi- and is not the placeholder.
  • Invalid: missing, empty, or nvapi-xxx.

If the key is missing or placeholder, stop and tell the user to create a key at https://build.nvidia.com/settings/api-keys and set it in .env.

Confirm these public NIM endpoint defaults unless the user intentionally configured another host:

NIM_LLM_BASE_URL=https://integrate.api.nvidia.com/v1
NIM_EMBED_BASE_URL=https://integrate.api.nvidia.com/v1

Docker Deployment

Check prerequisites:

docker --version
docker compose version
docker info

Launch services:

docker network create acp-infra-network || true
docker compose -f docker-compose.infra.yml -f docker-compose.yml up --build -d

Check service status:

docker compose -f docker-compose.infra.yml -f docker-compose.yml ps

Verify core health endpoints:

curl -s http://localhost/api/health
curl -s http://localhost/psp/health
curl -s http://localhost/apps-sdk/health

Verify NAT agents from the merchant container because Docker agents are internal-only:

docker compose -f docker-compose.infra.yml -f docker-compose.yml exec merchant \
  python -c "
import urllib.request as u
for name, url in [
    ('promotion', 'http://promotion-agent:8002/health'),
    ('post-purchase', 'http://post-purchase-agent:8003/health'),
    ('recommendation', 'http://recommendation-agent:8004/health'),
    ('search', 'http://search-agent:8005/health'),
]:
    try:
        status = u.urlopen(url, timeout=5).status
        print(f'{name}: {status}')
    except Exception as e:
        print(f'{name}: FAILED ({e})')
"

Report these URLs when Docker setup succeeds:

Demo UI: http://localhost
API Health: http://localhost/api/health
PSP Health: http://localhost/psp/health
Apps SDK Health: http://localhost/apps-sdk/health
API OpenAPI: http://localhost/api/openapi.json
PSP OpenAPI: http://localhost/psp/openapi.json
Apps SDK OpenAPI: http://localhost/apps-sdk/openapi.json
Phoenix Traces: http://localhost:6006
MinIO Console: http://localhost:9001

Local Development

Run the automated setup script from the repo root:

./install.sh

Stop services with:

./stop.sh

The script validates prerequisites, creates .env from env.example if missing, validates NVIDIA_API_KEY, installs dependencies, starts services, and runs health checks.

Expected local URLs:

Demo UI: http://localhost:3000
Merchant API: http://localhost:8000/docs
PSP: http://localhost:8001/docs
Apps SDK MCP: http://localhost:2091/docs
Phoenix Traces: http://localhost:6006
MinIO Console: http://localhost:9001

Troubleshooting

  • View local logs with tail -f logs/<service>.log.
  • Check Docker logs with docker compose -f docker-compose.infra.yml -f docker-compose.yml logs -f <service-name>.
  • Inspect port conflicts with lsof -i :<port>.
  • For Docker reset, run docker compose -f docker-compose.infra.yml -f docker-compose.yml down -v, then launch again.

Completion Criteria

Report the chosen mode, commands run, health check results, URLs, and any services that failed to start.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Dependency vulnerability remediation workflow for this repository. Use when fixing CVE, BDSA, GHSA, OSV, npm, PyPI, Dependabot, Black Duck, Snyk, or other package vulnerability findings, especially when the user asks for minimal package-only updates, validation, commits, branches, or pull requests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

Discoverability shim for the Retail-Agentic-Commerce CVE remediation Codex skill. Use for CVE, BDSA, GHSA, OSV, Dependabot, Black Duck, Snyk, npm, PyPI, or package advisory remediation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

features

무료

Discoverability shim for the Retail-Agentic-Commerce backend feature Codex skill. Use when writing or modifying Python backend code, routes, services, models, tests, or protocol logic.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

features

무료

Python backend development standards for FastAPI, SQLModel, pytest, Ruff, and Pyright. Use when writing or modifying backend code in src/merchant, src/payment, src/apps_sdk, agents, tests, API routes, services, models, or protocol logic.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

Pre-commit implementation analysis for Retail-Agentic-Commerce. Use before commits, after significant changes, or when validating Apps SDK tools, mock data, MCP communication, widget isolation, or implementation quality.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

Discoverability shim for the Retail-Agentic-Commerce pre-commit analysis Codex skill. Use before commits, after significant changes, or for implementation-quality validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

NVIDIA-AI-Blueprints의 스킬 모두 보기

이 스킬의 문제 신고