You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tone down the landing page AI copy so it stays closer to the existing positioning while still calling out coding-agent workflows.
Add a linked guide page for the follow-on explanation without changing the homepage hero copy.
<h2className="hl-2 text-gray-80"> {React.string("Readable in. Predictable out.")} </h2>
90
+
<pclassName="body-lg text-gray-60 mt-4">
91
+
{React.string(`Readable source, predictable output, and fast compiler feedback are useful whether changes come from a person or a coding agent. ReScript keeps the edit-review-fix loop tight for both humans and tools.`)}
{React.string(`You can quickly add ReScript to an existing JavaScript codebase in minutes. That low setup overhead also makes it easy to experiment in fast-moving teams, including ones trying AI-assisted workflows.`)}
paragraph={React.string(`ReScript cares about a consistent and fast feedback loop for any codebase size. Refactor code, pull complex changes, or switch to feature branches as you please. That same speed also makes AI-assisted iteration much easier to validate and keep moving.`)}
paragraph={React.string(`Every ReScript app is fully typed and provides
413
-
reliable type information for any given value in your program. We
414
-
prioritize simpler types over complex types for the sake of
415
-
clarity and easy debugability. No \`any\`, no magic types, no surprise
416
-
\`undefined\`.
417
-
`)}
386
+
paragraph={React.string(`Every ReScript app is fully typed and provides reliable type information for any given value in your program. We prioritize simpler types over complex types for the sake of clarity and easy debugability. That also makes AI-generated changes easier to review and correct.`)}
paragraph={React.string(`Use any library from JavaScript, export ReScript
435
-
libraries to JavaScript, automatically generate TypeScript types. It's
436
-
like you've never left the good parts of JavaScript at all.`)}
403
+
paragraph={React.string(`Use any library from JavaScript, export ReScript libraries to JavaScript, automatically generate TypeScript types. It's like you've never left the good parts of JavaScript at all, including the SDKs and tools that power modern AI products.`)}
437
404
/>
438
405
439
406
@react.component
@@ -446,6 +413,57 @@ module MainUSP = {
446
413
}
447
414
}
448
415
416
+
moduleAgenticWorkflows= {
417
+
typepoint= {
418
+
title: string,
419
+
body: string,
420
+
}
421
+
422
+
letpoints= [
423
+
{
424
+
title: "Readable code helps agents stay on track",
425
+
body: "ReScript's syntax is small, consistent, and easy to scan, which makes generated edits easier to inspect and prompts easier to ground in real code.",
426
+
},
427
+
{
428
+
title: "Compiler errors create a tighter repair loop",
429
+
body: "Instead of vague runtime failures, agents get concrete feedback about what is wrong and where the contract broke. That makes iterative repair much more reliable.",
430
+
},
431
+
{
432
+
title: "Humans can still review the result",
433
+
body: "ReScript compiles to straightforward JavaScript, so teams can inspect output, debug behavior, and keep handoff between human and agent work understandable.",
{React.string("Why ReScript works well with coding agents")}
444
+
</h2>
445
+
<pclassName="body-lg text-gray-60 mt-4">
446
+
{React.string(`Coding agents tend to work best when the surrounding system is readable, predictable, and easy to review. ReScript helps by keeping the source language simple, the compiler feedback fast, and the generated output understandable.`)}
{React.string(`A community of programmers who value getting things done`)}
468
486
</h3>
469
487
<pclassName="body-md text-gray-40">
470
-
{React.string(`No language can be popular without a solid
471
-
community. A great type system isn't useful if library authors
472
-
abuse it. Performance doesn't show if all the libraries are slow.
473
-
Join the ReScript community — A group of companies and individuals
474
-
who deeply care about simplicity, speed and practicality.`)}
488
+
{React.string(`No language can be popular without a solid community. A great type system isn't useful if library authors abuse it. Performance doesn't show if all the libraries are slow. That pragmatic mindset matters even more when teams start using coding agents and need changes to stay understandable.`)}
VSCode & Vim plugins, a stable type system and compiler that doesn't require lots
497
-
of extra configuration. ReScript brings all the tools you need to
498
-
build reliable JavaScript, Node and ReactJS applications.`)}
509
+
{React.string(`A builtin pretty printer, memory friendly VSCode and Vim plugins, and a stable compiler keep the workflow tight without lots of extra configuration. That's especially useful when both humans and AI tools are contributing changes.`)}
{React.string("Learn more about ReScript and coding agents")}
580
+
</h2>
581
+
<pclassName="body-lg text-gray-30">
582
+
{React.string(`Read a short guide on why readable source, strong types, and fast compiler feedback help when humans and coding agents work together.`)}
description: "How ReScript supports teams working with coding agents"
4
+
canonical: "/docs/manual/agentic-workflows"
5
+
section: "Guides"
6
+
order: 4
7
+
---
8
+
9
+
# ReScript and Coding Agents
10
+
11
+
ReScript is a strong fit for teams working with coding agents because it reduces ambiguity in the source language, surfaces errors early through the compiler, and keeps generated output understandable. This guide explains why those properties matter in real development workflows.
12
+
13
+
## Readable code is easier to steer
14
+
15
+
Agents do better when the language they are editing is small, regular, and easy to inspect. ReScript keeps the syntax compact and consistent, which makes prompts easier to ground in the actual code and makes generated changes easier for humans to review.
16
+
17
+
## Compiler feedback tightens the repair loop
18
+
19
+
When an agent makes an incorrect assumption, fast compiler feedback matters. ReScript turns many mistakes into concrete, local errors instead of vague runtime failures, which gives both the agent and the human reviewer a clearer path to the next fix.
20
+
21
+
## Reviewable JavaScript keeps handoff practical
22
+
23
+
ReScript compiles to straightforward JavaScript, so teams can still inspect output, debug behavior, and understand how a change behaves in the wider JavaScript ecosystem. That keeps the handoff between agent-written code and human review practical.
24
+
25
+
## You can keep your existing stack
26
+
27
+
Using ReScript does not mean walking away from the JavaScript ecosystem your product already depends on. You can keep using the SDKs, APIs, frameworks, and deployment tooling your team already knows while adding stronger guarantees where correctness and maintainability matter most.
28
+
29
+
## Where to start
30
+
31
+
- For setup, see [Installation](./installation.mdx).
32
+
- For adding ReScript to an existing codebase, see [Converting from JS](./converting-from-js.mdx).
33
+
- For editor and compiler feedback loops, see [Code Analysis](./editor-code-analysis.mdx).
0 commit comments