coding-tool  by CooperJiang

Enhanced CLI for AI code models

Created 1 month ago
326 stars

Top 83.8% on SourcePulse

GitHubView on GitHub
Project Summary

This CLI tool enhances interactions with AI code generation models like Claude Code, Codex, and Gemini, targeting developers and power users seeking streamlined workflows. It offers intelligent session management, multi-channel dynamic switching for API endpoints, and real-time token monitoring, ultimately optimizing API usage, improving stability, and providing a modern interface for management.

How It Works

This CLI tool enhances interactions with AI code generation models like Claude Code, Codex, and Gemini. It operates via a command-line interface, optionally augmented by a modern, responsive Web UI. Core functionalities include intelligent session management, enabling automatic recognition, naming, searching, and forking of historical conversations. A key differentiator is its multi-channel load balancing and dynamic switching capability, allowing users to configure and manage multiple API endpoints (e.g., different API keys or providers) concurrently. Requests are distributed based on user-defined weights, with integrated concurrency control and automatic health checks to manage channel availability. Real-time token monitoring provides granular insights into API consumption per request, aiding cost management.

Quick Start & Requirements

Highlighted Details

  • Intelligent Session Management: Features automatic session recognition, aliasing, cross-project search (Ctrl+K), and the ability to "fork" conversations to explore alternative development paths from a shared context.
  • Robust Multi-Channel Load Balancing: Supports simultaneous activation of multiple API channels, distributing requests via configurable weights and concurrency limits. Includes automatic channel health checks, freezing unhealthy channels and resuming them upon recovery.
  • Real-time Token Monitoring & Cost Estimation: Provides visual feedback on input/output token usage, cache hits, and estimates API call costs based on custom pricing.
  • Modern Web UI: Offers a responsive, themeable interface for managing projects, browsing sessions, and configuring channels, featuring a flexible three-column layout.
  • Background Operation: Integrates with PM2 for reliable daemonization, allowing the service to run persistently in the background, even after terminal closure, with integrated logging and status monitoring.

Maintenance & Community

No specific details regarding notable contributors, sponsorships, partnerships, or community channels (like Discord/Slack) are provided in the README. The project appears actively maintained via npm releases and GitHub activity.

Licensing & Compatibility

  • License Type: MIT License.
  • Compatibility: The MIT license is permissive, generally allowing for commercial use and integration within closed-source projects without significant restrictions.

Limitations & Caveats

The README does not explicitly detail limitations, alpha status, or known bugs. The tool relies on Node.js, which may represent a dependency barrier for some users. Users migrating from older versions should note that dynamic channel switching no longer requires manual intervention.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
10
Star History
104 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.