agent-sentinel
jimmystacks 제작
AI & LLMs요약
The operational circuit breaker for this agent.
설명
이 스킬이 하는 일
AgentSentinel adds a budget enforcement and action safety layer to AI agents. It intercepts potentially destructive or expensive commands before execution, requiring explicit approval when thresholds are exceeded. An optional cloud connection enables real-time dashboards and human-in-the-loop approval workflows.
Unlike simple prompt-level guardrails, AgentSentinel enforces limits at the tool-call level and can escalate to a human approver before irreversible actions complete.
사용 시점
- Blocking an agent from deleting files without confirmation
- Capping API spend per session to avoid runaway costs
- Requiring human approval before an agent executes unknown code
- Monitoring cumulative cost across a long multi-step coding task
- Pausing an automated workflow when a sensitive data transfer is detected
예시 워크플로
User asks: clean up all temp files in /tmp
- 1
Agent calls check_safety with cmd='rm -rf /tmp' and estimated cost
- 2
sentinel_wrapper.py evaluates the command against budget and restriction rules
- 3
check_safety returns APPROVAL_REQUIRED for a destructive delete
- 4
Agent calls request_approval with the action and reason
- 5
Human approves or denies via dashboard; agent proceeds only on approval
Files deleted only after explicit human confirmation, with cost logged to the session.
요구 사항
- AGENT_SENTINEL_API_KEY environment variable (from agentsentinel.dev dashboard, required for cloud features)
설치
clawhub install jimmystacks/agent-sentinelCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.