# Gradient - Modern Nix-CI System: Call for Testers

**URL:** https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549
**Category:** Announcements
**Created:** [May 10, 2026, 10:36pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549 "2026-05-10T22:36:05Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [May 10, 2026, 10:36pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/1 "2026-05-10T22:36:05Z")

</div>

[Gradient](https://github.com/wavelens/gradient) is a Nix-CI System (kinda like Hydra, but less Perl and more Rust).

Gradient is quite young and has been in heavy Development for the past 3 years.  
We can finally say that it is in a development state where it is deployable and we are now happy to receive more Issues to improve overall stability and performance.

We welcome to see You push Gradient to it’s limits and find all possible kind of flaws.

If there are any Issues with deployments I am happy to receive PMs and find ways to improve documentation or any other utility necessary.

> **[GitHub - wavelens/gradient: nix-based continuous integration system](https://github.com/wavelens/gradient)**
>
> nix-based continuous integration system

---

<div class="post-metadata">

### Author: ![nyanbinary](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nyanbinary/32/11523_2.png) [@nyanbinary](https://discourse.nixos.org/u/nyanbinary)
#### Post date: [May 11, 2026, 12:08am UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/2 "2026-05-11T00:08:17Z")

</div>

What do you mean “kinda like” hydra? What’s the differences? Can it meaningfully replace Hydra?

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [May 11, 2026, 12:43am UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/3 "2026-05-11T00:43:13Z")

</div>

At the current state of development Gradient isn’t able to replace Hydra. Hydra is a mature Project, that has tested most of the edge cases you’d hit if you try to coordinate hundreds of Builders.

That said, Gradient has the freedom to experiment with new Technologies. While Hydra still evaluates everything locally and assigns jobs almost randomly to builders, Gradient can already evaluate on multiple Workers and assign build jobs based on e.g. “How much a worker would have to substitute?”. The Main NixOS Hydra is currently hitting a limit of maximum SSH connections it can simultaneously open. Gradient has it’s own Protocol using Websockets, and transfers zstd precompressed Nars, while Hydra only uses SSH on the fly compression.

It is pretty hard to compare those two projects easily, but Gradient goals are clear:

- faster and more efficient Evaluations and Builds
- better usability for Companies and Self-Hosters
- withstand higher Loads and more Workers

---

<div class="post-metadata">

### Author: ![Mic92](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mic92/32/5265_2.png) [@Mic92](https://discourse.nixos.org/u/Mic92)
#### Post date: [May 11, 2026, 6:40am UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/4 "2026-05-11T06:40:47Z")

</div>

Current hydra master also switched to grpc from ssh as part of the new queue runner.

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [May 11, 2026, 11:22am UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/5 "2026-05-11T11:22:15Z")

</div>

Sorry I must have missed that. But Hydra also just opens Nix-Daemon connections via the gRPC protocol? So things like Evaluations on remote builders aren’t possible?

---

<div class="post-metadata">

### Author: ![dtomvan](https://discourse.nixos.org/user_avatar/discourse.nixos.org/dtomvan/32/31095_2.png) [@dtomvan](https://discourse.nixos.org/u/dtomvan)
#### Post date: [May 12, 2026, 8:30pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/6 "2026-05-12T20:30:23Z")

</div>

Not to mention (what I’ve skimmed from the readme) OIDC and streaming logs. And github integration, which currently only ofborg does, in nixpkgs at least. Also the frontend seems a lot snappier on the demo instance.

---

<div class="post-metadata">

### Author: ![nrabulinski](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nrabulinski/32/10857_2.png) [@nrabulinski](https://discourse.nixos.org/u/nrabulinski)
#### Post date: [May 13, 2026, 2:48pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/7 "2026-05-13T14:48:15Z")

</div>

Do I understand this correctly that gradient will dispatch builds to minimize network traffic and rebuilds between workers? This is currently my biggest issue with Nix CI systems right now. Essentially, you have 3 options:

- Have ~1 builder per system. Ensures no unnecessary builds and no unnecessary closure copying. Obviously not ideal for scaling.
- Have as many builders as you want, and use something like pipeline matrices. Ensures maximum parallelism on output level, but causes tons of rebuilds if e.g. different outputs share common dependencies
- Use something like Hercules or just a single „main” builder with a bunch of remote builders. No rebuilds, but tons of network traffic as closures are constantly copied between builders

None of them are good and oftentimes for people without too much excess hardware like myself, the best option is to just have a single builder, which ends up being faster and more efficient than trying to scale horizontally.

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [May 13, 2026, 10:35pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/8 "2026-05-13T22:35:05Z")

</div>

There is no “perfect” Scheduling and you will always have somewhere tradeoffs. Gradient tries to minimize those tradeoffs, by minimizing network traffic, but there is more room to improve. And Gradient will need better statistics to improve on the scheduling algorithm. It’s for example uncertain how long a buildJob should wait when a worker is busy, but it wouldn’t need to substitute anything. Gradient will try to build derivations first that unblock many other derivations, so all Workers can be fully utilized. There is a specific scoring system, that will apply scores to buildJobs. I am specifically calling it buildJobs, because a single buildJob consists of multiple derivations. Gradient will try to build chaining derivations directly on a single worker, so there is no need to schedule loop the chain. If you are interested on how things work I can point out to the [Gradient Proto documentation](https://wavelens.github.io/gradient/development/proto/#job-dispatch). Gradient is able to detect if the substituting caches (also called upstream caches, for example [cache.nixos.org](http://cache.nixos.org) is configured as default entry) is a Gradient Cache able to speak the Gradient Proto. There are plans to transfer information about almost done / currently building Jobs, so the own scheduler will delay the build and Query the remote (external) Gradient Cache later again.

I want to point out that there are many more features (some of them are not fully done):

- The `gradient build` command: Works like the `nix build` (but only on flakes) command but will also evaluate on builders and copy the outputs back to your machine. There is no need to have nix or a nix store installed on the system.
- The Gradient Cache: It’s S3 compatible, but will also work without. You can return different Cache Priority values based on the IP range you are accessing it from, so If you have multiple devices at Home it will prefer the fast cache in the local network, but if your not at Home it will use other configured Caches. The Cache will also act as a pull through cache, so if [cache.nixos.org](http://cache.nixos.org) is configured, it will also return results for [cache.nixos.org](http://cache.nixos.org) and will temporary cache it on the own instance. Also if S3 is configured Workers won’t put load on S3 for pulling cached result. They rather will use presigned S3 Urls.
- a API where everything can be controlled from
- The Gradient Server itself doesn’t need a nix or a nix store, so it can be run in VM without nix store
- Fully Open-Source and Free under AGPL3-Only forever

---

<div class="post-metadata">

### Author: ![VanCoding](https://discourse.nixos.org/user_avatar/discourse.nixos.org/vancoding/32/1569_2.png) [@VanCoding](https://discourse.nixos.org/u/VanCoding)
#### Post date: [May 14, 2026, 7:30am UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/9 "2026-05-14T07:30:51Z")

</div>

> [@DerDennisOP](#):
>
> The `gradient build` command: Works like the `nix build` (but only on flakes) command but will also evaluate on builders and copy the outputs back to your machine. There is no need to have nix or a nix store installed on the system.

This is so cool! 🤩 Does it cache the evaluation too, or just the build results?

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [May 14, 2026, 10:33am UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/10 "2026-05-14T10:33:21Z")

</div>

You will have to select a Organization with Workers already setup when using the command. It will show up in Frontend as a new project with evaluations. It should cache everything it can. And it will stream back build logs to your terminal while building. There is also a evaluation cache (the cache that lies on you system at `~/.cache/nix/eval-cache-*`), which there is currently be worked on for better control in Rust, see [libexpr-c: expose essential evaluator functions for derivation tree inspection by NotAShelf · Pull Request #15842 · NixOS/nix · GitHub](https://github.com/NixOS/nix/pull/15842) and [Support nix-eval-jobs · Issue #39 · NotAShelf/nix-bindings · GitHub](https://github.com/NotAShelf/nix-bindings/issues/39). So we can have better control over the eval-cache and pre load e.g. Nixpkgs from the Server to the worker.

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [May 19, 2026, 8:35am UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/11 "2026-05-19T08:35:02Z")

</div>

I just released Gradient `v1.2.0`.

There are now new features like

- substituting Logs from Caches
- better Rate Limits for API
- Project Triggers: Cron, Timers, on Git PR, on Git Push
- Blake3 hashing support
- Caddy Reverse Proxy options
- Custom Cache Priorities based on IP
- Custom Roles and API Key Permissions
- Logged-in User-Sessions Management

for Gradient `v1.3.0` new main Features are currently on the Roadmap:

- Rework `gradient build` Command
- Project Actions: send Mail, Webhook, open Pull Requests
- Flake Input updating and overwrites

> **[Release v1.2.0 · wavelens/gradient](https://github.com/wavelens/gradient/releases/tag/v1.2.0)**
>
> What's Changed
> 
> Fix #37: require admin role for org member and management ops by @DerDennisOP in #124
> backend: ci — name checks with org/project context (#122) by @DerDennisOP in #131
> backend: web:...

---

<div class="post-metadata">

### Author: ![VanCoding](https://discourse.nixos.org/user_avatar/discourse.nixos.org/vancoding/32/1569_2.png) [@VanCoding](https://discourse.nixos.org/u/VanCoding)
#### Post date: [May 19, 2026, 8:47pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/12 "2026-05-19T20:47:34Z")

</div>

@DerDennisOP I played around a bit with gradient and it seems pretty cool!

One thing that confused me, though, were evaluations. In my mind, an evaluation is a single output of my flake. For example #packages.x86\_64-linux.app1. But in gradient it seems to be the result of the entire flake (with filters applied).

It’d be nice if i could see something like what nix flake show gives me, when i click an evaluation, and then being able to click a package for example to jump to its build.

This is also confusing in the CLI. Here I expected to be able to download a specific flake output, instead of accessing it by index. So for example `gradient download --project org/project #packages.x86_64-linux.app1`

That leads me to a very specific use case I had in mind when testing gradient:

Use gradient as a plugin in argocd to build kubernetes resources out of a flake and apply them to the cluster. The argocd plugin would just have the gradient CLI installed, and on every commit it just executes `gradient download –project org/project #packages.x86\_64-linux.kubernetes-resources`.

It might also be cool if the CLI would allow downloading the result of evaluating a flake output as JSON. So instead of having to turn something into a derivation first, with writeText for example, gradient could just let me download the result as JSON.

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [May 19, 2026, 9:31pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/13 "2026-05-19T21:31:46Z")

</div>

If you want you can create a GitHub issue, where further discussions can happen about the `gradient download` command, also the newest master just got a Gradient CLI refactor, so you might want to check that out also (if you haven’t it already).

You can always use the API directly, that’s actually the recommended way of interaction, if you plan to integrate Gradient somewhere. I will take a `--json` flag into consideration, since it seems like a important feature.

For Gradient point of view it is a single Evaluation. I can see that it leads to a bit of confusion, but I don’t really can think of an alternative name. Also most testers understood quickly what is meant by evaluation in Gradient. In Gradient Terminology what you think of an Evaluation is called a Entry Point.

A `nix flake show` like feature is already being planned, but isn’t high Priority.

If you had Problems / found any minor Bugs I would be happy to see your Issues on GitHub, that one way to improve the overall experience for everyone.

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [July 5, 2026, 4:28pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/14 "2026-07-05T16:28:55Z")

</div>

It’s been a while, but I just released Gradient `v1.3.0`.

There are now new features like:

- Collection of Build Metrics like CPU, Ram, Network, Disk usage.
- Building at Evaluation: Gradient now substitutes and starts building Packages while other Derivations are still Evaluating
- Faster Evaluation: There’s been big work made into fast nix evaluations cutting down Evaluation times by roughly 10x.
- There is a new Page: `Job Board`, which gives a overview of the total Instance inner workings.
- There is a far better Scheduling-Algorithm applied now, which is Resource Aware (will try to match workers CPU + RAM with a fitting Derivation)
- The Project Page has been fully reworked
- Gradient can now Update Flake Inputs and Open PRs (or other Actions)
- Substitution now is Latency-Aware: Gradient will try to substitute from the lowest latency possible.

… and much more, it’s actually too much to mention it all.

Some Screenshots of the new Job Board: [gradient/docs/gallery.md at 415e94f95025d043892ea2c2aa53c08a41e2b0d1 · wavelens/gradient · GitHub](https://github.com/wavelens/gradient/blob/415e94f95025d043892ea2c2aa53c08a41e2b0d1/docs/gallery.md)

There is also a new [Matrix Chat](https://matrix.to/#/#gradient-ci:matrix.org).

> **[Release v1.3.0 · wavelens/gradient](https://github.com/wavelens/gradient/releases/tag/v1.3.0)**
>
> What's Changed
> 
> worker: install rustls crypto provider before TLS handshake (#232) by @DerDennisOP in #233
> backend: fix Postgres parameter overflow on /evals/{eval}/builds by @DerDennisOP in #238
> M...

---

<div class="post-metadata">

### Author: ![niklaskorz](https://discourse.nixos.org/user_avatar/discourse.nixos.org/niklaskorz/32/39496_2.png) [@niklaskorz](https://discourse.nixos.org/u/niklaskorz)
#### Post date: [July 5, 2026, 6:56pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/15 "2026-07-05T18:56:20Z")

</div>

Amazing work! Looking forward to trying it out.

---

<div class="post-metadata">

### Author: ![glepage](https://discourse.nixos.org/user_avatar/discourse.nixos.org/glepage/32/35129_2.png) [@glepage](https://discourse.nixos.org/u/glepage)
#### Post date: [July 6, 2026, 7:22am UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/16 "2026-07-06T07:22:28Z")

</div>

This looks really cool! Thanks for sharing and open sourcing Gradient.

---

<div class="post-metadata">

### Author: ![greg-hellings](https://discourse.nixos.org/user_avatar/discourse.nixos.org/greg-hellings/32/27521_2.png) [@greg-hellings](https://discourse.nixos.org/u/greg-hellings)
#### Post date: [July 7, 2026, 7:22pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/17 "2026-07-07T19:22:11Z")

</div>

This seems pretty great - what would a comparison be with something like the Nix buildbot integration? And how would it play with an existing internal binary cache such as straight S3 or a niks3 cache?

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [July 7, 2026, 10:19pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/18 "2026-07-07T22:19:02Z")

</div>

There are Worlds between Bulidbot Nix and Gradient, so I can’t really compare them in General (It wouldn’t make any sense). But speaking about the Forge Integration alone Gradient might be better Configuration wise, but also has a steeper learning curve in comparison to Buildbot Nix. You will have to take some more time when setting up Gradient the first time. While also Buildbot Nix has a more refined Integration (e.g. it shows some formatted tables directly in GitHub). You can just take a look at both GH Repos, open a random PR, and compare each applications integration yourself. It’s not that much of a difference overall.

Gradient is not compatible with other binary Caches. The main reason for this decision is maintainability. Gradient will host a binary Cache and if you want to use the Gradient S3 backend you’ll be able to configure a S3 in Gradient. The Gradient Cache itself should be performant, has the ability to be only used as private cache (only allows substitution if clients provide Credentials) and does rate limiting and garbage collection. If you have a external binary cache you can configure it as a substituter for Gradient.

If your external Binary Cache supports the Gradient Proto, things changes, then Gradient will also be able to write to the external Binary Cache. Gradient will automatically detect if the cache speaks Gradient Proto:

 ![image](https://discourse.nixos.org/uploads/default/original/3X/b/2/b21dab6e252817ab991bb7f88e14d1cd2568fb04.png)

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [August 22, 2026, 9:19am UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/19 "2026-08-22T09:19:08Z")

</div>

Hey NixOS Community,

Gradient is looking for Developers that want to help out here!

Evaluation on multiple Workers concurrently is a feature Gradient has been planning since the own Protocol. Till now this stays a really complex Feature.  
Merging the Nix Dependency Graph on DB and actively managing the Gradient Workers is a very complex problem, so anyone who feels like he has deep enough insights in Postgresql, Nix or Graphs is really needed for this to work.

> <https://github.com/wavelens/gradient/issues/568>
>
> We want to speed up Evaluations by evaluating on multiple Nodes at the same time….

---

<div class="post-metadata">

### Author: ![DerDennisOP](https://discourse.nixos.org/user_avatar/discourse.nixos.org/derdennisop/32/29767_2.png) [@DerDennisOP](https://discourse.nixos.org/u/DerDennisOP)
#### Post date: [September 25, 2026, 10:49pm UTC](https://discourse.nixos.org/t/gradient-modern-nix-ci-system-call-for-testers/77549/20 "2026-09-25T22:49:00Z")

</div>

**Long time no see. Gradient v1.4.0 is live.**

And as your average AI Lab CEO would say: _“This is our most capable release yet.”_

While AGI is still miles away, fast Nix builds aren’t. Here is what’s new in `v1.4.0`:

- **Multi-Node Evaluation:** We’ve taken a massive step forward by enabling multiple workers to evaluate across the same dependency tree simultaneously. Multi-Node same Flake Evaluation is on the Roadmap for `v1.5.0`.

- **Smarter Dependency Graphing:** A long-requested feature is finally here. Gradient now automatically skips build-time dependencies that aren’t strictly required, cutting down cache and build overhead.

- **Prioritizing Score** : Super Users now can prioritize certain builds or evaluations to move faster ahead in build queue.

- **New Dashboard:** A fully overhauled, refined Dashboard UI to monitor your current Projects.

 ![image](https://discourse.nixos.org/uploads/default/original/3X/6/2/62d580474cd7c2c447ad3e5ce6f7d6ebafad0f89.png)

If you are interested in future updates, want to request new features or need help setting up your own Gradient, just join the [Matrix Channel](https://matrix.to/#/#gradient-ci:matrix.org).

> **[Release v1.4.0 · wavelens/gradient](https://github.com/wavelens/gradient/releases/tag/v1.4.0)**
>
> What's Changed
> 
> build: accept nix installable targets, fail eval on empty target by @DerDennisOP in #495
> flake.lock: update nixpkgs, crane by @gradient-ci\[bot\] in #496
> db,migration: fix: anchor bui...
