AgentStop
AgentStop: Terminating Local AI Agents Early to Save Energy in Consumer Devices
File Explorer
- CODEOWNERS
- renovate.json
- llama_swap.yaml
- processed.zip
- bug_report.md
- feature_request.md
- build.yml
- build_docker.yml
- ci.yml
- cyber.yml
- inactive_issues.yml
- needs_contributor.yml
- quality.yml
- test.yml
- webui.yml
- FUNDING.yml
- ISSUE_TEMPLATE.md
- PULL_REQUEST_TEMPLATE.md
- dep5
- glances-grafana-flux.json
- glances-grafana-influxql.json
- glances.conf
- docker-compose-with-traefik.yml
- docker-compose.yml
- Dockerfile
- glances.conf
- alpine.Dockerfile
- docker-logger.json
- README.md
- ubuntu.Dockerfile
- amp-dropbox.png
- amp-python-warning.png
- amp-python.png
- amps.png
- aws.png
- browser.png
- cloud.png
- connected.png
- connections.png
- containers.png
- cpu-wide.png
- cpu.png
- disconnected.png
- diskio.png
- events.png
- folders.png
- fs.png
- Glances Logo dark.svg
- Glances Logo.svg
- Glances Text Logo dark.svg
- Glances Text Logo.svg
- glances-architecture.excalidraw
- glances-architecture.png
- glances-cgraph.svg
- glances-flame.svg
- glances-influxdb.png
- glances-memory-profiling-with-history.png
- glances-memory-profiling-without-history.png
- glances-pyinstrument.html
- glances-responsive-webdesign.png
- glances-summary.png
- gpu.png
- grafana.png
- graph-load.svg
- hddtemp.png
- header.png
- ip.png
- irq.png
- load.png
- loadpercent.png
- mem-wide.png
- mem.png
- monitored.png
- network.png
- per-cpu.png
- pergpu.png
- ports.png
- processlist-extended.png
- processlist-filter.png
- processlist-top.png
- processlist-wide.png
- processlist.png
- prometheus_exporter.png
- prometheus_server.png
- quicklook-percpu.png
- quicklook.png
- raid.png
- reddit.png
- screencast.gif
- screenshot-web.png
- screenshot-web2.png
- screenshot-wide.png
- screenshot.png
- sensors.png
- smart.png
- sparkline.png
- trend.png
- twitter-icon.png
- wifi.png
- links.html
- actions.rst
- amps.rst
- cloud.rst
- connections.rst
- containers.rst
- cpu.rst
- diskio.rst
- events.rst
- folders.rst
- fs.rst
- gpu.rst
- hddtemp.rst
- header.rst
- index.rst
- irq.rst
- load.rst
- memory.rst
- network.rst
- ports.rst
- ps.rst
- quicklook.rst
- raid.rst
- sensors.rst
- smart.rst
- wifi.rst
- glances-cprofile.png
- README.txt
- cassandra.rst
- couchdb.rst
- csv.rst
- elastic.rst
- graph.rst
- graphite.rst
- index.rst
- influxdb.rst
- json.rst
- kafka.rst
- mongodb.rst
- mqtt.rst
- opentsdb.rst
- prometheus.rst
- rabbitmq.rst
- restful.rst
- riemann.rst
- statsd.rst
- zeromq.rst
- glances.1
- api.rst
- build.sh
- cmds.rst
- conf.py
- config.rst
- docker.rst
- faq.rst
- glances.rst
- index.rst
- install.rst
- make.bat
- Makefile
- objects.inv
- quickstart.rst
- README.txt
- support.rst
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- amp.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- export.py
- README.rst
- custom.scss
- style.scss
- favicon.ico
- glances.png
- help.vue
- plugin-alert.vue
- plugin-amps.vue
- plugin-cloud.vue
- plugin-connections.vue
- plugin-containers.vue
- plugin-cpu.vue
- plugin-diskio.vue
- plugin-folders.vue
- plugin-fs.vue
- plugin-gpu.vue
- plugin-hostname.vue
- plugin-ip.vue
- plugin-irq.vue
- plugin-load.vue
- plugin-mem.vue
- plugin-memswap.vue
- plugin-network.vue
- plugin-now.vue
- plugin-percpu.vue
- plugin-ports.vue
- plugin-process.vue
- plugin-processcount.vue
- plugin-processlist.vue
- plugin-quicklook.vue
- plugin-raid.vue
- plugin-sensors.vue
- plugin-smart.vue
- plugin-system.vue
- plugin-uptime.vue
- plugin-vms.vue
- plugin-wifi.vue
- app.js
- App.vue
- browser.js
- Browser.vue
- filters.js
- services.js
- store.js
- uiconfig.json
- browser.js
- favicon.ico
- glances.js
- browser.html
- index.html
- .eslintrc.js
- .prettierrc.js
- package-lock.json
- package.json
- README.md
- webpack.config.js
- __init__.py
- glances_bars.py
- glances_colors.py
- glances_curses.py
- glances_curses_browser.py
- glances_restful_api.py
- glances_sparklines.py
- glances_stdout.py
- glances_stdout_apidoc.py
- glances_stdout_csv.py
- glances_stdout_issue.py
- glances_stdout_json.py
- glances_unicode.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- docker.py
- podman.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- amd.py
- apple.py
- nvidia.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- model.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- glances_batpercent.py
- glances_hddtemp.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- __init__.py
- multipass.py
- __init__.py
- __init__.py
- __init__.py
- README.rst
- __init__.py
- __main__.py
- actions.py
- amps_list.py
- attribute.py
- client.py
- client_browser.py
- config.py
- cpu_percent.py
- event.py
- events_list.py
- filter.py
- folder_list.py
- globals.py
- history.py
- logger.py
- main.py
- outdated.py
- password.py
- password_list.py
- ports_list.py
- processes.py
- programs.py
- README.txt
- secure.py
- server.py
- servers_list.py
- servers_list_dynamic.py
- servers_list_static.py
- snmp.py
- standalone.py
- stats.py
- stats_client.py
- stats_client_snmp.py
- stats_server.py
- stats_streamer.py
- thresholds.py
- timer.py
- web_list.py
- webserver.py
- LGPL-3.0-only.txt
- glances-launch
- snapcraft.yaml
- conftest.py
- test_core.py
- test_memoryleak.py
- test_perf.py
- test_restful.py
- test_webui.py
- test_xmlrpc.py
- issue2849.py
- temp1_input
- gpu_busy_percent
- mem_info_vram_total
- mem_info_vram_used
- pp_dpm_mclk
- pp_dpm_sclk
- amdgpu_pm_info
- .coveragerc
- .dockerignore
- .gitattributes
- .gitignore
- .mailmap
- .pre-commit-config.yaml
- .readthedocs.yaml
- AUTHORS
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- COPYING
- dev-requirements.txt
- doc-requirements.txt
- docker-bin.sh
- docker-requirements.txt
- Makefile
- MANIFEST.in
- NEWS.rst
- optional-requirements.txt
- pyproject.toml
- README.rst
- renovate.json
- requirements.txt
- run-venv.py
- run.py
- SECURITY.md
- sonar-project.properties
- tox.ini
- uninstall.sh
- webui-requirements.txt
- analyze_logprobs.ipynb
- analyze_trace_failure.ipynb
- eval_answers_qa.ipynb
- eval_swebench.ipynb
- predict_trace_success.ipynb
- process_profiling_results.ipynb
- reproduce_paper_results.ipynb
- eval_llm_qa.py
- map_ollama_models.py
- profile_frames_claude.sh
- profile_frames_llama_cpp.sh
- profile_frames_llama_cpp_be_concise.sh
- profile_frames_llama_cpp_early_exit.sh
- profile_frames_llama_cpp_jetson.sh
- profile_frames_openai.sh
- profile_simpleqa_llama_cpp.sh
- profile_swebench_llama_cpp.sh
- profile_swebench_llama_cpp_devstral.sh
- __init__.py
- swebench.py
- web.py
- __init__.py
- base.py
- llm_backend.py
- run.py
- utils.py
- __init__.py
- be_concise_system_prompt.txt
- intrinsic_exit_system_prompt.txt
- mini_swe_agent.json
- __init__.py
- analyze.py
- instrumentor.py
- jetson.py
- profile.py
- profile_and_analyze_batch.py
- profile_and_analyze_swebench.py
- __init__.py
- __init__.py
- .gitignore
- install.sh
- LICENSE
- pyproject.toml
- README.md
- SECURITY.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
brew install
View Details ▼
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
brew tap
View Details ▼
brew tap
Tap a Homebrew formula repository. If no arguments are provided, list all installed Homebrew taps.
brew tap
List installed Homebrew taps:
brew tap {{github_username}}/{{github_repository_name}}
Tap a Git repository hosted on GitHub:
brew tap {{username}}/{{repository_name}} {{git_clone_url}}
Tap a Git repository hosted outside of GitHub:
brew
View Details ▼
brew
Homebrew - a package manager for macOS and Linux.
Some subcommands such as `install` have their own usage documentation.
brew install {{formula|cask}}
Install the latest stable version of a formula or cask:
brew list
List all installed formulae and casks:
brew upgrade {{formula|cask}}
Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded):
cmake
View Details ▼
cmake
Cross-platform build automation system, that generates recipes for native build systems.
cmake {{path/to/project_directory}}
Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory:
cmake --build {{path/to/build_directory}}
Use a generated recipe in a given directory to build artifacts:
cmake --install {{path/to/build_directory}} --strip
Install the build artifacts into `/usr/local/` and strip debugging symbols:
colima
View Details ▼
colima
Container runtimes for macOS and Linux with minimal setup.
colima start
Start the daemon in the background:
colima start --edit
Create a configuration file and use it:
colima start --runtime containerd
Start and setup containerd (install `nerdctl` to use containerd via `nerdctl`):
conda activate
View Details ▼
conda activate
Activate a conda environment.
See also: `conda deactivate`.
conda activate myenv
Activate an existing environment named `myenv`:
conda activate {{path/to/myenv}}
Activate an existing environment located at custom path:
conda activate --stack myenv
Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:
conda create
View Details ▼
conda create
Create new conda environments.
conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy
Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:
conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}
Create a new environment named `myenv` and install packages listed in files:
conda create {{[-p|--prefix]}} {{path/to/myenv}}
Create a new environment at a custom path (i.e. prefix):
docker context
View Details ▼
docker context
Switch between contexts to manage multiple Docker environments.
docker context create {{context_name}} --docker "host={{tcp://remote-host:2375}}"
Create a context using a specific Docker endpoint:
docker context create {{context_name}}
Create a context based on the `$DOCKER_HOST` environment variable:
docker context use {{context_name}}
Switch to a context:
gem
View Details ▼
gem
A package manager for the Ruby programming language.
gem search {{regex}} {{[-a|--all]}}
Search for remote gem(s) and show all available versions:
gem install {{gem_name}}
Install the latest version of a gem:
gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}
Install a specific version of a gem:
git checkout
View Details ▼
git checkout
Checkout a branch or paths to the working tree.
git checkout -b {{branch_name}}
Create and switch to a new branch:
git checkout -b {{branch_name}} {{reference}}
Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):
git checkout {{branch_name}}
Switch to an existing local branch:
git fetch
View Details ▼
git fetch
Download objects and refs from a remote repository.
git fetch
Fetch the latest changes from the default remote upstream repository (if set):
git fetch {{remote_name}}
Fetch new branches from a specific remote upstream repository:
git fetch --all
Fetch the latest changes from all remote upstream repositories:
glances
View Details ▼
glances
A cross-platform system monitoring tool.
See also: `htop`, `atop`, `top`, `btm`, `btop`.
glances
Run in terminal:
glances {{[-w|--webserver]}}
Run in web server mode to show results in browser:
glances {{[-s|--server]}}
Run in server mode to allow connections from other Glances clients:
ollama
View Details ▼
ollama
A large language model runner.
For a list of available models, see <https://ollama.com/library>.
ollama serve
Start the daemon required to run other commands:
ollama run {{model}}
Run a model and chat with it (will automatically download the model if it's not downloaded):
ollama run {{model}} --think=false "{{prompt}}"
Run a model with a single prompt and thinking turned off:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python
View Details ▼
python
Python language interpreter.
python
Start a REPL (interactive shell):
python {{path/to/file.py}}
Execute a specific Python file:
python -i {{path/to/file.py}}
Execute a specific Python file and start a REPL:
unzip
View Details ▼
unzip
Extract files/directories from Zip archives.
See also: `zip`.
unzip {{path/to/archive1.zip path/to/archive2.zip ...}}
Extract all files/directories from specific archives into the current directory:
unzip {{path/to/archive1.zip path/to/archive2.zip ...}} -d {{path/to/output}}
Extract files/directories from archives to a specific path:
unzip -c {{path/to/archive1.zip path/to/archive2.zip ...}}
Extract files/directories from archives to `stdout` alongside the extracted file names:
