🔧 Công cụ lập trình•Mã nguồn mở•Đang hoạt động

ccglass

Local logging reverse-proxy và dashboard để xem coding agent như Claude Code, Codex, Kimi, OpenCode, Ollama gửi gì lên model.

#ccglass
Danh mục
🔧 Công cụ lập trình
Giá
Mã nguồn mở
GitHub Stars
⭐ 862
Ngôn ngữ
JavaScript
License
MIT
Ngày thêm
2026-05-29
Tóm tắt từ README GitHub
ccglass See exactly what your coding agent sends to the model. A lightweight local logging reverse-proxy + web dashboard for Claude Code, Codex, OpenCode, DeepSeek-TUI, Reasonix, CodeBuddy, Kimi, Ollama, OpenRouter, and more . One command, like : Run with no arguments and asks which client to inspect: Or name it directly: , , , , , , or . starts a proxy, points the client at it via the right base-URL env var, launches it for you, and opens a dashboard where you watch every request in real time — the full system prompt, every tool schema, the message history, token/cache/cost numbers, and a turn-to-turn diff. Why These CLIs are Node/native apps that ignore / — so Charles/mitmproxy never see the traffic, and -patching tools break across updates. sidesteps all of it: the client does the HTTPS to the real API itself; you only intercept the plain HTTP hop to localhost. No CA certs, no TLS pinning. Providers or Wraps Env var Upstream Format --- --- --- --- --- Claude Code api.anthropic.com Anthropic Messages Codex api.openai.com OpenAI Responses / Chat DeepSeek-TUI dispatcher api.deepseek.com OpenAI Chat DeepSeek-TUI runtime api.deepseek.com OpenAI Chat Reasonix
Xem thêm từ README.md

Đánh giá chi tiết

Tổng quan

ccglass là một reverse-proxy local kèm web dashboard để quan sát chính xác coding agent gửi gì lên model. Công cụ hỗ trợ nhiều client như Claude Code, Codex, OpenCode, DeepSeek-TUI, Reasonix, Kimi, Ollama, OpenRouter và các endpoint tương thích khác. Ý tưởng rất thực tế: khi agent hoạt động “ảo diệu”, ta cần biết context nào được gửi đi, tool call nào xảy ra, token/cost ra sao và message thay đổi thế nào qua từng turn.

Với coding agent, observability là phần thường bị thiếu. Người dùng thấy agent sửa file, chạy lệnh, trả lời kết quả nhưng khó biết payload model gồm những gì. ccglass giải quyết bằng cách đứng giữa client và model provider, ghi lại request/response rồi hiển thị trong dashboard.

Tính năng chính

  • Reverse-proxy local để capture request từ coding agent.
  • Dashboard xem message history, tool calls, token/cache/cost và agent-loop flow.
  • Hỗ trợ nhiều client phổ biến: Claude Code, Codex, Kimi, OpenCode, Ollama, OpenRouter…
  • Cài nhanh qua npm global và chạy bằng lệnh ccglass.
  • Có chế độ chọn client cần inspect khi khởi động.

Điểm mạnh

Đây là tool rất hữu ích cho người nghiêm túc dùng agent coding. Nó giúp debug prompt/context, phát hiện rò rỉ dữ liệu, hiểu vì sao agent tốn token hoặc ra quyết định lạ. Với team xây agent, ccglass giống một lớp observability nhẹ trước khi đầu tư hệ thống tracing phức tạp.

Hạn chế

Vì là proxy, người dùng cần cấu hình client đi qua ccglass và phải cẩn trọng nơi lưu log vì log có thể chứa code, prompt, secret hoặc dữ liệu nội bộ. Một số client/provider có thể thay đổi giao thức khiến hỗ trợ cần cập nhật.

Phù hợp khi nào

ccglass phù hợp cho developer dùng Claude Code/Codex/Kimi hằng ngày, team muốn audit agent traffic, hoặc người đang tối ưu chi phí/token/context của coding agent.

ccglass | Atlas for AI