Vigiora

Human in the loop1.6.9부터

Claude, ChatGPT, Codex 같은 AI 에이전트가 카메라를 움직이거나, 네트워크를 스캔하거나, 설정을 바꾸기 전에 사용자의 승인을 받아야 하는지, 아니면 바로 실행할지 선택합니다.

앱에서의 위치: /system/agents

Human in the loop(사람의 확인)는 서버에 연결된 AI 에이전트가 PTZ 카메라 이동, 네트워크 스캔, 카메라 삭제, 설정 변경 같은 위험한 작업을 하기 전에 사용자에게 먼저 물어봐야 하는지를 결정합니다.

  • 켜짐: 에이전트는 위험한 작업마다 사용자의 승인을 받아야 합니다. 이를 지원하는 앱은 Vigiora가 보내는 Allow / Deny 프롬프트를 보여 주고, 그렇지 않은 앱은 먼저 채팅에서 물어봐야 합니다.
  • 꺼짐: 에이전트는 묻지 않고 바로 실행합니다.

이 설정은 MCP 서버를 사용하는 AI 에이전트(claude.ai, Claude Desktop, ChatGPT, Claude Code, Codex, Cursor 등)에 적용됩니다. REST API를 호출하는 스크립트에는 절대 프롬프트가 표시되지 않습니다. 읽기(카메라, 스냅샷, 알림, 녹화)에는 승인이 필요하지 않습니다.

Human in the loop는 기본적으로 켜져 있습니다. 에이전트가 무엇을 할 수 있는지는 전혀 바꾸지 않습니다. 그것은 여전히 키의 스코프나 사용자가 승인한 접근 범위, 사용자의 역할, 카메라 권한이 결정합니다. 이 설정은 에이전트가 먼저 물어보는지만 결정합니다.

설정 위치#

설정할 수 있는 곳은 네 군데입니다. 서버 설정은 모든 사람에게 적용되고, 각 API 키와 각 연결된 앱은 그 설정을 따르거나 재정의할 수 있습니다.

위치대상선택 항목
Settings → AI and add-ons → AI agentsadmin이 변경하고, operator는 볼 수 있음서버 전체에 대해 Human in the loop 켜기 또는 끄기.
Settings → People and access → API keys의 Ask before actions 열각 사용자는 자기 키에 대해, admin은 모든 키에 대해Use server setting, Always ask 또는 Never ask.
API keys → Connected apps의 Ask before actions 열각 사용자는 자기 앱에 대해, admin은 모든 앱에 대해Use server setting, Always ask 또는 Never ask.
커넥터의 로그인 페이지, Ask me before actions로그인하는 사람이 앱에 대해 체크 또는 체크 해제.

변경은 에이전트의 다음 작업부터 적용됩니다. 에이전트를 다시 연결할 필요는 없습니다.

서버 설정#

  1. AI agents 탭 열기

    Settings → AI and add-ons → AI agents를 엽니다.

  2. 스위치 켜기 또는 끄기

    Human in the loop를 켜거나 끕니다. 바로 저장됩니다.

System → AI agents. 스위치가 켜져 있는 동안 에이전트가 먼저 묻는 작업을 상자에 나열합니다.
휴대폰에서는 탭 표시줄을 옆으로 스크롤하여 AI agents에 도달합니다.

API 키별, 연결된 앱별#

Settings → People and access → API keys에서 각 키에는 Ask before actions 메뉴가 있고, Connected apps 아래의 각 앱에도 같은 메뉴가 있습니다.

선택설명기본값
Use server settingSettings → AI and add-ons → AI agents를 따릅니다. 메뉴에 서버 설정이 괄호 안에 표시됩니다(예: (Always ask)).Yes
Always ask이 키 또는 앱을 사용하는 에이전트는 서버 설정이 꺼져 있어도 항상 먼저 묻습니다.—
Never ask이 키 또는 앱을 사용하는 에이전트는 바로 실행합니다. 서버 설정이 켜져 있는 동안에는 admin만 선택할 수 있습니다.—
달리 선택하지 않는 한 각 키는 서버 설정을 따릅니다. admin이 선택한 값은 Set by an admin으로 표시됩니다.
연결된 앱에도 같은 메뉴가 있습니다.

앱을 연결할 때#

claude.ai, ChatGPT 또는 로그인하는 다른 앱에 Vigiora를 추가하면, Vigiora 로그인 페이지의 접근 선택 아래에 Ask me before actions 체크박스가 있습니다. 처음에는 서버 설정과 같은 값으로 시작합니다. 그대로 두면 앱은 서버 설정을 따르고, 바꾸면 앱은 자체 Always ask 또는 Never ask 값을 갖게 되며, 나중에 Connected apps에서 변경할 수 있습니다.

서버 설정이 켜져 있는 동안에는 admin만 Ask me before actions를 체크 해제할 수 있습니다.

