Thanks to visit codestin.com
Credit goes to github.com

Skip to content

An open-source AI agent that brings the power of Gemini directly into your terminal.

License

Notifications You must be signed in to change notification settings

cadavidf/gemini-cli

 
 

Repository files navigation

 █████╗ ███╗   ██╗██╗███╗   ███╗ █████╗ ██╗     ██╗████████╗██╗   ██╗     █████╗ ██╗
██╔══██╗████╗  ██║██║████╗ ████║██╔══██╗██║     ██║╚══██╔══╝╚██╗ ██╔╝    ██╔══██╗██║
███████║██╔██╗ ██║██║██╔████╔██║███████║██║     ██║   ██║    ╚████╔╝     ███████║██║
██╔══██║██║╚██╗██║██║██║╚██╔╝██║██╔══██║██║     ██║   ██║     ╚██╔╝      ██╔══██║██║
██║  ██║██║ ╚████║██║██║ ╚═╝ ██║██║  ██║███████╗██║   ██║      ██║    ██╗██║  ██║██║
╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═╝     ╚═╝╚═╝  ╚═╝╚══════╝╚═╝   ╚═╝      ╚═╝    ╚═╝╚═╝  ╚═╝╚═╝
```// Modified by Animality AI, 2025-06-29
# animality.ai CLI

This CLI is an Apache-2.0 derivative of Google's Gemini CLI. LICENSE & NOTICE preserved.

This repository contains the animality.ai CLI, a command-line AI workflow tool that connects to your
tools, understands your code and accelerates your workflows.

With the animality.ai CLI you can:

- Query and edit large codebases in and beyond the AI model's 1M token context window.
- Generate new apps from PDFs or sketches, using multimodal AI capabilities.
- Automate operational tasks, like querying pull requests or handling complex rebases.
- Use tools and MCP servers to connect new capabilities, including [media generation with Imagen,
  Veo or Lyria](https://github.com/GoogleCloudPlatform/vertex-ai-creative-studio/tree/main/experiments/mcp-genmedia)
- Ground your queries with the [Google Search](https://ai.google.dev/gemini-api/docs/grounding)
  tool, built in to the AI model.


</div>

---


   ```bash
   npx @animality/cli

The Gemini CLI is your intelligent development assistant that bridges the gap between natural language and code execution. Think of it as having a senior developer who understands your entire codebase, can read your mind, and executes complex tasks with surgical precision.

npm install -g @animality/cli
animality-cli
  1. Pick a color theme
  2. Authenticate: When prompted, sign in with your personal Google account. This will grant you up to 60 model requests per minute and 1,000 model requests per day using the AI model.

You are now ready to use the animality.ai CLI!


🔑 Advanced Authentication

Need higher limits or specific models? Use an API key:

  1. Generate key: Visit Google AI Studio
  2. Set environment variable:
    export GEMINI_API_KEY="your_key_here"
    
  3. Enterprise setup: See authentication guide for Google Workspace accounts

📚 Examples

Once the CLI is running, you can start interacting with AI from your shell.

🆕 Starting Fresh

mkdir my-awesome-project && cd my-awesome-project
gemini
> Write me a Discord bot that answers questions using a FAQ.md file I will provide
cd new-project/
animality-cli
> Write me a Discord bot that answers questions using a FAQ.md file I will provide

🚀 Real-World Examples

git clone https://github.com/animality-ai/cli
cd cli
animality-cli
> Give me a summary of all of the changes that went in yesterday

</details>

<details>
<summary><b>🛠️ Feature Development</b></summary>

```text
> Implement a first draft for GitHub issue #123

> Help me migrate this codebase to the latest version of Java. Start with a plan

> Add TypeScript support to this project with proper configuration
🤖 Automation & Workflows
> Make me a slide deck showing the git history from the last 7 days, grouped by feature

> Create a full-screen web app for displaying our most active GitHub issues

> Set up a CI/CD pipeline that deploys to staging on every PR

Start by cding into an existing or newly-cloned repository and running animality-cli.

> Convert all images in this directory to PNG and rename them using EXIF dates

> Organize my PDF invoices by month of expenditure

> Clean up this messy JavaScript project and add proper linting

📖 Next Steps

Resource Description
🚀 CLI Commands Master all available commands
🔧 Troubleshooting Solve common issues quickly
📚 Full Documentation Comprehensive guides
🤝 Contributing Help improve Gemini CLI
💡 Popular Tasks Get inspired with real examples

🌟 Popular Use Cases

🕵️ Code Exploration & Understanding

Perfect for new team members or exploring unfamiliar codebases

cd any-project && gemini

🔍 Architecture Deep Dive

> Describe the main pieces of this 
  system's architecture

> What are the key design patterns used?

> Show me the data flow from API 
  to database

🔒 Security & Quality Review

> What security mechanisms are in place?

> Find potential vulnerabilities in 
  this authentication code

> Review this code for performance 
  bottlenecks

🚀 Development & Feature Building

From idea to implementation in minutes

⚡ Rapid Prototyping

> Implement a first draft for 
  GitHub issue #123

> Create a REST API for user 
  management with authentication

> Build a React component for 
  file uploads with progress bars

🔄 Migration & Modernization

> Migrate this codebase to 
  TypeScript with proper types

> Upgrade this React app from 
  class components to hooks

> Convert these REST endpoints 
  to GraphQL

🤖 Automation & DevOps

Let AI handle the repetitive tasks

📊 Reporting & Analytics

> Create a dashboard showing git 
  activity by team member

> Generate a performance report 
  from these log files

> Build a monitoring dashboard 
  for system health

🔧 Infrastructure & CI/CD

> Set up GitHub Actions for 
  automated testing and deployment

> Create Docker configuration 
  for this application

> Build a monitoring script for 
  server uptime

🗂️ File & Data Management

Organize and transform your data intelligently

🖼️ Media Processing

> Convert all images to WebP format 
  and optimize for web

> Extract metadata from all photos 
  and organize by date

> Resize images for different 
  device breakpoints

📄 Document Management

> Organize PDF invoices by 
  month and vendor

> Extract data from CSV files 
  and create summary reports

> Convert markdown docs to 
  structured JSON

💡 The key to success: Be specific about what you want, provide context, and don't be afraid to iterate!


📋 Additional Resources

🤝 Community & Support

GitHub Issues GitHub Stars GitHub Forks

💬 Discussions🐛 Report Bug💡 Request Feature

📚 Learning Resources

Resource Description
🎓 Tutorials Step-by-step guides for common tasks
⚙️ Configuration Customize Gemini CLI to your workflow
🎨 Themes Beautiful color schemes for your terminal
🔧 Advanced Features Power user commands and options

🔗 Integrations

Integration Description
🔌 MCP Servers Connect external tools and services
🌐 Web Search Real-time information with Google Search
📁 File System Advanced file and directory operations
💾 Memory Persistent context across sessions

⚖️ Terms of Service and Privacy Notice

For details on the terms of service and privacy notice applicable to your use of Gemini CLI, see the Terms of Service and Privacy Notice.


Made with ❤️ by the Google Gemini team Modified with ☕️ by the Animality.ai Team

Transforming the way developers build, one command at a time.

License

About

An open-source AI agent that brings the power of Gemini directly into your terminal.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.1%
  • JavaScript 4.6%
  • Other 0.3%