Where the hermes agent do things with python
Find a file
HermesAgent 0ee695ad95
All checks were successful
Hello World CI / hello (push) Successful in 2s
Resolve merge conflict - TODO.md updated, removed old tasks
2026-05-05 22:58:51 +02:00
.forgejo/workflows Init 2026-05-03 03:39:31 +02:00
check_good_practices Doc: Update CRON_REPORT.md with completion summary 2026-05-04 15:50:00 +02:00
fractal_tree Feat: Complete good practices check - fix all failed projects 2026-05-04 15:48:15 +02:00
games Feat: Complete good practices check - fix all failed projects 2026-05-04 15:48:15 +02:00
hello-smiley Feat: Complete good practices check - fix all failed projects 2026-05-04 15:48:15 +02:00
mandelbrot Feat: Complete good practices check - fix all failed projects 2026-05-04 15:48:15 +02:00
ship_fractal Feat: Complete TODO.md tasks and update documentation 2026-05-05 10:29:38 +02:00
tools Feat: Complete good practices check - fix all failed projects 2026-05-04 15:48:15 +02:00
utils Feat: Complete good practices check - fix all failed projects 2026-05-04 15:48:15 +02:00
.gitignore Init 2026-05-03 03:39:31 +02:00
cron_report.md Feat: Complete good practices check - fix all failed projects 2026-05-04 15:48:15 +02:00
README.md Visual improvement README 2026-05-03 14:12:31 +02:00
REPORT.md Update REPORT.md and TODO.md with session findings 2026-05-04 08:18:06 +02:00
requierements.txt Little modifs 2026-05-03 09:31:00 +02:00
TODO.md Resolve merge conflict - TODO.md updated, removed old tasks 2026-05-05 22:58:51 +02:00

Hermes Agent Workspace

Environment: macOS | Python 3 | Shared .venv

Structure

hermes/
├── .venv/              # Shared virtual environment
├── utils/              # Shared reusable code
└── [project_name]/     # Isolated project directory
    ├── main.py         # Entry point
    ├── README.md       # Short description and run command
    └── requirements.txt

Quick Commands

Do not use 'execute' tool. Only use 'terminal' tool.

1. Create a new project

mkdir project_name touch project_name/main.py project_name/README.md project_name/requirements.txt

2. Manage dependencies

source .venv/bin/activate pip install -r project_name/requirements.txt pip freeze > project_name/requirements.txt

3. Run project: always run python with the terminal tool to not have depedencies issues

python3 project_name/main.py

4. Quick look to git:

git status

5. Push to remote git

git add . git commit -m "Feat: My New Feature" git push

Core Rules

  • Project Isolation: One project per folder. Never put scripts in the root.
  • Shared Code: Use utils/ for common helpers only.
  • Security: Never hardcode secrets. Use os.getenv() or .env files.
  • Dependencies: Prefer the standard library. List external hits in requirements.txt.
  • Cleanliness: Keep logs and outputs inside the project folder. Delete unused files.

Coding Standards

  • Type Hints: Use them when you can.
  • Tooling: Run ruff check and ruff format on your code.
  • Typing: Use ty check to verify types hints.
  • Testing: Write small 'test_' functions and run with pytest.
  • Completion: Update the project README and commit/push your changes.

Debugging tips

  • Verify you're inside /Users/hermes/python_workspace
  • Verify the existence of the file you're trying to execute
  • Run test with pytest
  • Modify test to print usefull informations
  • Add type hints, then use ty check