{"id":51632862,"url":"https://github.com/rxdt/ai_deployment_calculator","last_synced_at":"2026-07-13T10:04:01.901Z","repository":{"id":366777470,"uuid":"1277766516","full_name":"rxdt/ai_deployment_calculator","owner":"rxdt","description":"Test app to simultaneously build frontend harness","archived":false,"fork":false,"pushed_at":"2026-07-12T19:17:54.000Z","size":7653,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-12T20:05:57.603Z","etag":null,"topics":["agent-memory","agent-orchestration","agentic-ai","agentic-workflow","ai-agents","ai-tools","automation","context-engineering","context-management","developer-experience","developer-productivity","harness-ci","harness-engineering","harness-execution-layer","harness-framework","loops","session-management"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/rxdt.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-23T07:06:16.000Z","updated_at":"2026-07-12T19:18:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rxdt/ai_deployment_calculator","commit_stats":null,"previous_names":["rxdt/ai_deployment_calculator"],"tags_count":0,"template":false,"template_full_name":"rxdt/loopgate_harness","purl":"pkg:github/rxdt/ai_deployment_calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxdt%2Fai_deployment_calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxdt%2Fai_deployment_calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxdt%2Fai_deployment_calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxdt%2Fai_deployment_calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rxdt","download_url":"https://codeload.github.com/rxdt/ai_deployment_calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxdt%2Fai_deployment_calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35418223,"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-13T02:00:06.543Z","response_time":119,"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":["agent-memory","agent-orchestration","agentic-ai","agentic-workflow","ai-agents","ai-tools","automation","context-engineering","context-management","developer-experience","developer-productivity","harness-ci","harness-engineering","harness-execution-layer","harness-framework","loops","session-management"],"created_at":"2026-07-13T10:04:01.319Z","updated_at":"2026-07-13T10:04:01.896Z","avatar_url":"https://github.com/rxdt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\".banner.svg\" alt=\"Blue infinity loop\" width=\"360\"\u003e\n\n\u003ch1\u003eLoopGate\u003c/h1\u003e\n\u003cp\u003e\u003cem\u003efrontend edition\u003c/em\u003e\u003c/p\u003e\n\n# This is a sample app to demo LoopGate\n\n### Built using [LoopGate for frontend](https://github.com/rxdt/loopgate_js) and **[LIVE HERE](https://aideploymentcalculator.vercel.app/)**\n\n# [AI Deployment Calculator](https://aideploymentcalculator.vercel.app/)\n\nA static Vite + TypeScript app for estimating GPU VRAM requirements and a\nhardware memory tier for AI workloads. Calculations run in the browser; there is\nno backend report service.\n\n_[The Python loop harness is here](https://github.com/rxdt/py_ralph_frame)_\n\n![VRAM Deployment Calculator screenshot](.calc.png)\n\n\u003c/div\u003e\n\n## Supports\n\n- text generation, embeddings, encoder-decoder, vision, multimodal\n- image diffusion, video, audio, tabular, and custom workloads\n- inference, LoRA, QLoRA, and full-training estimates\n- known model file size overrides, MoE, sharding, and runtime assumptions\n\n## Calculates\n\n- usable VRAM required\n- recommended hardware memory tier\n- minimum advertised GPU capacity\n- usable target, headroom, rough speed, formula, and assumptions\n\nCore equation:\n\n```txt\nRequired_GB = (Weights + Working_Memory + Training_State + Runtime_Overhead) * Buffer\n```\n\nEstimates vary with model architecture, kernels, quantization, sequence packing,\nbatching, sharding, offload, framework overhead, and runtime configuration.\nValidate against your target stack before buying hardware.\n\n## Key Files\n\n- UI: `frontend/index.html` and `frontend/src/app.ts`\n- State: `frontend/src/state.ts`\n- Calculation: `frontend/src/calculator-core.ts`, `frontend/src/workload-memory.ts`\n- Hardware tiers: `frontend/src/hardware.ts`\n- Report assembly: `frontend/src/report.ts`\n- Specs: `specs/plan.md`, `specs/frontend.md`\n\n## Requirements\n\n- Node.js `^22.16.0 || \u003e=24.8.0`\n- pnpm `\u003e=10` (`pnpm@11.9.0` declared)\n\n## Local\n\n```sh\npnpm install\npnpm setup\npnpm dev\n```\n\n## Build\n\n```sh\npnpm build\npnpm preview\n```\n\n## Deploy\n\nBuild output is static and lives in `frontend/dist`. Root-domain static host\nsettings:\n\n```txt\npnpm build  # Build command\nfrontend/dist  # Publish directory\nnpx vercel deploy --prod  # redeploy vercel\n```\n\nIf hosting under a subpath, set the Vite base path before building.\n\n## Checks\n\n```sh\npnpm preflight\npnpm gate\npnpm --prefix frontend run test:coverage\npnpm --prefix frontend run test:e2e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxdt%2Fai_deployment_calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frxdt%2Fai_deployment_calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxdt%2Fai_deployment_calculator/lists"}