{"id":47686951,"url":"https://github.com/mac2bua/autoalgo","last_synced_at":"2026-04-02T14:54:03.083Z","repository":{"id":344565009,"uuid":"1181905261","full_name":"mac2bua/autoalgo","owner":"mac2bua","description":"Autonomous algorithm optimization research - 19x speedup achieved through self-driven iterations","archived":false,"fork":false,"pushed_at":"2026-03-15T21:30:57.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-15T21:55:02.736Z","etag":null,"topics":["algorithm-optimization","autoresearch","numpy","performance","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mac2bua.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-14T19:32:18.000Z","updated_at":"2026-03-15T21:40:02.000Z","dependencies_parsed_at":"2026-03-15T22:05:45.810Z","dependency_job_id":null,"html_url":"https://github.com/mac2bua/autoalgo","commit_stats":null,"previous_names":["mac2bua/autoalgo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mac2bua/autoalgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac2bua%2Fautoalgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac2bua%2Fautoalgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac2bua%2Fautoalgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac2bua%2Fautoalgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mac2bua","download_url":"https://codeload.github.com/mac2bua/autoalgo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac2bua%2Fautoalgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31308447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm-optimization","autoresearch","numpy","performance","python"],"created_at":"2026-04-02T14:54:02.518Z","updated_at":"2026-04-02T14:54:03.076Z","avatar_url":"https://github.com/mac2bua.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autoalgo\n\n\u003e Autonomous algorithm optimization — an experiment to have the LLM do its own research on algorithm performance.\n\nInspired by [Andrej Karpathy's autoresearch](https://github.com/karpathy/autoresearch), this project applies the same autonomous research loop to algorithm performance optimization.\n\n## Overview\n\nThis system autonomously optimizes algorithm implementations for runtime performance:\n\n1. Runs a fixed set of algorithm benchmarks\n2. Tries out different algorithmic approaches\n3. Keeps improvements, discards regressions\n4. Runs continuously until manually stopped\n\nEach experiment takes ~5 minutes. Leave it running overnight and you can run ~12 experiments per hour.\n\n## Running Unattended\n\nTo run the agent indefinitely without manual intervention, launch Claude Code with the dangerous mode flag:\n\n```bash\n# Ollama (author's setup)\nollama launch claude --model qwen3-coder-next:cloud -- --dangerously-skip-permissions\n\n# Claude CLI\nclaude --dangerously-skip-permissions\n```\n\n**Note**: This grants the agent full permission to execute commands without approval. Only use in a dedicated project directory.\n\n## Setup\n\n1. **Create an experiment branch** (date format: DD-MM-YYYY):\n   ```bash\n   git checkout -b autoalgo/15-03-2026\n   ```\n\n2. **Install dependencies**:\n   ```bash\n   uv sync\n   ```\n\n3. **Run the baseline**:\n   ```bash\n   uv run evaluate.py \u003e run.log 2\u003e\u00261\n   ```\n\n4. **Record the baseline** in `results.tsv`:\n   - Get the `total_time_ms` and `memory_mb` from `run.log`\n   - Add a row with status `baseline`\n\n5. **Kick off the loop**:\n   Point Claude Code or another coding agent at `program.md` and let it run the loop.\n\n## Experimentation\n\n- **`algorithms.py`**: Modify this file with experimental optimizations\n- **`evaluate.py`**: Fixed benchmark harness (DO NOT MODIFY)\n- **`results.tsv`**: Tracks experiment results\n\nEach experiment runs for ~5 minutes, testing different algorithm approaches.\n\n## Files\n\n| File | Purpose |\n|------|---------|\n| `algorithms.py` | Algorithm implementations (MODIFY THIS for optimization) |\n| `evaluate.py` | Fixed evaluation harness (DO NOT MODIFY) |\n| `results.tsv` | Results tracking |\n| `program.md` | The autonomous experiment protocol |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac2bua%2Fautoalgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmac2bua%2Fautoalgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac2bua%2Fautoalgo/lists"}