끌 수 있는 사람#

  • 서버 설정은 admin만 변경할 수 있습니다.
  • 서버 설정이 켜져 있는 동안에는 admin만 키나 앱에 대해 Never ask를 선택할 수 있습니다(또는 앱을 연결할 때 체크박스를 해제할 수 있습니다). 다른 사용자는 Use server setting 또는 Always ask를 선택할 수 있습니다.
  • 서버 설정이 꺼져 있는 동안에는 모든 사용자가 자기 키와 앱에 대해 어떤 값이든 선택할 수 있습니다.
  • 사용자가 서버 설정이 꺼져 있을 때 Never ask를 선택했는데 admin이 나중에 서버 설정을 켜면, 그 선택은 더 이상 유효하지 않습니다. 키 또는 앱은 다시 묻게 됩니다. 이때 메뉴에는 **Asks anyway: an admin turned it on for the server.**라고 표시됩니다. admin이 선택한 Never ask는 계속 유효하며, Set by an admin으로 표시됩니다.
  • 에이전트가 스스로 끌 수는 없습니다. API 키와 연결된 앱은 키나 앱을 관리할 수 없고, 커넥터로 로그인한 앱은 설정 도구를 절대 받지 못하며, 서버 설정을 바꾸는 것 자체가 승인이 필요한 작업입니다.

승인이 필요한 작업#

Human in the loop가 켜져 있는 동안 에이전트는 다음 종류의 작업 전에 묻습니다.

  • PTZ 카메라 이동 또는 프리셋으로 이동;
  • 네트워크 스캔 또는 탐색, 카메라 주소 조회;
  • 카메라 추가, 변경, 이동, 켜기/끄기, 삭제, 그리고 카메라 AI 켜기/끄기;
  • 클립 공유 또는 삭제, 녹화 보호 해제;
  • 설정 변경(이 설정과 카메라 검색 포함), 상태 점검의 자동 수정 실행, 구성 가져오기;
  • 사용자 생성, 변경, 삭제;
  • 웹훅 생성, 변경, 삭제, 그리고 웹훅 시크릿 교체;
  • 알림 발생 또는 삭제, 알림 규칙 생성, 변경, 켜기/끄기, 삭제(1.6.10부터);
  • 카메라의 AI 서비스 켜기/끄기 또는 설정 변경, PTZ 프리셋 저장, 기준 프레임 삭제(1.6.10부터);
  • 사이트, 그룹, 방, 스피커, 레이아웃 생성, 변경, 삭제, 얼굴 이름 지정 또는 삭제, 방에서 말하기 또는 오디오 재생, 스피커 테스트(1.6.10부터);
  • AI Live 시작, Guardian 대화 삭제, vigiora-client 재시작, 업데이트, 제거, 서버 업데이트 확인(1.6.10부터);
  • Guardian 순간 삭제, 최근 삭제 항목 비우기, 사진과 클립 다시 계산, 클립 프리롤과 삭제된 순간 보관 기간 변경(1.6.13부터);
  • Analytics 라인, 존, 영역 생성, 변경, 삭제, 카메라의 분석 설정, 영역의 재실 인원 설정, 평면도와 평면도 항목 생성, 변경, 삭제(1.6.13부터);
  • 방 알림 규칙, 카메라 스피커로 말하기, Home Assistant 설치, 업데이트, 재시작, 연결, 제거(1.6.13부터);
  • Home Assistant 브리지 연결, 공유할 장치 선택, 장치 연결, 트리거, 규칙 동작, 방 신호, 장치에 명령 보내기(1.6.13부터);
  • MQTT, Telegram, LINE 연동 변경(1.6.15부터);
  • Analytics 알림 규칙 생성, 변경, 삭제, 출입구 디스플레이 생성 또는 취소, 카메라를 DHCP로 이동, Home Assistant 인스턴스 추가, 변경, 연결, 연결 해제, 제거 및 공유 장치 선택(1.6.16부터);
  • 카메라의 사이렌 울리기, 그리고 끄지 못한 사이렌을 조용함으로 표시하기(1.7.3부터).

읽기에는 승인이 필요하지 않으며, 무해한 몇 가지 쓰기도 마찬가지입니다: PTZ 이동 중지, 사이렌과 모든 소리 멈추기(1.7.3부터), 알림 확인 처리, 녹화 보호, 클립 또는 다운로드 링크 만들기, 웹훅 테스트, 삭제된 순간 복원, 연동 또는 Home Assistant 인스턴스 테스트(1.6.15와 1.6.16부터), 설명으로 평면도 그리기, 변경하기, 변경 되돌리기(1.6.17부터), AI 보기 구성 또는 다듬기와 변환 텍스트 번역 또는 요약(1.6.18부터), 그리고 카메라 화면에서 이름 짓기, 평면도의 방 동기화, Zigbee 또는 IoT 기기의 이름 바꾸기·재구성·식별, 클라이언트 오류 보고의 해결 처리 또는 다시 열기(1.6.19부터). AI를 쓰는 작업은 AI 크레딧을 사용하므로 에이전트는 실행 직전에 알려 주는 것이 좋습니다. AI 보기 삭제는 확인을 요청하며(1.6.18부터), Zigbee 설정, 페어링 허용 시간 열기, 기기 공유·숨기기·잊기·제거, IoT 기기 변경도 마찬가지입니다(1.6.19부터). 서명된 실시간 영상 및 스냅샷 링크(create_camera_stream_url, create_camera_snapshot_url)는 읽기입니다. 카메라 프레임이나 업로드한 사진에서 물체 찾기(detect_objects, analyze_image)와 녹화에서 프레임 가져오기도 읽기입니다.

정확한 목록은 API 레퍼런스에서 생성됩니다(x-vigiora-confirm으로 표시된 작업과 파괴적 작업). 외부 AI 도구처럼 사용자 세션 전용인 작업은 제외됩니다. 에이전트는 호출할 수 없기 때문입니다.

