{"id":51406306,"url":"https://github.com/bju12290/cuda-agent","last_synced_at":"2026-07-04T11:03:04.588Z","repository":{"id":341160205,"uuid":"1169155045","full_name":"bju12290/cuda-agent","owner":"bju12290","description":"Config-driven build, test, benchmark, compare, and reporting runner for local software projects, with an initial focus on CUDA workflows.","archived":false,"fork":false,"pushed_at":"2026-02-28T09:09:27.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-28T14:20:51.724Z","etag":null,"topics":["automation","benchmarking","build-tools","cli","cuda","developer-tools","performance","python","sqlite","testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bju12290.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-28T08:57:50.000Z","updated_at":"2026-02-28T09:04:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bju12290/cuda-agent","commit_stats":null,"previous_names":["bju12290/cuda-agent"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bju12290/cuda-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bju12290%2Fcuda-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bju12290%2Fcuda-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bju12290%2Fcuda-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bju12290%2Fcuda-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bju12290","download_url":"https://codeload.github.com/bju12290/cuda-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bju12290%2Fcuda-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35118983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"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":["automation","benchmarking","build-tools","cli","cuda","developer-tools","performance","python","sqlite","testing"],"created_at":"2026-07-04T11:03:03.919Z","updated_at":"2026-07-04T11:03:04.580Z","avatar_url":"https://github.com/bju12290.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cuda-agent\n[![Tests](https://github.com/bju12290/cuda-agent/actions/workflows/tests.yml/badge.svg)](https://github.com/bju12290/cuda-agent/actions/workflows/tests.yml)\n\nConfig-driven build, test, benchmark, compare, and reporting runner for local software projects, with an initial focus on C++/CUDA workflows.\n\n\u003e Current release: MVP 2\n\nHighlights:\n\n- reproducible local runs with stored artifacts and summaries\n- SQLite-backed run history plus `runs`, `report`, and `compare`\n- generic `run.cmd` support for Python and Node.js style workflows\n- executable-discovery support via `run.exe_glob` for CUDA-style binaries\n\nThe core model is intentionally language-agnostic:\n\n- project workspace\n- build step\n- optional test step\n- runnable targets\n- parsed metrics\n- artifact storage\n- policy-based pass/fail rules\n\nLanguage and toolchain specifics live in commands, target definitions, and future adapters or presets. The current examples are CUDA-oriented, but the schema is being kept generic on purpose.\n\nRecommended target style:\n\n- prefer `run.cmd` for new configs\n- use `run.exe_glob` as a convenience mode for compiled executable workflows\n\n## Prerequisites\n\nGeneral:\n\n- Python 3.10+\n- Windows is the primary validated environment for this repo today\n\nFor the bundled fixture projects:\n\n- Python is enough for `fixtures/python_smoke`\n- Node.js is required for `fixtures/node_smoke`\n\nFor the CUDA sample config:\n\n- Microsoft C++ build tools available on `PATH` as `cl.exe`\n- CUDA toolkit available on `PATH` as `nvcc.exe`\n- an external CUDA samples checkout at the path expected by `cuda_samples.yaml`\n\n## Install\n\nFrom the repo root:\n\n```powershell\npython -m venv .venv\n.\\.venv\\Scripts\\python.exe -m pip install -U pip\n.\\.venv\\Scripts\\python.exe -m pip install -e .[dev]\n```\n\nAfter install, either use the console script:\n\n```powershell\n.\\.venv\\Scripts\\cuda-agent.exe --help\n```\n\nor the module form:\n\n```powershell\n.\\.venv\\Scripts\\python.exe -m cuda_agent.cli --help\n```\n\n## Quickstart\n\nIf you want the least-surprising local validation path, start with the fixture projects in `fixtures/`.\n\nThe root `cuda_samples.yaml` file is the primary runnable CUDA example in this repo. The annotated reference template lives at `examples/annotated_cuda_samples.yaml`.\n\nValidate a config:\n\n```powershell\n.\\.venv\\Scripts\\cuda-agent.exe --config cuda_samples.yaml validate\n```\n\nList targets:\n\n```powershell\n.\\.venv\\Scripts\\cuda-agent.exe --config cuda_samples.yaml list\n```\n\nRun a target:\n\n```powershell\n.\\.venv\\Scripts\\cuda-agent.exe --config cuda_samples.yaml run matrixMul --live\n```\n\nList indexed runs:\n\n```powershell\n.\\.venv\\Scripts\\cuda-agent.exe --config cuda_samples.yaml runs --limit 20\n```\n\nCompare two runs:\n\n```powershell\n.\\.venv\\Scripts\\cuda-agent.exe --config cuda_samples.yaml compare \u003colder_run_id\u003e \u003cnewer_run_id\u003e\n```\n\n## What It Does\n\nThe current implementation provides:\n\n- config load, interpolation, and validation\n- configure/build execution\n- optional test execution\n- repeated target runs with warmups\n- regex-based stdout metric parsing\n- receipt-oriented artifact storage\n- Markdown report generation\n- SQLite-backed run indexing\n- report lookup by run id\n- compare output with direction-aware improvement/regression classification\n\n## Current Support\n\nSupported well today:\n\n- Windows-oriented local workflows\n- CUDA sample-style executable runs through `run.exe_glob`\n- generic command-based targets through `run.cmd`\n- Python and Node.js projects expressed as normal commands\n\nNot shipped yet:\n\n- profiler capture\n- HTTP API\n- patch loop / autonomous optimization\n- first-class language-specific presets or adapters\n\n## Documentation\n\n- [Design](docs/design.md)\n- [CLI Reference](docs/cli.md)\n- [Config Schema](docs/config-schema.md)\n- [Testing Guide](docs/testing.md)\n\n## Examples And Fixtures\n\n- [Annotated CUDA Samples Template](examples/annotated_cuda_samples.yaml)\n- [Generic Command Example](examples/python_cmd.yaml)\n- [Node.js Command Example](examples/node_cmd.yaml)\n- [Python Fixture Project](fixtures/python_smoke/agent.yaml)\n- [Node.js Fixture Project](fixtures/node_smoke/agent.yaml)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbju12290%2Fcuda-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbju12290%2Fcuda-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbju12290%2Fcuda-agent/lists"}