{"id":26237230,"url":"https://github.com/tkellogg/oagent","last_synced_at":"2026-04-27T14:31:17.377Z","repository":{"id":266840116,"uuid":"899254212","full_name":"tkellogg/oagent","owner":"tkellogg","description":"A single-file agent via ollama","archived":false,"fork":false,"pushed_at":"2024-12-06T16:50:09.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-29T14:45:03.978Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tkellogg.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":"2024-12-05T22:39:50.000Z","updated_at":"2024-12-06T16:50:13.000Z","dependencies_parsed_at":"2024-12-06T13:51:28.110Z","dependency_job_id":"1c9342db-9691-4818-9986-ec0ed0e0d581","html_url":"https://github.com/tkellogg/oagent","commit_stats":null,"previous_names":["tkellogg/oagent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tkellogg/oagent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Foagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Foagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Foagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Foagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkellogg","download_url":"https://codeload.github.com/tkellogg/oagent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Foagent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32341447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-03-13T04:29:18.635Z","updated_at":"2026-04-27T14:31:17.345Z","avatar_url":"https://github.com/tkellogg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oagent\nA single-file `uv`-invoked script that implements an AI agent that can do some debugging tasks.\nYes, you can absolutely copy this into your `~/bin`, or symlink it, or anything. It's completely\nisolated to this one `oagent.py` file.\n\n\n## Install\n1. Clone this repo\n2. [Install uv](https://docs.astral.sh/uv/getting-started/installation/)\n3. [Install ollama](https://ollama.com/download) (`brew install ollama` works too)\n4. Run `ollama pull qwq`\n5. Run `ollama create qwq-patched:latest -f qwq-patch-modelfile` (Hack, this is because the standard qwq modelfile is broken)\n\nQwQ is a 32B model, but it runs fine on a 32GB M1 Macbook because it's quantized. It gets hot though.\n\n## Run\nTest it out:\n\n```sh\n./oagent.py \"find the file where we do database work\"\n```\n\n\n## FAQ\n### This isn't an agent\nUh, yeah, by \"agent\" I mean LLM + external resources. So whatever you want to call that.\n\n### This is going to sell all your private info to China\nidk, it's all running locally, and I have a tightly controlled list of tools that it can use,\nI think I'm fine with the risk, with my own personal data anyway.\n\n### It didn't work\nYeah, that makes sense. idk try again or something\n\n### None of these FAQ's are questions\nbro it's the internet\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkellogg%2Foagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkellogg%2Foagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkellogg%2Foagent/lists"}