Astra-Gate
Local AI gateway for Claude Code, Codex & Gemini CLI
Astra Gate acts as a local gateway for coding tools, enhancing privacy, cost control, and provider flexibility. Key features include:
• Automatic protocol conversion for diverse providers
• One-click client takeover for tools like Codex and Gemini CLI
• Detailed token cost tracking per request
• Real-time secret redaction before data leaves your machine
• Support for multiple accounts and subscriptions per provider
Astra Gate runs entirely on your local machine, ensuring data privacy by keeping sensitive information within your environment. It seamlessly aggregates over 20 service providers, allowing you to direct your preferred coding tools to any model without modifying existing configurations. The gateway decodes various protocols into a unified intermediate representation, then re-encodes them for the target service, ensuring compatibility across different client and provider structures.
Its robust privacy features automatically detect and redact sensitive data such as API keys, emails, and internal network addresses before any request is sent upstream. This protection can be configured to warn, block, or mask information, ensuring that original values never leave your machine. Additionally, Astra Gate provides comprehensive usage and cost analytics, tracking token consumption and expenses per request, which can be aggregated by time, client, or model.
This tool is ideal for developers and engineering teams who use multiple coding assistants and need a unified, secure, and cost-aware way to manage their interactions. It offers a native-like control console accessible via browser or desktop, providing a consistent interface for managing clients, providers, and reviewing request logs. Astra Gate allows you to regain control over your coding interactions, ensuring efficiency and data security.