Hi,
Good news—Hermes Agent is actually capable of doing what you want. It has a built-in terminal, cron scheduling, web search, and cross-conversation memory, so you are on the right track.
Installing yfinance
The "ensurepip is not available" error you encountered is because the way packages are installed in the container is different. You can ask Hermes to install it for you directly in the chat box, like this:
"Please execute this command in the terminal to help me install yfinance: uv pip install yfinance --python $HOME/.hermes/hermes-agent/venv/bin/python"
If uv doesn't work, you can also ask it to try:
"Please execute: $HOME/.hermes/hermes-agent/venv/bin/pip install yfinance"
Setting up a daily stock task
Once installed, you can use natural language to ask Hermes to do it for you:
- "Write a Python script to fetch stock price data for TSLA, AAPL, and 2330.TW (TSMC) using yfinance, and save it to
~/.hermes/tools/stock_fetch.py"
- "Create a cron job named 'Daily Stock Report' to execute that script every weekday at 9 AM and summarize the results for me."
Taiwan stock codes use the format StockCode.TW, for example, 2330.TW (TSMC) or 2317.TW (Foxconn).
Note on token consumption
You mentioned that you consumed a large amount of tokens on your first try—it is recommended to start testing with 2-3 stocks first to ensure the consumption is within an acceptable range before expanding. Having Hermes summarize only the key figures (instead of the entire page content) after fetching the data can significantly reduce token usage.
Feel free to reply if you have any questions.