Skip to content

5G core testing · one Linux binary · on-prem

Runik The 5G core tester your agent can run.

rk plays the UE, the gNB, and the NF peers against your core. Your agent, your engineers, and your CI run the same YAML flow and get the same answer: a JSON verdict and an exit code.

Get Runik free

curl -fsSL https://get.dflux.io/runik/install.sh | sh

Community build for Linux amd64 and arm64. No licence file, no account.

AMFSMFSMFplayedby rkUPFrkgNB + UESMF + gNBSBI peerexit 0passN1/N2NAS-5G/NGAPN4PFCPN3GTP-USBIHTTP/2AMFSMFSMFplayedby rkUPFrkgNB + UESMF + gNBSBI peerpassN1/N2NAS-5G/NGAPN4PFCPN3GTP-USBIHTTP/2
501
flows in the public catalog
42
suites
152
negative-path flows
1,952
final-check assertions

# Agents

An agent runs rk against the core.

One session: the first run fails on 5GMM cause #23, the agent fixes the AMF config, and the second run passes.

registration · gnb · ngaprun 2 of 2pass · exit 0

taskPR #212 edits the AMF security config. Verify registration before merge.

agent$ rk run-flow -flow registration -templates ./d3x-templates -c lab.yaml -s subscribers.yaml -output json

rk"verdict": "fail"

rkfinal_check failed: the UE ended registered (final_state_counts.registered equals 1, actual 0) · exit 1

agentSECURITY MODE REJECT, 5GMM cause #23. The Security Mode Command replayed UE security capabilities that do not match the Registration Request.

agentedit amf.yaml replay the UE security capabilities from the Registration Request

agent$ rk run-flow -flow registration -templates ./d3x-templates -c lab.yaml -s subscribers.yaml -output json

rk"verdict": "pass" · exit 0

agent6 checks and 10 final checks passed against the patched AMF. Ready for review.

SIMULATED BY RKYOUR 5G COREUEgNBAMFAUSF · UDMInitialUEMessage · RegistrationRequestNausf_UEAuthenticationAuthenticationRequest✓ amf_ue_ngap_id not_emptyAuthenticationResponseSecurityModeCommand✓ ue.SecCtx not_emptySecurityModeCompleteInitialContextSetupRequest · RegistrationAccept✓ nas.guti ie_presentRegistrationCompleteSIMULATEDYOUR COREUEgNBAMFAUSFRegistrationRequestNausf_UEAuthAuthenticationRequestAuthenticationResponseSecurityModeCommandSecurityModeCompleteRegistrationAcceptRegistrationComplete
Illustrative session · output abridged

Illustration of a fail-then-fix run. Real rk output differs.

Let your coding agent test the 5G core5GMM cause codes5GMM cause #23

# Why Runik

Three ways to test a core. One of them fits in a pipeline.

Three ways to test a 5G core: a packaged lab system, scripts your team maintains, and Runik
A packaged lab systemScripts your team maintainsRunik
Starts from a command in CIDepends on the productYesYes. One command, one exit code
Who maintains the proceduresThe vendorYour teamA YAML file in your repo, from a public catalog of 501 flows
What a failed run returnsA report inside the productWhatever the script printsExit code, JSON, JUnit, and the bytes with -⁠trace
How an agent drives itThrough a GUI or a vendor APIBy reading your codeschema, vocab, describe, and lint, then a JSON verdict
Needs a route off the labAsk the vendorNoNo. No telemetry, licence checked on the host
Time to a first runA procurement cycleWeeks of protocol workMinutes: install, describe the lab, run registration
Starts atA quoteEngineer time$0

Commercial systems, scripts, and a CLIA lab GUI and a CLI in CI

# How it works

Write the flow. Run it. Read the verdict.

  1. Write the flow

    A YAML file names the procedure, the messages to send, and the checks that must pass.

    registration.yaml, abridged
    kind: flow
    name: registration
    final_states: [registered]
    final_checks:
      - name: the UE ended registered
        metric: final_state_counts.registered
        op: equals
        value: 1
    
  2. Run it

    The same rk command runs on a laptop, in the pipeline, and from an agent.

    terminal
    $ rk run-flow -flow registration -templates ./d3x-templates -c lab.yaml -s subscribers.yaml -output json
      Templates loaded from ./d3x-templates: 501 flows, 42 suites
      Flow:      registration
      VERDICT: PASS  (reached a declared final state; every check and final_check passed)
  3. Read the verdict

    rk writes a JSON report and exits with the verdict. Exit 0 is a pass.

    verdict.json
    {
      "flow_name": "registration",
      "verdict": "pass",
      "all_passed": true,
      "final_state_counts": { "registered": 1 }
    }

    exit 0 verdict pass

Exit codesRun it in CI

# Capabilities

Four jobs. One flow language.

One YAML flow tests a procedure, checks the result, puts the core under load, and probes it for security, whether an engineer or an agent runs it.

rkauth

Test

Procedures, not packets.

Runik plays the UE and the gNB, or the NF peer, and drives a whole procedure against your core.

How flows work
absentfail

Validate

A pass means every check held.

