ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
튜토리얼 자료 · 작성자 unknown

Z-GRC: LLM 거버넌스용 Python 라이브러리 및 컨트롤 패널, CLI(Claude Code 등)에도 적용 가능: r/ClaudeCode

Z-GRC는 LLM 애플리케이션과 CLI를 위한 오픈소스 거버넌스·위험·통제 엔진입니다. LLM API 호출을 가로채는 Python 패키지, 사용자·그룹·할당량·API 토큰을 관리하는 Next.js 컨트롤 패널, 프록시 서버 모드를 제공합니다. 프록시 모드를 쓰면 Claude Code처럼 이미 만들어진 도구도 소스 코드를 바꾸지 않고 LLM 트래픽을 이곳으로 보내, 실시간 비용 관리와 차단을 할 수 있습니다.

번역 완료

이 mod 소개

이 게시물은 팀의 첫 오픈소스 릴리스인 Z-GRC(Governance, Risk, Control)를 소개합니다. AI 에이전트, 챗봇, 내부 도구 프로젝트에서 반복되는 문제, 즉 예상치 못한 비용 급증, 실시간 사용량 통제의 부재, 사용자별 비용 관리 없이 공유되는 LLM 자격 증명, DEV/STAGE 환경에 대한 미적용 문제를 해결하기 위해 만들어졌습니다.

해결책은 세 부분으로 이루어집니다. LLM API 호출을 가로채는 런타임인 Python 패키지(z-grc), 사용자·사용자 그룹·할당량·API 토큰을 만들고 사용량을 시각화하는 Next.js 컨트롤 패널(z-grc-application), 그리고 z-grc 패키지를 기반으로 한 프록시 서버 모드입니다. 프록시 모드 덕분에 Claude Code(Codex는 작업 중)처럼 이미 배포된 애플리케이션도 LLM 트래픽을 이곳으로 보낼 수 있습니다. 쉽게 말해, 소스 코드를 건드리지 않고도 Claude Code의 비용을 통제할 수 있습니다.

인증 토큰에는 노이즈를 더해 압축한 페이로드 데이터가 담겨 있습니다. 사용자 ID, 설정, 할당량 한도, 차단 조건, 텔레메트리 전송 대상이 포함됩니다. 컨트롤 패널이 이 토큰을 발급하고 설정을 보관합니다. 패키지는 포그라운드나 백그라운드에서 프록시 서버로 실행할 수 있어, 외부 CLI 도구는 코드 변경이나 대기 시간 없이 LLM 트래픽을 이곳으로 보낼 수 있고, 목표 비용을 넘기면 차단됩니다.

링크: 저장소 https://github.com/zeb-ai/z-grc, 문서 https://zeb-ai.github.io/z-grc-application/

설치

설치 방법은 원본 출처를 확인하세요.

원문 / README

Title: Z-GRC a Python library & control panel for LLM governance & also applicable for CLIs (claude code, ) : r/ClaudeCode Skip to main contentZ-GRC a Python library & control panel for LLM governance & also applicable for CLIs (claude code, ) : r/ClaudeCode. Open menu Open navigationGo to Reddit Home. # Z-GRC a Python library & control panel for LLM governance & also applicable for CLIs (claude code, ). Hi, My team and I have been building Z-GRC (Governance, Risk, Control) and this is the first time we're sharing a project as open source. Why we built it ?, Across our projects like AI agents, LLM chatbots, internal tools kept facing into the same pain points everytime like, Unexpected cost spikes at unexpected times, with no idea how much had been used until the bill arrived. No way to control usage in real time applications, Shared LLM credentials floating around inside a project or across the whole org, with no per-user cost control and no coverage usage for DEV, STAGE environments. So we started designing what we wished existed, a governance engine you can drop into any application, whether it's actively in development or already shipped with a oneline line or top of the code file that's all we can can control of the cost consumption of that application. A Python package (z-grc):** the runtime that intercepts LLM API calls. A Next.js control panel (z-grc-application): where you create users, user-groups, quotas and API tokens and visualize everything. Proxy Server ( usingz-grc package): where we can control already build application like claude code, codex(WIP) with proxy server. in simple terms we can control cost in Claude code without touching the source code. It carries compressed payload data with noise added and it embeds everything the package needs which user is this, configuration, quota limits, when to block, where to send telemetry, allof it. The control panel (NextJS application) is what mints these tokens that's where the configuration actually lives and that's where the embedding happens. The package can run as a proxy server in foreground or background mode, so external CLI tools route their LLM traffic through it without code changes with no waiting time and blocks when target cost execeeded. - Repo : https://github.com/zeb-ai/z-grc. Z-GRC Application <> Control Panel:. - Docs: https://zeb-ai.github.io/z-grc-application/.

비슷한 프로젝트