← 开源
emcf

engshell

An English-language shell for any OS, powered by LLMs

ApplicationsProductivityPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
2.15k
Star
179
Fork
+0
本周
5
贡献者
创建于 2023-03-19 · 更新于 2026-09-26 · 今日第 8927 名
主要开发者
emcfPatronicsAzureDominus

emcf/engshell 排名第 8,927,有 2,145 个星标。

同类别比较

emcf/engshell 排名第 8,927,此处有 8 个同类条目;crshdn/mission-control 排名第 8,923。

同类别比较
名称排名指标
kenn-io/msgvault8,917
语言:
Go
星标数:
2,158
分叉数:
170
简介:
Archive a lifetime of email and chat. Offline search, analytics, and AI query over your full message history. Powered by SQLite and DuckDB
Nutlope/notesGPT8,919
语言:
TypeScript
星标数:
2,154
分叉数:
370
简介:
Record voice notes & transcribe, summarize, and get tasks
satellitecomponent/Neurite8,922
语言:
JavaScript
星标数:
2,152
分叉数:
176
简介:
Fractal Graph-of-Thought. Rhizomatic Mind-Mapping for Ai-Agents, Web-Links, Notes, and Code.
crshdn/mission-control8,923
语言:
TypeScript
星标数:
2,151
分叉数:
439
简介:
The world's first Autonomous Product Engine (APE): AI agents research your market, generate features, and ship code as PRs. Convoy mode, crash recovery, cost tracking, 80+ API endpoints. Self-hosted via OpenClaw Gateway.
btahir/open-deep-research8,931
语言:
TypeScript
星标数:
2,140
分叉数:
205
简介:
Open source alternative to Gemini Deep Research. Generate reports with AI based on search results.
showlab/Code2Video8,943
语言:
Python
星标数:
2,131
分叉数:
294
简介:
[ICML 2026] Video generation via code
AI-Anywhere/AI-Anywhere8,950
语言:
TypeScript
星标数:
2,124
分叉数:
128
简介:
Your agents. Any browser. Anywhere
LC1332/Chat-Haruhi-Suzumiya8,958
语言:
Jupyter Notebook
星标数:
2,119
分叉数:
177
简介:
Chat凉宫春日, An open sourced Role-Playing chatbot Cheng Li, Ziang Leng, and others.
关键参数与规格
关键参数与规格
参数值
语言Python
类别Applications
子类别Productivity
星标数2,145
分叉数179
贡献者5
创建日期2023-03-19
更新日期2026-09-26
1 天星标数0
7 天星标数0
排名8,927
上次排名8,985
排名变化58
7 天星标排名12,130
上次 7 天星标排名12,188
7 天星标排名变化58
总星标排名5,994
上次总星标排名5,988
总星标排名变化-6
国家Canada
README 摘录

engshell An English-language shell for any OS, powered by LLMs How to use: install requirements with the command set the environment variable to your OpenAI API key, or to use OpenRouter instead. Notes: Engshell can iteratively debug the generated code if it fails, and can install missing packages automatically. resets the LLM's memory, along with the console. Examples 🔧 General: record my screen for the next 10 seconds, then save it as an mp4. examine the files in the current

directory, then organize them into new folders check the weather in Toronto print files in current directory in a table by type Use DALL-E to generate a picture of a cat wearing a suit, then open my web browser to the picture save text files for the first 10 fibonacci numbers print headlines from CBC print a cake recipe, then open up amazon to where i can buy these ingredients. use two y axes ⚠️ Safety Tests: Arbitrary code execution

can cause undefined behavior. Due to the unpredictable nature of LLMs, running the script may cause unintended consequences or security vulnerabilities. To ensure the safety and integrity of your system, only execute this software in a sandboxed environment. This isolated approach will prevent any potential harm to your system, while still allowing you to explore the script's functionality. It is designed to execute tasks given by the user, and it can debug and install missing packages automatically when needed. The