MCP toolAPI v1 operationWhat it does
accept_ptz_patrol_scanPOST /api/v1/cameras/{camera_id}/ptz/patrol-scans/{scan_id}/actions/acceptSave the proposed patrol
add_detected_camerasPOST /api/v1/cameras/actions/add-detectedAdd detected cameras
apply_perception_coachPOST /api/v1/cameras/{camera_id}/actions/apply-perception-coachApply the Perception Coach suggestion
apply_room_perception_coachPOST /api/v1/rooms/{room_id}/actions/apply-perception-coachApply the Perception Coach suggestion to a room
bulk_update_camerasPOST /api/v1/cameras/actions/bulk-updateChange several cameras at once
check_system_updatePOST /api/v1/system/update/actions/checkCheck for an update
client_action_install_ffmpegPOST /api/v1/clients/{client_id}/actions/install-ffmpegInstall ffmpeg on a client
client_action_restartPOST /api/v1/clients/{client_id}/actions/restartRestart a vigiora-client
client_action_resync_camerasPOST /api/v1/clients/{client_id}/actions/resync-camerasResync a client's cameras
client_action_updatePOST /api/v1/clients/{client_id}/actions/updateUpdate a vigiora-client
command_home_assistant_devicePOST /api/v1/integrations/home-assistant/devices/{entity_id}/actions/commandRun a command on a device
connect_existing_home_assistantPOST /api/v1/integrations/home-assistant/actions/connect-existingConnect an existing Home Assistant
connect_home_assistant_bridgePOST /api/v1/integrations/home-assistant/bridge/actions/connectConnect Home Assistant's devices
connect_home_assistant_instancePOST /api/v1/integrations/home-assistant/instances/{instance_id}/actions/connectConnect a Home Assistant instance
create_alertPOST /api/v1/alertsReport an alert
create_alert_rulePOST /api/v1/cameras/{camera_id}/alert-rulesCreate a Guardian alert rule
create_analytics_alert_rulePOST /api/v1/analytics/alert-rulesCreate an analytics alert rule
create_analytics_areaPOST /api/v1/analytics/areasCreate an analytics area
create_analytics_displayPOST /api/v1/analytics/displaysCreate a door display
create_analytics_linePOST /api/v1/analytics/linesCreate a counting line
create_analytics_zonePOST /api/v1/analytics/zonesCreate an analytics zone
create_automationPOST /api/v1/automationsCreate an automation
create_cameraPOST /api/v1/camerasAdd a camera
create_camera_live_sharePOST /api/v1/cameras/{camera_id}/live-sharesCreate a live share link
create_client_cameraPOST /api/v1/clients/{client_id}/camerasAdd a camera on a client's network
create_clip_sharePOST /api/v1/clips/{clip_id}/sharesCreate a public share link
create_floor_planPOST /api/v1/floor-plansUpload a floor plan
create_groupPOST /api/v1/groupsCreate a group
create_home_assistant_instancePOST /api/v1/integrations/home-assistant/instancesAdd a Home Assistant instance
create_home_assistant_triggerPOST /api/v1/integrations/home-assistant/triggersCreate a device trigger
create_label_alert_rulePOST /api/v1/cameras/{camera_id}/label-alert-rulesCreate a label alert rule
create_library_album_sharePOST /api/v1/library/albums/{album_id}/sharesCreate a public link to an album
create_library_item_sharePOST /api/v1/library/items/{item_id}/sharesCreate a public link to a saved item
create_motion_rulePOST /api/v1/cameras/{camera_id}/motion-rulesCreate a smart-motion rule
create_motion_zonePOST /api/v1/cameras/{camera_id}/motion-zonesAdd a motion zone to a camera
create_outputPOST /api/v1/outputsAdd a speaker
create_robot_placePOST /api/v1/cameras/{camera_id}/robot/placesSave the robot's current spot as a place
create_roomPOST /api/v1/roomsCreate a room
create_room_alert_rulePOST /api/v1/rooms/{room_id}/alert-rulesCreate a room Guardian alert rule
create_runner_install_tokenPOST /api/v1/runners/install-tokenMint a runner install token
create_sitePOST /api/v1/sitesCreate a site
create_userPOST /api/v1/usersAdd a user
create_webhookPOST /api/v1/webhooksCreate a webhook
delete_alertDELETE /api/v1/alerts/{alert_id}Delete an alert
delete_alert_ruleDELETE /api/v1/alert-rules/{alert_rule_id}Delete a Guardian alert rule
delete_analytics_alert_ruleDELETE /api/v1/analytics/alert-rules/{analytics_alert_rule_id}Delete an analytics alert rule
delete_analytics_areaDELETE /api/v1/analytics/areas/{analytics_area_id}Delete an analytics area
delete_analytics_lineDELETE /api/v1/analytics/lines/{analytics_line_id}Delete a counting line
delete_analytics_zoneDELETE /api/v1/analytics/zones/{analytics_zone_id}Delete an analytics zone
delete_automationDELETE /api/v1/automations/{automation_id}Delete an automation
delete_branding_logoDELETE /api/v1/branding/logoRemove the server's logo
delete_cameraDELETE /api/v1/cameras/{camera_id}Delete a camera
delete_camera_ai_live_sessionDELETE /api/v1/ai-live/sessions/{ai_live_session_id}Delete an AI Live session
delete_clientDELETE /api/v1/clients/{client_id}Remove a vigiora-client
delete_clipDELETE /api/v1/clips/{clip_id}Delete a clip
delete_faceDELETE /api/v1/faces/{face_id}Delete a face
delete_floor_planDELETE /api/v1/floor-plans/{floor_plan_id}Delete a floor plan
delete_floor_plan_walkthroughDELETE /api/v1/floor-plans/walkthroughs/{walkthrough_id}Delete a walk-through
delete_groupDELETE /api/v1/groups/{group_id}Delete a group
delete_guardian_conversationDELETE /api/v1/guardian/conversations/{conversation_id}Delete a Guardian conversation
delete_guardian_entriesPOST /api/v1/guardian/entries/actions/deleteDelete Guardian entries in bulk
delete_guardian_entryDELETE /api/v1/guardian/entries/{entry_id}Delete a Guardian entry
delete_home_assistant_instanceDELETE /api/v1/integrations/home-assistant/instances/{instance_id}Remove a Home Assistant instance
delete_home_assistant_triggerDELETE /api/v1/integrations/home-assistant/triggers/{trigger_id}Delete a device trigger
delete_label_alert_ruleDELETE /api/v1/label-alert-rules/{label_alert_rule_id}Delete a label alert rule
delete_layoutDELETE /api/v1/layouts/{layout_id}Delete a layout
delete_layout_sequenceDELETE /api/v1/layout-sequences/{layout_sequence_id}Delete a layout sequence
delete_library_albumDELETE /api/v1/library/albums/{album_id}Delete an album
delete_library_folderPOST /api/v1/library/folders/actions/deleteDelete an empty library folder
delete_library_itemDELETE /api/v1/library/items/{item_id}Delete a saved item
delete_memory_factDELETE /api/v1/memory/facts/{fact_id}Forget a remembered fact
delete_motion_ruleDELETE /api/v1/motion-rules/{motion_rule_id}Delete a smart-motion rule
delete_motion_zoneDELETE /api/v1/cameras/{camera_id}/motion-zones/{zone_id}Remove a motion zone
delete_outputDELETE /api/v1/outputs/{output_id}Delete a speaker
delete_privacy_maskDELETE /api/v1/cameras/{camera_id}/privacy-masks/{mask_id}Remove a privacy mask
delete_ptz_patrolDELETE /api/v1/cameras/{camera_id}/ptz/patrols/{patrol_id}Delete a patrol
delete_ptz_presetDELETE /api/v1/cameras/{camera_id}/ptz/presets/{preset_token}Delete a PTZ preset
delete_recording_cardsPOST /api/v1/recordings/cards/actions/deleteDelete whole cards
delete_reference_frameDELETE /api/v1/cameras/{camera_id}/reference-frameDelete a reference frame
delete_robot_nav_mapDELETE /api/v1/cameras/{camera_id}/robot/nav/mapForget everything the robot learned
delete_robot_placeDELETE /api/v1/cameras/{camera_id}/robot/places/{place_id}Delete a robot place
delete_roomDELETE /api/v1/rooms/{room_id}Delete a room
delete_room_alert_ruleDELETE /api/v1/rooms/{room_id}/alert-rules/{alert_rule_id}Delete a room Guardian alert rule
delete_room_inventoryDELETE /api/v1/rooms/{room_id}/inventoryClear a room's stock list
delete_siteDELETE /api/v1/sites/{site_id}Delete a site
delete_userDELETE /api/v1/users/{user_id}Delete a user
delete_viewDELETE /api/v1/views/{view_id}Delete an AI view
delete_webhookDELETE /api/v1/webhooks/{webhook_id}Delete a webhook
detect_cameraPOST /api/v1/cameras/actions/detectDetect a camera's streams
detect_camera_batchPOST /api/v1/cameras/actions/detect-batchDetect several cameras with one login
disable_alert_rulePOST /api/v1/alert-rules/{alert_rule_id}/actions/disableDisable a Guardian alert rule
disable_cameraPOST /api/v1/cameras/{camera_id}/actions/disableDisable a camera
disable_camera_aiPOST /api/v1/cameras/{camera_id}/actions/disable-aiSwitch AI off for a camera
disable_camera_ai_servicePOST /api/v1/cameras/{camera_id}/ai-services/{ai_service_id}/actions/disableSwitch an AI service off for a camera
disconnect_home_assistant_bridgePOST /api/v1/integrations/home-assistant/bridge/actions/disconnectDisconnect Home Assistant's devices
disconnect_home_assistant_instancePOST /api/v1/integrations/home-assistant/instances/{instance_id}/actions/disconnectDisconnect a Home Assistant instance
disconnect_loonaPOST /api/v1/loona/actions/disconnectDisconnect from the Loona robot
dismiss_auto_light_actionDELETE /api/v1/iot/auto-actions/{auto_action_id}Dismiss an automatic light action
dismiss_soundPOST /api/v1/sounds/{sound_id}/actions/dismissDismiss a siren that could not be switched off
drive_loonaPOST /api/v1/loona/actions/driveDrive the Loona robot
emote_loonaPOST /api/v1/loona/actions/emoteMake the Loona robot play an expression
enable_alert_rulePOST /api/v1/alert-rules/{alert_rule_id}/actions/enableEnable a Guardian alert rule
enable_cameraPOST /api/v1/cameras/{camera_id}/actions/enableEnable a camera
enable_camera_aiPOST /api/v1/cameras/{camera_id}/actions/enable-aiSwitch AI on for a camera
enable_camera_ai_servicePOST /api/v1/cameras/{camera_id}/ai-services/{ai_service_id}/actions/enableSwitch an AI service on for a camera
expose_home_assistant_zigbee_devicePOST /api/v1/integrations/home-assistant/zigbee/devices/{zigbee_device_id}/actions/exposeShare a Zigbee device with Vigiora
expose_io_t_devicePOST /api/v1/iot/devices/{iot_device_id}/actions/exposeShare an IoT device with Vigiora
find_robot_keyboardsPOST /api/v1/cameras/{camera_id}/robot/actions/find-keyboardsFind Bluetooth MIDI keyboards with a robot camera
forget_io_t_devicePOST /api/v1/iot/devices/{iot_device_id}/actions/forgetForget an IoT device
goto_ptz_presetPOST /api/v1/cameras/{camera_id}/ptz/presets/{preset_token}/actions/gotoGo to a PTZ preset
goto_robot_placePOST /api/v1/cameras/{camera_id}/robot/places/{place_id}/actions/gotoSend the robot to a place
import_automationPOST /api/v1/automations/actions/importCreate an automation from a blueprint
import_configPOST /api/v1/config/importImport a configuration
install_addonPOST /api/v1/addons/{addon_id}/installInstall a catalogue add-on
install_home_assistantPOST /api/v1/integrations/home-assistant/actions/installInstall Home Assistant
install_system_updatePOST /api/v1/system/update/actions/installInstall the staged update
list_ai_modelsPOST /api/v1/system/ai-model/actions/list-modelsList the models of a model server
lookup_network_addressGET /api/v1/network/lookupFind the current IP of a MAC (or the MAC of an IP)
move_device_to_dhcpPOST /api/v1/network/devices/actions/move-to-dhcpMove a camera from a conflicting static address to DHCP
move_ptzPOST /api/v1/cameras/{camera_id}/ptz/actions/moveMove the camera
move_ptz_in_roomPOST /api/v1/rooms/{room_id}/actions/move-ptzMove a room camera
patch_motion_zone_settingsPATCH /api/v1/cameras/{camera_id}/motion-zone-settingsSet a camera's motion zone mode
patch_perception_coach_settingsPATCH /api/v1/agents/perception-coach/settingsChange the Perception Coach settings
permit_home_assistant_zigbee_joinPOST /api/v1/integrations/home-assistant/actions/zigbee-permit-joinLet a new Zigbee device join
photo_loonaPOST /api/v1/loona/actions/photoMake the Loona robot take a photo
play_audio_in_roomPOST /api/v1/rooms/{room_id}/actions/play-audioPlay audio in a room
play_robot_melodyPOST /api/v1/cameras/{camera_id}/robot/actions/play-melodyPlay a melody on a Bluetooth keyboard with a robot camera
purge_guardian_entriesPOST /api/v1/guardian/trash/actions/purgePermanently delete recently deleted entries
recompute_guardian_clipsPOST /api/v1/guardian/entries/actions/recompute-clipsRe-cut the clips of recent Guardian entries
recompute_guardian_framesPOST /api/v1/guardian/entries/actions/recompute-framesRecompute the pictures of recent Guardian entries
reconnect_loonaPOST /api/v1/loona/actions/reconnectReconnect to the Loona robot
refresh_loonaPOST /api/v1/loona/actions/refreshAsk the Loona robot for its state now
relocate_cameraPOST /api/v1/cameras/{camera_id}/actions/relocateMove a camera to its MAC's current address
remove_addonDELETE /api/v1/addons/{addon_id}Remove an add-on
remove_home_assistant_zigbee_devicePOST /api/v1/integrations/home-assistant/zigbee/devices/{zigbee_device_id}/actions/removeRemove a Zigbee device
remove_io_t_devicePOST /api/v1/iot/devices/{iot_device_id}/actions/removeRemove a Zigbee device from the network
rename_facePATCH /api/v1/faces/{face_id}Name a face
replace_floor_plan_itemsPOST /api/v1/floor-plans/{floor_plan_id}/items/actions/replaceReplace what is placed on a floor plan
replace_room_inventoryPOST /api/v1/rooms/{room_id}/inventory/actions/replaceReplace a room's stock list
restart_home_assistantPOST /api/v1/integrations/home-assistant/actions/restartRestart Home Assistant
resume_ptz_patrolPOST /api/v1/cameras/{camera_id}/ptz/patrol/actions/resumeResume the patrol
return_robot_homePOST /api/v1/cameras/{camera_id}/robot/nav/actions/return-homeSend the robot home
revert_perception_coachPOST /api/v1/cameras/{camera_id}/actions/revert-perception-coachRestore the human prompt
revert_room_perception_coachPOST /api/v1/rooms/{room_id}/actions/revert-perception-coachRestore the human room rules
revoke_account_sessionDELETE /api/v1/account/sessions/{session_id}Sign a device out
revoke_analytics_displayDELETE /api/v1/analytics/displays/{analytics_display_id}Revoke a door display
rotate_automation_webhookPOST /api/v1/automations/{automation_id}/actions/rotate-webhookReplace an automation's web address
rotate_webhook_secretPOST /api/v1/webhooks/{webhook_id}/actions/rotate-secretRotate the signing secret
run_auto_scanPOST /api/v1/network/auto-scan/actions/runScan the network for new cameras now
run_automationPOST /api/v1/automations/{automation_id}/actions/runRun or test an automation now
run_diagnostic_fixPOST /api/v1/setup/diagnostics/actions/fixRun an automatic fix
save_ptz_presetPOST /api/v1/cameras/{camera_id}/ptz/presetsSave a PTZ preset
scan_bluetoothPOST /api/v1/bluetooth/actions/scanScan for Bluetooth devices now
scan_robot_bluetoothPOST /api/v1/cameras/{camera_id}/robot/actions/bluetooth-scanScan Bluetooth with a robot camera
send_error_reportsPOST /api/v1/system/error-reports/actions/sendSend error reports to Vigiora
sense_robotPOST /api/v1/cameras/{camera_id}/robot/actions/senseScan the room with a robot camera
set_analytics_occupancyPOST /api/v1/analytics/areas/{analytics_area_id}/actions/set-occupancyCorrect an area's occupancy
set_camera_clockPOST /api/v1/cameras/{camera_id}/actions/set-clockSet a camera's clock to the server's
set_detected_camera_clockPOST /api/v1/cameras/actions/set-clockSet the clock of a camera being added
set_home_assistant_entity_accessPOST /api/v1/integrations/home-assistant/entities/{entity_id}/actions/set-accessExpose a Home Assistant entity
set_home_assistant_instance_entity_accessPOST /api/v1/integrations/home-assistant/instances/{instance_id}/entities/{entity_id}/actions/set-accessExpose an instance's entity
set_io_t_device_entityPOST /api/v1/iot/devices/{iot_device_id}/entities/{entity_id}/actions/setChange a device's control or setting
set_robot_cameraPOST /api/v1/cameras/{camera_id}/robot/actions/cameraSwitch a robot camera's picture on or off
setup_home_assistant_zigbeePOST /api/v1/integrations/home-assistant/actions/setup-zigbeeSet up Zigbee in Home Assistant
speak_in_roomPOST /api/v1/rooms/{room_id}/actions/speakSpeak in a room
speak_loonaPOST /api/v1/loona/actions/speakMake the Loona robot speak
speak_on_cameraPOST /api/v1/cameras/{camera_id}/actions/speakSpeak through a camera
start_camera_ai_live_sessionPOST /api/v1/ai-live/sessionsStart AI Live on a camera
start_camera_panoramaPOST /api/v1/cameras/{camera_id}/panoramaCapture a panorama
start_camera_sirenPOST /api/v1/cameras/{camera_id}/actions/sirenSound a camera's siren
start_io_t_light_effectPOST /api/v1/iot/devices/{iot_device_id}/entities/{entity_id}/actions/start-effectRun a light effect (blink, pulse, strobe)
start_network_scanPOST /api/v1/network/actions/scanScan the local network
start_ptz_patrolPOST /api/v1/cameras/{camera_id}/ptz/patrol/actions/startStart a patrol
start_ptz_patrol_scanPOST /api/v1/cameras/{camera_id}/ptz/patrol-scansSet a patrol up automatically
start_robot_nav_learnPOST /api/v1/cameras/{camera_id}/robot/nav/learn/actions/startStart learning the home
start_robot_patrolPOST /api/v1/cameras/{camera_id}/robot/patrol/actions/startStart an AI patrol of a robot camera
start_room_ai_livePOST /api/v1/rooms/{room_id}/ai-live/actions/startStart AI Live in a room
test_ai_modelPOST /api/v1/system/ai-model/actions/testTest the AI model
test_alert_speakerPOST /api/v1/alert-speaker/actions/testTest a camera speaker
test_outputPOST /api/v1/outputs/{output_id}/actions/testTest a speaker
unexpose_home_assistant_zigbee_devicePOST /api/v1/integrations/home-assistant/zigbee/devices/{zigbee_device_id}/actions/unexposeHide a Zigbee device from Vigiora
unexpose_io_t_devicePOST /api/v1/iot/devices/{iot_device_id}/actions/unexposeHide an IoT device from Vigiora
uninstall_home_assistantPOST /api/v1/integrations/home-assistant/actions/uninstallUninstall Home Assistant
unprotect_recordingPOST /api/v1/recordings/{recording_id}/actions/unprotectUnprotect a recording
update_addonPOST /api/v1/addons/{addon_id}/updateUpdate an add-on
update_agent_settingsPATCH /api/v1/settings/agentsChange AI agent settings
update_ai_modelPATCH /api/v1/system/ai-modelChoose the AI model
update_alert_rulePATCH /api/v1/alert-rules/{alert_rule_id}Update a Guardian alert rule
update_alert_speaker_settingsPATCH /api/v1/alert-speaker/settingsChange camera speaker alert settings
update_analytics_alert_rulePATCH /api/v1/analytics/alert-rules/{analytics_alert_rule_id}Update an analytics alert rule
update_analytics_areaPATCH /api/v1/analytics/areas/{analytics_area_id}Update an analytics area
update_analytics_linePATCH /api/v1/analytics/lines/{analytics_line_id}Update a counting line
update_analytics_zonePATCH /api/v1/analytics/zones/{analytics_zone_id}Update an analytics zone
update_auto_scanPATCH /api/v1/network/auto-scanTurn automatic network scanning on or off
update_automationPATCH /api/v1/automations/{automation_id}Change an automation
update_brandingPATCH /api/v1/brandingChange the server's name, accent colour or Powered by line
update_cameraPATCH /api/v1/cameras/{camera_id}Update a camera
update_camera_ai_servicePATCH /api/v1/cameras/{camera_id}/ai-services/{ai_service_id}Change a camera's AI service settings
update_camera_analyticsPATCH /api/v1/cameras/{camera_id}/analyticsUpdate a camera's analytics settings
update_camera_clockPATCH /api/v1/cameras/{camera_id}/clockSet the time zone a camera's clock should be in
update_clientPATCH /api/v1/clients/{client_id}Update a vigiora-client
update_error_report_settingsPATCH /api/v1/system/error-reports/settingsChange whether error reports are sent
update_floor_planPATCH /api/v1/floor-plans/{floor_plan_id}Update a floor plan
update_groupPATCH /api/v1/groups/{group_id}Update a group
update_guardian_clip_settingsPATCH /api/v1/guardian/clips/settingsChange the Guardian clip settings
update_guardian_trash_settingsPATCH /api/v1/guardian/trash/settingsChange the Recently deleted settings
update_health_settingsPATCH /api/v1/system/health/settingsChange the health check settings
update_home_assistantPOST /api/v1/integrations/home-assistant/actions/updateUpdate Home Assistant
update_home_assistant_devicePATCH /api/v1/integrations/home-assistant/devices/{entity_id}Link a device to cameras and rooms
update_home_assistant_instancePATCH /api/v1/integrations/home-assistant/instances/{instance_id}Rename, enable or disable a Home Assistant instance
update_home_assistant_integrationPOST /api/v1/integrations/home-assistant/actions/update-integrationUpdate the Vigiora integration in Home Assistant
update_home_assistant_room_signalsPATCH /api/v1/integrations/home-assistant/room-signals/{room_id}Set a room's devices
update_home_assistant_rule_actionsPATCH /api/v1/integrations/home-assistant/rule-actions/{alert_rule_id}Set an alert rule's device actions
update_home_assistant_triggerPATCH /api/v1/integrations/home-assistant/triggers/{trigger_id}Update a device trigger
update_io_t_devicePATCH /api/v1/iot/devices/{iot_device_id}Change an IoT devices settings
update_label_alert_rulePATCH /api/v1/label-alert-rules/{label_alert_rule_id}Update a label alert rule
update_line_integrationPATCH /api/v1/integrations/lineSet up LINE notifications
update_loona_settingsPATCH /api/v1/loona/settingsChange the Loona settings
update_memory_factPATCH /api/v1/memory/facts/{fact_id}Correct a remembered fact
update_motion_rulePATCH /api/v1/motion-rules/{motion_rule_id}Update a smart-motion rule
update_motion_zonePATCH /api/v1/cameras/{camera_id}/motion-zones/{zone_id}Rename or reshape a motion zone
update_mqtt_integrationPATCH /api/v1/integrations/mqttSet up the MQTT integration
update_outputPATCH /api/v1/outputs/{output_id}Update a speaker
update_privacy_maskPATCH /api/v1/cameras/{camera_id}/privacy-masks/{mask_id}Rename or reshape a privacy mask
update_ptz_presetPATCH /api/v1/cameras/{camera_id}/ptz/presets/{preset_token}Rename or move a PTZ preset
update_robot_nav_settingsPATCH /api/v1/cameras/{camera_id}/robot/nav/settingsChange robot navigation settings
update_roomPATCH /api/v1/rooms/{room_id}Update a room
update_room_alert_rulePATCH /api/v1/rooms/{room_id}/alert-rules/{alert_rule_id}Update a room Guardian alert rule
update_room_outputsPATCH /api/v1/rooms/{room_id}/outputsSet a room's speakers
update_settingsPATCH /api/v1/settingsChange server settings
update_sitePATCH /api/v1/sites/{site_id}Update a site
update_telegram_integrationPATCH /api/v1/integrations/telegramSet up Telegram notifications
update_userPATCH /api/v1/users/{user_id}Change a user
update_webhookPATCH /api/v1/webhooks/{webhook_id}Update a webhook
upload_branding_logoPUT /api/v1/branding/logoUpload the server's logo

