-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget-code.html
More file actions
146 lines (131 loc) · 7.94 KB
/
Copy pathget-code.html
File metadata and controls
146 lines (131 loc) · 7.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>We'll rewrite your AI agent loop with LoopGain, free — paste your code — LoopGain</title>
<meta name="description" content="Paste an example loop from your own code. We hand back that exact loop, wrapped with LoopGain and ready to paste into your repo — free, in under a minute. Your code is never stored." />
<meta name="theme-color" content="#0A0B0D" />
<meta name="robots" content="index,follow" />
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="canonical" href="https://loopgain.ai/get-code" />
<meta property="og:title" content="We'll rewrite your AI agent loop with LoopGain — free" />
<meta property="og:description" content="Paste an example loop from your own code — we hand back that exact loop, wrapped with LoopGain and ready to paste into your repo. Free. Your code is never stored." />
<meta property="og:url" content="https://loopgain.ai/get-code" />
<meta property="og:type" content="website" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" data-font-css />
<noscript><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet" /></noscript>
<script src="/fonts.js" defer></script>
<link rel="stylesheet" href="landing.css" />
<link rel="stylesheet" href="get-code.css" />
</head>
<body>
<!-- ─── nav ──────────────────────────────────────────────────────────── -->
<header class="nav" data-screen-label="nav">
<a class="nav-brand" href="/" aria-label="LoopGain home">
<img src="/loopgain-lockup-dark-sm.png" alt="LoopGain" class="brand-dark" style="height:24px; width:auto;" />
<img src="/loopgain-lockup-light-sm.png" alt="LoopGain" class="brand-light" style="height:24px; width:auto;" />
<span class="nav-version mono" data-lg-version>v0.5.2</span>
</a>
<nav class="nav-links" aria-label="primary">
<a href="/#bands">bands</a>
<a href="/#install">install</a>
<a href="/benchmarks">benchmark</a>
<a href="/get-code" aria-current="page">try it on your code</a>
<a href="/#dashboard">dashboard</a>
<a href="/#pricing">pricing</a>
<a href="/blog/">blog</a>
<a href="https://github.com/loopgain-ai" rel="noopener">github ↗</a>
<button class="nav-theme" id="themeToggle" aria-label="Toggle theme" title="Toggle theme">
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M8 1.5v2M8 12.5v2M3.7 3.7l1.4 1.4M10.9 10.9l1.4 1.4M1.5 8h2M12.5 8h2M3.7 12.3l1.4-1.4M10.9 5.1l1.4-1.4" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" fill="none"/><circle cx="8" cy="8" r="3" stroke="currentColor" stroke-width="1.4" fill="none"/></svg>
</button>
<a class="nav-cta" href="https://dashboard.loopgain.ai" rel="noopener">open dashboard →</a>
</nav>
</header>
<main>
<article class="sc-page">
<span class="eyebrow mono"><span class="status-dot"></span> free · takes about a minute</span>
<h1>We'll rewrite your loop with LoopGain — free, in under a minute.</h1>
<p class="sc-lede">
Paste one example loop from your own code — the part that calls an LLM, checks its output, and loops until something says stop. We'll hand back that exact loop wrapped with LoopGain, ready to paste into your repo, plus the published benchmark data on why it's worth doing.
</p>
<div class="sc-highlight">
<strong>You can also get free hosted-dashboard access</strong> — confirm your email and we'll send a token so you can watch a real run for yourself, not just read a number here.
</div>
<p class="sc-note mono">
Your code is sent to Claude for analysis and is <strong>never stored</strong> — not by LoopGain, not in any database. One loop function is plenty; you don't need to paste more than that.
</p>
<p class="sc-note mono">
Using Claude Code? The <a href="https://github.com/loopgain-ai/loopgain-plugin" rel="noopener">loopgain-plugin</a> scans your whole repo instead of one pasted snippet — same reviewed-diff approach, every candidate loop, file by file.
</p>
<form id="scForm" class="sc-form" novalidate>
<div class="sc-field">
<label class="sc-label" for="scCode">Your loop</label>
<textarea id="scCode" name="code" class="sc-textarea" rows="12" maxlength="8000"
placeholder="def revise_until_done(prompt, verifier, max_iterations=10):
output = generate(prompt)
for i in range(max_iterations):
errors = verifier.check(output)
if not errors:
return output
output = revise(output, errors)
return output"
required></textarea>
<p class="sc-hint mono"><span id="scCodeCount">0</span> / 8000 characters — one loop function, not a whole file</p>
</div>
<div class="sc-field">
<label class="sc-label" for="scEmail">Email</label>
<input id="scEmail" name="email" type="email" class="sc-input" placeholder="you@company.com" required />
</div>
<label class="sc-consent">
<input type="checkbox" id="scConsent" name="consent" required />
<span>I agree to be emailed by LoopGain with my results and free dashboard token.</span>
</label>
<!-- Honeypot — hidden from real users, bots often fill every field. -->
<input type="text" name="company_website" class="wl-hp" tabindex="-1" autocomplete="off" aria-hidden="true" />
<div id="scTurnstile" class="sc-turnstile"></div>
<button type="submit" class="btn btn-amber btn-block sc-submit">Rewrite my loop →</button>
<p id="scStatus" class="sc-status" role="status"></p>
</form>
<section id="scResult" class="sc-result" hidden>
<div id="scResultInner"></div>
</section>
<p class="sc-back">← <a href="/">back to loopgain.ai</a></p>
</article>
</main>
<!-- ─── footer ───────────────────────────────────────────────────────── -->
<footer class="foot" data-screen-label="footer">
<div class="foot-row">
<a class="foot-brand" href="/" aria-label="LoopGain home">
<img src="/loopgain-lockup-dark-sm.png" alt="LoopGain" class="brand-dark" style="height:20px; width:auto;" />
<img src="/loopgain-lockup-light-sm.png" alt="LoopGain" class="brand-light" style="height:20px; width:auto;" />
</a>
<nav class="foot-links mono" aria-label="footer">
<a href="https://github.com/loopgain-ai" rel="noopener">github</a>
<a href="https://pypi.org/project/loopgain" rel="noopener">pypi</a>
<a href="https://github.com/loopgain-ai/loopgain-plugin" rel="noopener">claude code plugin</a>
<a href="https://dashboard.loopgain.ai" rel="noopener">dashboard</a>
<a href="/blog/">blog</a>
<a href="/benchmarks">benchmark</a>
<a href="/get-code">try it on your code</a>
<a href="/privacy">privacy</a>
<a href="/terms">terms</a>
<a href="mailto:hello@loopgain.ai">hello@loopgain.ai</a>
</nav>
</div>
<div class="foot-row foot-row-fine mono">
<span>© 2026 LoopGain Technologies Inc. · Apache-2.0</span>
<span class="dot-sep"></span>
<span>Cost control for AI agent loops</span>
</div>
</footer>
<script src="landing.js"></script>
<script src="version-sync.js"></script>
<script src="get-code.js"></script>
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?onload=onloadTurnstileCallbackSC&render=explicit" async defer></script>
</body>
</html>