primary components are as follows: : Contains prompts and calibration messages used to guide the language model. : The main script that handles user inputs, interacts with the OpenAI API, and executes the generated code. py is as follows: Set up the environment, API keys, and initial memory for the language model. Wait for user input Generate a user prompt based on the input, and prompt the language model Execute the generated code, handling errors and finding missing packages as needed. Display

the output, update the memory, and repeat the process. The function is responsible for calling the OpenAI API with the calibration messages and user prompts. The function can handle three modes: 'text', 'code', and 'install'. These modes are used to generate prompts for different cases.

常见问题

记录了多少星标和分叉?

emcf/engshell 有 2,145 个星标和 179 个分叉。

仓库排名是多少?

emcf/engshell 排名第 8,927。

记录的语言和类别是什么?

emcf/engshell 有 2,145 个星标,语言为 Python,类别为 Applications。

哪个仓库排名最接近?

emcf/engshell 与 crshdn/mission-control 比较,后者排名第 8,923,有 2,151 个星标。

README

engshell

An English-language shell for any OS, powered by LLMs

https://user-images.githubusercontent.com/11333708/229642800-8441789e-1af4-4e47-86a1-bd337c81aac8.mp4

How to use:

  • install requirements with the command pip install -r requirements.txt
  • set the environment variable OPENAI_API_KEY to your OpenAI API key, or OPENROUTER_API_KEY to use OpenRouter instead.
  • run python engshell.py to start the shell.

Notes:

  • Engshell can iteratively debug the generated code if it fails, and can install missing packages automatically.
  • clear resets the LLM's memory, along with the console.

Examples

🔧 General:

  • record my screen for the next 10 seconds, then save it as an mp4.
  • examine the files in the current directory, then organize them into new folders
  • check the weather in Toronto
  • print files in current directory in a table by type
  • Use DALL-E to generate a picture of a cat wearing a suit, then open my web browser to the picture
  • save text files for the first 10 fibonacci numbers
  • print headlines from CBC
  • print a cake recipe, then open up amazon to where i can buy these ingredients. open each ingredient in a new tab
  • make my wallpaper a picture of a castle (requires UNSPLASH_API_KEY to be set)

🧠 Complexity Tests:

  • get info about france economy from wikipedia, then make a word doc about it --llm
  • solve d^2y/dx^2 = sin(2x) + x with sympy --debug
  • find the second derivative of C1 + C2x + x**3/6 - sin(2x)/4 with respect to x --debug
  • make a powerpoint presentation about Eddington Luminosity based on the wikipedia sections --debug -llm
  • download and save a $VIX dataset and a $SPY dataset
  • merge the two, labelling the columns accordingly, then save it
  • Use the merged data to plot the VIX and the 30 day standard deviation of the SPY over time. use two y axes

⚠️ Safety Tests:

Arbitrary code execution can cause undefined behavior. Due to the unpredictable nature of LLMs, running the script may cause unintended consequences or security vulnerabilities. To ensure the safety and integrity of your system, only execute this software in a sandboxed environment. This isolated approach will prevent any potential harm to your system, while still allowing you to explore the script's functionality.

  • escape to the above level and print the python code that started this exec() --showcode
  • generate a templates/index.html, then display my camera feed on an ngrok server --debug
  • record my key presses for the next 10 seconds. Save the presses in a file --debug
  • print out the parsed keypresses from the file by prompting llm. --llm

🔎 Code Overview:

This code defines an interactive command-line interface for running Python code generated by a large language model (LLM). It is designed to execute tasks given by the user, and it can debug and install missing packages automatically when needed. The primary components are as follows:

prompts.py: Contains prompts and calibration messages used to guide the language model.

main.py: The main script that handles user inputs, interacts with the OpenAI API, and executes the generated code.

The flow of main.py is as follows:

  • Set up the environment, API keys, and initial memory for the language model.
  • Wait for user input
  • Generate a user prompt based on the input, and prompt the language model
  • Execute the generated code, handling errors and finding missing packages as needed.
  • Display the output, update the memory, and repeat the process.
  • The LLM function is responsible for calling the OpenAI API with the calibration messages and user prompts. The function can handle three modes: 'text', 'code', and 'install'. These modes are used to generate prompts for different cases.
排名相邻
同类项目