diff --git a/Makefile b/Makefile index 4ce80c4..2b4ddbf 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all build run clean install dev test test-proxy test-coverage +.PHONY: all build run clean install dev # Default target all: install build @@ -43,19 +43,6 @@ clean: rm -f requests.db rm -rf requests/ -# Testing -test: test-proxy - -test-proxy: - @echo "๐Ÿงช Running proxy tests..." - cd proxy && go test -v ./... - -test-coverage: - @echo "๐Ÿ“Š Running tests with coverage..." - cd proxy && go test -v -coverprofile=coverage.out ./... - cd proxy && go tool cover -html=coverage.out -o coverage.html - @echo "๐Ÿ“Š Coverage report generated: proxy/coverage.html" - # Database operations db-reset: @echo "๐Ÿ—‘๏ธ Resetting database..." diff --git a/README.md b/README.md index 74b7b76..eee3c8d 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ ![Claude Code Proxy Demo](demo.gif) -A transparent proxy for Claude Code that monitors API requests, routes agents to different LLM providers, and provides a beautiful dashboard for analyzing conversations. +A transparent proxy for capturing and visualizing in-flight Claude Code requests and conversations, with optional agent routing to different LLM providers. ## What It Does Claude Code Proxy serves three main purposes: 1. **Claude Code Proxy**: Intercepts and monitors requests from Claude Code (claude.ai/code) to the Anthropic API, allowing you to see what Claude Code is doing in real-time -2. **Agent Routing (Optional)**: Routes specific Claude Code agents to different LLM providers (e.g., route code-reviewer agent to GPT-4o) -3. **Conversation Viewer**: Displays and analyzes your Claude API conversations with a beautiful web interface +2. **Conversation Viewer**: Displays and analyzes your Claude API conversations with a beautiful web interface +3. **Agent Routing (Optional)**: Routes specific Claude Code agents to different LLM providers (e.g., route code-reviewer agent to GPT-4o) ## Features diff --git a/config.yaml b/config.yaml deleted file mode 100644 index de1e720..0000000 --- a/config.yaml +++ /dev/null @@ -1,43 +0,0 @@ -# LLM Proxy Configuration -# This file configures the LLM proxy server and its integrations - -# Server configuration -server: - port: 3001 - timeouts: - read: 10m # Read timeout (default: 10 minutes) - write: 10m # Write timeout (default: 10 minutes) - idle: 10m # Idle timeout (default: 10 minutes) - -# Provider configurations -providers: - # Anthropic Claude configuration - anthropic: - base_url: "https://api.anthropic.com" - version: "2023-06-01" - max_retries: 3 - - # OpenAI configuration - openai: - # API key can be set here or via OPENAI_API_KEY environment variable - # api_key: "your-api-key-here" - # base_url: "" - -# Storage configuration -storage: - # SQLite database path for storing request history - db_path: "requests.db" - -# Subagent Configuration (Optional) -# Enable this feature if you want to route specific Claude Code agents to different LLM providers -# For subaget setup instructions, see: https://docs.anthropic.com/en/docs/claude-code/sub-agents -subagents: - # Enable subagent routing - enable: false - - # Maps subagent types to specific models - mappings: - streaming-systems-engineer: "gpt-4o" - codebase-analyzer: "gpt-4o" - # Add more subagent mappings as needed - # example-agent: "gpt-4o" \ No newline at end of file