Skip to main content

Easy-to-use LLM interface to automate file and shell operations.

Project description

aman_llm

aman_llm is a simple Python package that enables AI-powered file and shell operations using Google's Gemini API. It uses agent-based logic to interpret natural language instructions and perform system-level tasks like creating files, navigating directories, and more — all powered by LLMs.


🚀 Installation

pip install aman_llm

🔐 Environment Setup

To use aman_llm, you must provide a Gemini API key.

Step 1: Get Your Gemini API Key

Visit the following URL and generate your API key:

👉 https://aistudio.google.com/app/apikey

Step 2: Create a .env File

In your project root, create a .env file and add the following:

GOOGLE_API_KEY=your-gemini-api-key-here

This key will be used to authenticate with Gemini when calling the LLM.


✅ Example Usage

from aman_llm import llm_call

llm_call("Create a file named 'integer.txt' and write numbers 1 to 10 in it", stream=True)

📂 Features

  • ✅ Create and modify text files using AI
  • ✅ Run shell commands like ls, pwd, mkdir, etc.
  • ✅ Delegate tasks between intelligent agents (File & Shell)
  • ✅ Powered by Google's gemini-2.0-flash model
  • ✅ Stream responses with rich markdown output

✨ Coming Soon

  • More tool integrations (e.g. web scraping, PDF generation)
  • Async version of the LLM interface
  • LangChain-style chaining

📜 License

MIT License


👨‍💻 Created By

Aman Prasad
🔗 Connect on LinkedIn

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

aman_llm-0.1.5.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

aman_llm-0.1.5-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file aman_llm-0.1.5.tar.gz.

File metadata

  • Download URL: aman_llm-0.1.5.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for aman_llm-0.1.5.tar.gz
Algorithm Hash digest
SHA256 46a8b977a89b6f85c4fbf27e565be5778f6c2b05419884beb638342505ef772f
MD5 530fb5c049c3d22fdfb5efa6bcf4a88d
BLAKE2b-256 dc4f7e7ce3f912f34c869c16abcb3773484848f02291c454842a3d269159ef0e

See more details on using hashes here.

File details

Details for the file aman_llm-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: aman_llm-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for aman_llm-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b34cfefb323c7479e44262783c046a4c975fcf5375c7cd0dce6f5ef294018cc4
MD5 5cf207b76997078d87a7cb4e1fefe6be
BLAKE2b-256 9f330386b562891982f347b3d1934ba9515bf5b4348d11d21580b8472b7ad746

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