Agent that performs action on your system by executing code.
Project description
Emplode
Agent that performs action on your system by executing code.
Emplode Agent performs actions on your system by executing code locally, It can also serve as an agentic framework for your disposable sandbox projects. You can chat with Emplode in your terminal by running emplode after installing.
This provides a natural-language interface to your system's general-purpose capabilities:
- Create, edit and arrange files.
- Control a browser to perform research
- Plot, clean, and analyze large datasets
- ...etc.
Quick Start
pip install emplode
Terminal
After installation, simply run emplode:
emplode
Python
import emplode
emplode.chat("Organize all images in my downloads folder into subfolders by year, naming each folder after the year.") # Executes a single command
emplode.chat() # Starts an interactive chat
Commands
Change the Model
For gpt-4o-mini, use fast mode:
emplode --fast
In Python, you will need to set the model manually:
emplode.model = "gpt-4o-mini"
Running Emplode locally
You can run emplode in local mode from the command line to use Code Llama:
emplode --local
Or run any Hugging Face model locally by using its repo ID (e.g. "tiiuae/falcon-180B"):
emplode --model nvidia/Llama-3.1-Nemotron-70B-Instruct
Configuration with .env
Emplode allows you to set default behaviors using a .env file. This provides a flexible way to configure it without changing command-line arguments every time.
Here's a sample .env configuration:
EMPLODE_CLI_AUTO_RUN=False
EMPLODE_CLI_FAST_MODE=False
EMPLODE_CLI_LOCAL_RUN=False
EMPLODE_CLI_DEBUG=False
You can modify these values in the .env file to change the default behavior of the Emplode
How Does it Work?
Emplode equips a function-calling model with an exec() function, which accepts a language (like "Python" or "JavaScript") and code to run.
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 emplode-0.5.tar.gz.
File metadata
- Download URL: emplode-0.5.tar.gz
- Upload date:
- Size: 176.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
087e33855ac8fc674a4c4e46108123125fcd3cc1e792b4033184fa282de48f99
|
|
| MD5 |
31099b6ff175c4aa476b2ac0aa09ca1a
|
|
| BLAKE2b-256 |
e3d4dc4d303f23a2db44f3ae55d394966586d137cc952e467bc6a79c2e8142d0
|
File details
Details for the file emplode-0.5-py3-none-any.whl.
File metadata
- Download URL: emplode-0.5-py3-none-any.whl
- Upload date:
- Size: 267.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bcd3099cf1190e42b5d32ff3430164e3932677a5d0c8aeb57a7055fbabbb29f
|
|
| MD5 |
f7a78cee49fce08a6b10a1614586db20
|
|
| BLAKE2b-256 |
5ccde294a3e7351b9445f789651b3b04a6e585030d51e4456aeeceb4a15110cb
|