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 pip:
pip 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
exitorquit. - Clear the screen: Type
clearorcls. - Multiline input: Shift+Enter for a new line, Enter to submit.
🧩 Example Workflow
- Navigate to your Python project directory:
cd my-python-project
- Run GOBIN:
gobin
- Ask GOBIN to create a new Python file:
> create a Python file named `utils.py` with a function to calculate factorial
- Inspect, run, or modify your code interactively.
🔄 Updating GOBIN
To update to the latest version:
pip install --upgrade gobin-cli
💻 System Requirements
- Python >= 3.8
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gobin_cli-0.0.post12.tar.gz.
File metadata
- Download URL: gobin_cli-0.0.post12.tar.gz
- Upload date:
- Size: 28.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbdb99958d656e833f1e5d68f0ab236329d8764af1f6b0988975243034eada91
|
|
| MD5 |
e4756eb8cac9dd00faad3dba311f15c8
|
|
| BLAKE2b-256 |
417263b05c7534d1c54eaa04bb7d7d5f2b54e0aacd10d47e8c7c85531ac6bed6
|
File details
Details for the file gobin_cli-0.0.post12-py3-none-any.whl.
File metadata
- Download URL: gobin_cli-0.0.post12-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fbc9f565772da76eefde8d9c5ee494ad1bb957d2ab952bb27c5a9d501cf4279
|
|
| MD5 |
bb4cd5328fc4b0125397665ad3c1aa72
|
|
| BLAKE2b-256 |
369ac44c739fa9e7d787c3570049540f51a4e8007ccbcfb83f04ba0ffc754971
|