DeskDetox 🌿: An Open-Source CLI Agent That Forces You Away From Your Keyboard
说明与用途
DeskDetox 是一个本地 CLI 工具,根据可用时间和天气生成短途户外任务,使用开放数据且不将位置信息发送到外部服务。
问题
Users spend too much time on screens even during outdoor or break activities, limiting real physical engagement.
结果
DeskDetox successfully generates a concise outdoor mission that respects a user‑defined time limit, uses only open data, and runs locally without tracking.
工作流
- 1. User installs DeskDetox via pip. 2. User runs the CLI and inputs available time. 3. The agent uses a local IP‑geocoder to obtain coordinates. 4. The agent queries Open‑Meteo for current weather and daylight. 5. The agent queries OpenStreetMap Overpass API for nearby parks, trails, or green spaces. 6. Gemini 1.5 Flash calculates a walking radius based on the time limit. 7. The agent outputs a 2‑sentence mission for the user to follow.
- 8. User follows the mission, leaving the phone on the desk.
证据
I wanted to build an agent that actively fights screen time. Meet DeskDetox— a local CLI tool built with the new open-source google.antigravity Python SDK.
The agent needs to sense my physical environment without a heavy mobile frontend. I gave it three custom Python tools: a local IP‑geocoder to find my coordinates without me typing them.
The open-source Open‑Meteo API for real‑time weather and daylight status.
The OpenStreetMap (OSM) Overpass API to locate the nearest parks, trails, or green spaces.
Powered by Gemini 1.5 Flash via the Google AI Studio, the agent contextualizes the weather, dynamically calculates how far I can physically walk based on my time limit, and spits out a 2-sentence mission.
Because DeskDetox uses an open-source agent harness running locally on my terminal: Zero Tracking: My location data never leaves my laptop.
- 记录日期: 2026-10-11T10:56:11.702Z