Skip to main content

AI Coding Agent CLI

Project description

GOBIN AI Coding Agent

GOBIN is an interactive AI-powered coding assistant designed to help developers manage Python-based projects efficiently. It can read files, write code, execute Python scripts, run shell commands (with approval), and provide intelligent guidance—all from your terminal.

⚠️ Note: Currently, GOBIN only works for Python-based projects and is designed for local development environments.


🌟 Features & Capabilities

GOBIN can perform the following tasks for Python projects:

  • Project Exploration

    • List files and directories in the current working directory.
    • Inspect file contents quickly.
  • Code Execution

    • Run Python scripts with optional CLI arguments.
    • Execute shell commands safely with user approval.
  • File Management

    • Create new directories.
    • Write or overwrite files safely, creating parent directories if necessary.
  • Interactive AI Assistance

    • Generate code snippets or function implementations.
    • Provide guidance and explanations for Python code.
    • Maintain session memory to understand ongoing tasks.

⚡ Installation

GOBIN is published on PyPI and can be installed globally using pipx:

pipx install gobin-cli

🔑 Setting Up Your API Key

GOBIN requires a Gemini API key. You can provide it either via an environment variable or a .env file.

Option A: Environment variable

export GEMINI_API_KEY="your_api_key_here"

Option B: .env file

Create a file named .env in your project directory with:

GEMINI_API_KEY=your_api_key_here

GOBIN will automatically load the API key from this file.


🚀 Running the CLI

After installation and API key setup, launch the interactive AI agent:

gobin

CLI Usage Tips

  • Exit the CLI: Type exit or quit.
  • Clear the screen: Type clear or cls.
  • Multiline input: Shift+Enter for a new line, Enter to submit.

🧩 Example Workflow

  1. Navigate to your Python project directory:
cd my-python-project
  1. Run GOBIN:
gobin
  1. Ask GOBIN to create a new Python file:
> create a Python file named `utils.py` with a function to calculate factorial
  1. Inspect, run, or modify your code interactively.

🔄 Updating GOBIN

To update to the latest version:

pipx upgrade gobin-cli

💻 System Requirements

  • Python >= 3.8
  • PIPX
  • Compatible with Linux, macOS, and Windows
  • Terminal or shell for CLI usage
  • Gemini API key

📦 Project Structure

gobin/
├── __main__.py          # Entry point for CLI
├── cli.py               # CLI runner
├── functions/           # Core function modules (read/write/run files)
├── call_function.py     # Function dispatcher
├── pyproject.toml       # Project metadata & build system
└── README.md            # Project documentation

📜 License

This project is licensed under the MIT License. See LICENSE for details.


📝 Contribution

Feel free to submit issues or pull requests. Contributions to improve Python support, add new functions, or enhance the AI experience are welcome.


🔗 Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gobin_cli-0.0.post15.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gobin_cli-0.0.post15-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file gobin_cli-0.0.post15.tar.gz.

File metadata

  • Download URL: gobin_cli-0.0.post15.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gobin_cli-0.0.post15.tar.gz
Algorithm Hash digest
SHA256 3b5bd9a55b716103ec8b4ae74906588301f37fcb8144096fec4edecaaa15427b
MD5 ba16cf4e0298c2158724bd87c83de293
BLAKE2b-256 7b5875621da304e9b5b985eb255495ce256a0fa927d286aa9046ed4e83f0f059

See more details on using hashes here.

File details

Details for the file gobin_cli-0.0.post15-py3-none-any.whl.

File metadata

  • Download URL: gobin_cli-0.0.post15-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gobin_cli-0.0.post15-py3-none-any.whl
Algorithm Hash digest
SHA256 a309214ac3b467deb9af7ac36d92b7067d41ab23341ef0f528c8d12a315bb2ea
MD5 8443fb99ddda8913b4fcc46bfd818cd2
BLAKE2b-256 73c9741a7d480fe2f47c974d4b619ff4065f4f06d9657ef25a02ccf1634a50b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page