Cougar-CLI  by dulikaifazr

Autonomous AI agent for terminal development

Created 5 months ago
1,206 stars

Top 32.3% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

Cougar CLI is an AI-powered command-line agent designed to assist developers with coding tasks directly within their terminal. It automates file operations, code generation, command execution, and browser interactions, streamlining development workflows by bringing AI assistance to the command line.

How It Works

This project is a derivative of the Cline project, functioning as an autonomous coding agent. It leverages AI models, specifically optimized for Claude 4.5 Sonnet, to understand and execute tasks. Users interact via a chat interface, granting permission for operations like file manipulation, command execution, and browser usage, ensuring a controlled and integrated development experience.

Quick Start & Requirements

  • Installation: Recommended: npm install -g https://github.com/dulikaifazr/cougar.git. Alternatively, clone the repository, run npm install, npm run build, and then npm install -g ..
  • Prerequisites: Node.js (v18.0.0+) and npm (v9.0.0+).
  • API Key: A Claude API key from Anthropic or a compatible third-party provider is mandatory.
  • Configuration: Set API credentials and model ID using cougar config set api.apiKey <key>, cougar config set api.baseUrl <url>, and cougar config set api.modelId claude-4-5-sonnet-20241022.
  • Usage: Initiate a chat session with cougar chat "Your task description".
  • Docs: Refer to the GitHub repository for detailed usage and configuration options.

Highlighted Details

  • AI-driven code generation and editing capabilities.
  • Autonomous file system operations (create/edit files).
  • Direct command execution within the terminal environment.
  • Integrated browser functionality for information retrieval or interaction.
  • Supports session management, context compression, and custom system prompts.
  • Features global and local rule systems, plus workflow execution.
  • Optimized for Claude 4.5 Sonnet, with potential for other Claude models.

Maintenance & Community

The project is actively maintained by dulikaifazr, with contributions welcomed via pull requests. Issues and suggestions should be reported via GitHub issues. No specific community channels like Discord or Slack are listed. Copyright is held by dulikaifazr and Cline Bot Inc.

Licensing & Compatibility

Licensed under the Apache License 2.0. This license permits commercial use and integration into closed-source projects without significant restrictions, aligning with standard open-source practices.

Limitations & Caveats

Support for Claude models other than Claude 4.5 Sonnet is noted as limited, potentially offering reduced functionality and not being fully tested. The --auto-approve flag for tool operations should be used with caution due to potential risks.

Health Check
Last Commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
11 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.