Locally796
Locally796 is an AI-powered CLI tool that automatically clones any GitHub repository and sets it up on your local machine — no manual configuration needed. Powered by a LangChain agent, it detects the project stack, installs dependencies, configures environment variables, and runs the project for you.
Features
- 🤖 AI-Driven Setup — A LangChain agent acts as a senior DevOps engineer, analysing the repository, running the right install commands, and resolving errors automatically.
- 🔍 Stack Detection — Automatically identifies the project stack (Node.js, Python, Go, etc.) and applies the appropriate setup steps.
- ⚙️ Dependency Installation — Runs
npm install,pip install -r requirements.txt,go mod tidy, and similar commands as needed. - 🌿 Environment Configuration — Detects
.env.examplefiles and sets up environment variables for you. - 🚀 Project Launch — Starts the project after setup and confirms it is running.
- 📦 pip Package — Distributed as a Python package, so you can install and use it anywhere with a single command.
Requirements
- Python 3.11 or higher
- A Groq API key to power the AI agent.
Installation
You can install locally796 globally using pip:
pip install locally796
(Alternatively, to install from source: clone this repo and run pip install -e . inside the folder.)
Setup Your API Key
Before using locally796 for the first time, you need to configure your Groq API key. The agent defaults to llama-3.3-70b-versatile, which is available for any standard Groq account.
locally796 set-key <YOUR_GROQ_API_KEY>
This securely saves your key in a global config file (~/.locally796/.env), meaning you can run the tool from anywhere on your system without having to set up .env files manually.
Usage
locally796 [GITHUB_REPO_URL] --path [CLONING_PATH]
Arguments
| Argument | Description |
|---|---|
GITHUB_REPO_URL |
The full URL of the GitHub repository to clone and set up |
--path / -p |
(Optional) Local directory path where the repo will be cloned. Defaults to a folder named after the repo in the current directory |
Example
locally796 https://github.com/prathmesh796/pubsubs --path ./test-clone
This single command will autonomously:
- Clone the repository into
./test-clone - Detect the technology stack (e.g. Node.js, Python)
- Launch the LangChain Agent to investigate the codebase.
- Install all required dependencies (
npm install,pip install, etc.) - Configure environment variables (if
.env.exampleis present) - Start the local development server (e.g.,
npm run dev) - Automatically detect and fix any deployment errors if the server fails to start!
How It Works
- Clone — The repo is cloned to the specified (or auto-generated) local path using GitPython.
- Detect — The stack detector inspects the repository files to identify languages and frameworks.
- Agent Setup — A LangChain agent equipped with shell, file-read, and file-write tools executes the full setup autonomously. If a command fails or crashes, the agent reads the error output, figures out the fix, and retries until success!
- Done — The agent reports
SETUP_COMPLETEand leaves the server running for you.
License
MIT
Metadata
Release files for locally796 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| locally796-1.0.0.tar.gz | 18.8 kB | Without provenance | Details for locally796-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| locally796-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for locally796-1.0.0-py3-none-any.whl |
Total release size: 38.3 kB
Release files / locally796-1.0.0.tar.gz
| Download URL | locally796-1.0.0.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b066769b2f32489487aeb63eb2fc96efdbc72507605298ead5848b2c5018446
|
|
BLAKE2b-256 checksum How to use checksums |
376fc1c1df9c70a381c07a174fe6163d735c2513354ff2840e3754c5d7ce0b2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / locally796-1.0.0-py3-none-any.whl
| Download URL | locally796-1.0.0-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3cbed53e690558b5c9ff73a3db21a1b720a9baf994662da73096b887157e36d4
|
|
BLAKE2b-256 checksum How to use checksums |
dfffaf2b91d1ba61e1ae801057ec3fc80a9470d12144cf6a8b41f7d06963bacf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for locally796 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.