커스텀 앱
커스텀 앱
LangSmith 안에서 실행되고 LangSmith API와 통신하는 커스텀 UI를 만들고 배포해요.
커스텀 앱은 Enterprise 요금제에서만 사용할 수 있어요.
커스텀 앱은 여러분이 만들고, LangSmith 안에서 실행되며 LangSmith API와 통신하는 커스텀 UI예요. 자체 코딩 에이전트로 앱을 로컬에서 빌드하고 LangSmith로 푸시하면, 워크스페이스에서 나와 팀이 사용할 수 있게 돼요.
모든 워크플로에 LangSmith UI가 맞을 수는 없어요—커스텀 앱이 그 탈출구예요. 목적에 맞게 만든 주석(annotation) 표면이 필요한가요? 맞춤형 실험 비교가 필요한가요? 자체 트레이스에 범위가 한정된 대시보드가 필요한가요? 한 번 빌드해 푸시하면 팀의 모든 사람이 별도의 인프라를 구축하지 않고도 LangSmith 안에서 사용할 수 있어요.
langsmith apps init은 스타터 코드와 함께 AGENTS.md를 생성하는데, 이 파일이 코딩 에이전트에게 첫 번째 시도에서 작동하는 앱을 만들기 위해 필요한 규칙과 API 표면을 안내해요.
출처: 문서
본문
시작하기
# 0. Set your credentials
export LANGSMITH_ENDPOINT=<your-langsmith-endpoint>
export LANGSMITH_API_KEY=<your-langsmith-api-key>
# 1. Scaffold a new app
langsmith apps init --name my-annotation-view --template annotation-queue
# 2. Iterate locally — the app runs in a live sandbox connected to LangSmith
cd my-annotation-view
langsmith apps dev
# 3. Push to LangSmith when ready
langsmith apps push
# 4. Open it — the app is now available to your whole team under Custom Apps in the LangSmith sidebar
CLI 참조
| 명령 | 하는 일 |
|---|---|
langsmith apps init --name NAME [--template annotation-queue|annotation-queue-grid|coding-agent-dashboard|experiment-comparison] |
앱 이름을 딴 새 디렉터리에 스타터 앱을 생성해요. |
langsmith apps dev |
현재 디렉터리의 앱을 실제 샌드박스에서 로컬로 실행해요. |
langsmith apps push |
현재 디렉터리를 커스텀 앱으로 업로드해요 (생성 또는 업데이트). |
langsmith apps pull APP_ID_OR_NAME |
앱의 소스를 새 디렉터리로 다운로드해요. |
langsmith apps list |
커스텀 앱을 나열해요. |
langsmith apps delete APP_ID_OR_NAME |
ID 또는 이름으로 앱을 삭제해요. |