AI Guard for coding Agent 가이드
[Korean]
저장소 https://github.com/datadog-labs/trajectory에는 Claude Code, Codex, Cursor(IDE/CLI)에서 AI Guard를 테스트할 수 있는 설치 스크립트가 포함되어 있습니다.
설치하려면 API 키와 APP 키를 환경 변수(DD_API_KEY, DD_APP_KEY)로 설정한 다음, 보안 기능을 활성화하여 설치 스크립트를 실행하세요.
./install.sh --security \
--security-mode [enforce|observe] \
--security-privacy [unredacted|coding_agent]
다음 두 가지 옵션을 설정할 수 있습니다.
- security-mode(선택 사항): 차단하려면
enforce, 모니터링만 하려면observe를 선택하세요.- security-privacy(선택 사항):
unredacted또는coding_agent를 선택하세요.coding_agent를 선택하면 실행 궤적(trajectory)이 비식별화되며, 전체 대화 내용이 Datadog에 저장되지 않습니다.
참고로 현재 코딩 에이전트 평가와 관련된 UI를 계속 다듬고 있어 일부 프런트엔드 문제가 발생할 수 있습니다. 문제가 생기면 알려주세요!
추신: Trajectory는 코딩 에이전트 관측성(observability)을 위해 기본적으로 사용하는 도구입니다.
[English]
The repository https://github.com/datadog-labs/trajectory contains an install script for testing AI Guard in Claude Code, Codex, and Cursor (IDE/CLI).
To install, provide your API and APP keys as environment variables (DD_API_KEYandDD_APP_KEY), then run the install script with the security product enabled:
./install.sh --security --security-mode [enforce|observe] --security-privacy [unredacted|coding_agent]
Two options you can tune:
- security-mode (optional): choose
enforceto block, orobserveto monitor only. - security-privacy (optional): choose
unredacted, orcoding_agentto redact trajectories and prevent full conversations from being stored at Datadog.
Note that we're still polishing the UI around coding agent evaluations, so you may run into some frontend issues. Let me know if you hit any issues!
PS: Trajectory is our default tool for coding agent observability, happy to tell you more about it if you're interested.