Each flow states its checks in plain language. A result that is missing fails the run instead of passing quietly.

Reports
rkp99

Performance

Load from the same flow.

Run the flow that passed at a set rate and duration. Latency limits live in the flow, so a slowdown fails the build instead of hiding in a chart.

Load runs
TS clauserk

Security

Security probes with a clear verdict.

A probe names what it tests and the role rk plays. A run that never reached the target is reported as inconclusive, not as a finding.

Fuzzing

# On the wire

Your core's own interfaces, built into rk.

rk plays the UE and the gNB, an NF consumer on the SBI, or the SMF on N4. Pick a mode to see which functions it simulates.

Drive the AMF from the radio side. rk plays the UE and the gNB: NAS-5G inside NGAP over SCTP, then GTP-U on N3 once a PDU session is up.

Call any NF on the service bus. rk sits on the SBI as the consuming NF and speaks HTTP/2, with TLS or mTLS, to the UDM, AUSF, PCF, NRF and the rest.

Put the UPF under test with no AMF. rk plays the SMF on N4 and the gNB on N3: PFCP session establishment, then user-plane traffic through the tunnel it just built.

189 flows · community216 flows · community81 flows · licensed
SBI · HTTP/2 · TS 29.500N1 · NAS-5GN2 · NGAPN3 · GTP-UN4 · PFCPN6NSSFNRFUDRUDMAUSFPCFBSFAFAMFSMFUErkgNBrkUPFDNSBI · HTTP/2 · TS 29.500N1 · NAS-5GN2 · NGAPN3 · GTP-UN4 · PFCPN6NSSFNRFUDRUDMAUSFPCFBSFAFAMFrkSMFrkUEgNBUPFDNSBI · HTTP/2 · TS 29.500N1 · NAS-5GN2 · NGAPN3 · GTP-UN4 · PFCPN6NSSFNRFUDRUDMAUSFPCFBSFAFAMFSMFrkUEgNBrkUPFDN

simulated by rk under testSwipe the map to see all of it

501 flows, 42 suites. Flow catalog on GitHub

Runik builds every message itself. With -⁠trace, a failed run returns the bytes. CLI reference

Where it runs

On-prem. Offline. No phone-⁠home.

rk runs on your host, next to the core, and needs no route off the lab. Test the core in an air-gapped lab

  • One Linux binary No cloud console and no database to keep.
  • No telemetry rk connects only to the endpoints in your config.
  • Licence checked on the host A signed file. Nothing calls dflux to activate.

# Editions

Free to start. A licence when you need more.

Community installs with one command and no licence file. Pro and Enterprise add protocols and scale, priced per runner. A runner is one rk process: it simulates the UE, the gNB, and the NF peers your flows need.

Community

$0No licence file
  • Run single flows: core NGAP, NAS, and SBI procedures
  • Test REST APIs and the GTP-U user plane after an N2 session
  • Gate CI on the exit code, with JSON and JUnit reports
  • Up to 1,000 subscribers

Pro

$15,000Per runner, per year
  • Everything in Community
  • Run test suites and wire-level fuzzing
  • Test PFCP on N4, Diameter, and GTP-U without an N2 session
  • Run server-mode flows and export Prometheus metrics
or buy Pro

Enterprise

QuotedContact us
  • Everything in Pro
  • DPDK datapath
  • Custom Diameter AVP dictionaries
  • Fleet workers under Runik Console
  • Fleet workers (rk running as a worker under Runik Console) are included in Enterprise and in the 30-day trial; they are planned for every edition, with the number of workers set by your Console licence.
  • Runik Console, the web UI and control plane for rk workers, is included in Enterprise and in the 30-day trial. A free single-runner Console for Community is coming in 1.0.1.
  • 30-day refund on the first purchase of an annual licence; no refunds on renewals after that. Full pricing.

# FAQ

Fair questions.

Does Runik include an LLM?

No. Runik is a deterministic tester. The flow and its checks are the same whoever runs it. You bring the agent, or use none.

Do I need an agent to use it?

No. An engineer uses the same terminal, and a pipeline uses the same command. An agent drives the same rk CLI with nothing extra to install; an MCP server is on the roadmap, not shipped.

Does my data leave the lab?

Not through Runik. rk runs on your host and connects to the endpoints in your config. What your agent sends to its model provider is governed by your agent setup.

How do I get the binary?

Run curl -fsSL https://get.dflux.io/runik/install.sh | sh on Linux amd64 or arm64. Community runs with no licence file. The docs are on docs.dflux.io, and the flow catalog is public on GitHub under Apache-2.0.

What is a runner?

A runner is one rk process: it simulates the UE, the gNB, and the NF peers your flows need. Pro is priced per runner, per year.

How does the 30-day trial work?

Leave your work email on the Pro card. dflux creates a signed 30-day licence file by hand and emails it to you. No card.

Also from dflux. Test your core with Runik. Run and protect it with SCP. How SCP works

Put a tester in your agent's hands.

Community installs with one command and needs no form. For Pro, Enterprise, SCP, or a question, tell us which core you run. An engineer answers.

comms@dflux.io