GET /api/v1/agent-policy도 confirm_operations에 같은 목록을 반환합니다.

작동 방식#

Human in the loop는 서버가 MCP 엔드포인트에서 모든 도구 호출마다 강제합니다.

프롬프트를 표시할 수 있는 앱에서#

앱이 MCP elicitation을 지원하면 Vigiora가 직접 사용자에게 묻습니다. 앱은 Vigiora가 작성한 프롬프트를 표시합니다. 예를 들면 다음과 같습니다.

Vigiora asks for your approval: move camera "Entrance" (#5) left for 2.5 s. Requested by an app calling itself "Claude". Allow it?
  • Allow는 작업을 실행합니다. Deny 또는 프롬프트 닫기는 작업을 취소하고, 에이전트는 user_declined 오류를 받습니다.
  • 에이전트는 사용자 대신 답하거나 프롬프트를 건너뛸 수 없습니다. 사용자의 답은 바로 그 작업에만 묶여 있고 10분 후에 만료됩니다.
  • Vigiora 자신의 문구가 먼저 나옵니다. 앱이나 사용자가 정한 이름(앱 이름, 카메라와 사용자 이름)은 따옴표로 묶이고 짧게 잘리므로, Vigiora인 척할 수 없습니다.
  • 변경 작업은 필드와 새 값을 나열합니다(예: role → "admin", enabled → off). 비밀번호와 시크릿은 “(new value hidden)”으로 표시되고, 웹 주소는 로그인 정보 없이 표시됩니다.

이 기능에는 MCP 프로토콜 버전 2026-07-28 이상을 사용하는 앱이 필요합니다.

다른 앱에서#

elicitation이 없는 앱은 Vigiora의 프롬프트를 표시할 수 없습니다. 그러면 다음과 같이 진행됩니다.

  1. 도구가 confirmation_required 오류로 응답합니다. details.action은 작업을 쉬운 말로 설명하고, details.retry_with는 {"confirm": true}입니다.
  2. 에이전트가 작업을 보여 주고 채팅에서 사용자에게 묻습니다.
  3. 사용자가 예라고 답한 경우에만, 에이전트가 같은 인수에 confirm: true를 더해 같은 도구를 다시 호출합니다.
{
  "http_status": 428,
  "error": {
    "code": "confirmation_required",
    "message": "Human in the loop is on: ask the user to approve this action (move camera \"Entrance\" (#5) left for 2.5 s). Only if they approve, call move_ptz again with the same arguments and confirm: true.",
    "details": { "action": "move camera \"Entrance\" (#5) left for 2.5 s", "retry_with": { "confirm": true } }
  }
}

앱이 elicitation을 지원하면 confirm: true가 프롬프트를 건너뛰지 않습니다. Human in the loop가 꺼져 있으면 도구는 즉시 실행되고 confirm은 무시됩니다.

REST에는 영향이 없습니다#

/api/v1에 대한 일반 REST 호출에는 프롬프트가 표시되지 않으며, confirmation_required로 응답하지도 않습니다. confirm 필드가 있는 REST 본문은 거부됩니다(400 validation_error). Human in the loop는 MCP를 사용하는 AI 에이전트에 관한 것입니다.

한계#

Human in the loop는 안전장치이지 샌드박스가 아닙니다.

  • 서버는 앱이 보고하는 내용만 신뢰할 수 있습니다. 모든 프롬프트를 자동으로 수락하거나, elicitation을 선언하지 않거나, 2026-07-28보다 오래된 프로토콜을 사용하는 앱은 대신 confirmation_required를 받고, 그러면 에이전트 자신이 confirm: true로 사용자의 답을 전달합니다. elicitation이 더 강력한 방식입니다. 모델이 아니라 사용자가 답하기 때문입니다.
  • 작업마다 확인합니다. 위험한 도구 호출마다 다시 묻습니다. 승인은 그 한 번의 호출에만 해당합니다.
  • 접근 범위를 제한하지 않습니다. 에이전트가 할 수 있는 일을 제한하려면 필요한 스코프만 가진 키를 주거나, Read only 커넥터를 사용하세요. 인증과 스코프를 참고하세요.

에이전트에서 정책 확인하기#

모든 자격 증명은 스코프 없이 자신의 정책을 읽을 수 있습니다.

Terminal
curl -s https://yourname.vigiora.com/api/v1/agent-policy \
  -H "Authorization: Bearer vgk_xxxxxxxx_xxxxxxxxxxxxxxxx"
{
  "human_in_the_loop": true,
  "source": "server",
  "override": "inherit",
  "server_human_in_the_loop": true,
  "confirm_operations": ["addDetectedCameras", "bulkUpdateCameras", "createAlert", "…"],
  "note": "Human in the loop is ON for this credential: AI agents must get the user's approval before the operations in confirm_operations. …"
}
필드의미
human_in_the_loop이 자격 증명을 사용하는 에이전트가 먼저 물어야 하는지.
source무엇이 결정했는지: server(서버 설정), api_key 또는 connected_app(이 자격 증명 자체의 선택).
override이 키 또는 앱의 선택: inherit, on 또는 off.
server_human_in_the_loop서버 설정.
confirm_operations켜져 있는 동안 승인이 필요한 operationId 목록. MCP 도구 이름은 같은 이름의 snake_case입니다.
note에이전트가 따를 수 있도록 정책을 한 문장으로 쓴 것.

MCP에서는 get_agent_policy 도구가 같은 역할을 하며, 에이전트가 연결할 때 서버가 보내는 안내에도 human in the loop가 켜져 있는지가 이미 적혀 있습니다. Vigiora 스킬은 에이전트에게 먼저 이것을 확인하고, 켜져 있을 때만 물어보라고 알려 줍니다.

admin은 API로도 서버 설정을 읽고 바꿀 수 있습니다: GET과 PATCH /api/v1/settings/agents(settings:read, settings:write; PATCH 자체는 human in the loop가 켜져 있는 동안 승인이 필요합니다). 사용자는 PATCH /api/v1/api-keys/{key_id}와 {"human_in_the_loop": "on"}(inherit, on 또는 off; 로그인한 사용자만)으로 자기 키의 선택을 바꿉니다.

GitHub에서 이 페이지 편집