Skip to main content

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.example files 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:

  1. Clone the repository into ./test-clone
  2. Detect the technology stack (e.g. Node.js, Python)
  3. Launch the LangChain Agent to investigate the codebase.
  4. Install all required dependencies (npm install, pip install, etc.)
  5. Configure environment variables (if .env.example is present)
  6. Start the local development server (e.g., npm run dev)
  7. Automatically detect and fix any deployment errors if the server fails to start!

How It Works

  1. Clone — The repo is cloned to the specified (or auto-generated) local path using GitPython.
  2. Detect — The stack detector inspects the repository files to identify languages and frameworks.
  3. 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!
  4. Done — The agent reports SETUP_COMPLETE and 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)

Source distribution for locally796 1.0.0
File Size Uploaded
locally796-1.0.0.tar.gz 18.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for locally796 1.0.0
File Interpreter ABI Platform
locally796-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page