# Servirtium > Servirtium records the HTTP conversations a test makes and replays them later with no network. The recording ("tape") is canonical, human-readable Markdown, so it can be reviewed in a Git diff and replayed from any language. One engine (servirtium-vcr, written in Aether, shipped as a native library with a C ABI) is wrapped by thin bindings for 30 languages. Current release: v2.0.0-alpha.20. Nothing is on a language registry: four packaged artifacts and the native libraries are on the GitHub release, and every other language vendors the binding source at the release tag. Start here: - [Prompt for a coding agent](https://servirtium.dev/agent-prompt/): a ready-to-paste prompt that wraps an existing integration test with Servirtium (record once, commit the tape, play back offline). - [Everything in one file](https://servirtium.dev/llms-full.txt): concepts, features and every language's install steps and quick start. - [Languages](https://servirtium.dev/languages/): table of all 30 bindings, whether each ships an artifact or vendors source, and how to install. - [Features](https://servirtium.dev/features/): what the engine does, how it behaves, examples. - [Servirtium and OpenAPI](https://servirtium.dev/openapi/): exporting tapes to HAR and using existing HAR/OpenAPI tooling. ## Language pages - [Go](https://servirtium.dev/languages/go/): No registry package: go get the go/v2 module at the release tag, plus the release native library - [Python](https://servirtium.dev/languages/python/): No PyPI package (the PyPI name 'servirtium' is the old 1.x): pip install the python/ subdirectory of the tag, plus the release native library - [Java](https://servirtium.dev/languages/java/): Ships: servirtium-vcr-2.0.0-alpha.20.jar (fat jar, six natives); install into ~/.m2 as dev.servirtium:vcr - [.NET](https://servirtium.dev/languages/dotnet/): Ships: Servirtium.Vcr.2.0.0-alpha.20.nupkg (net8.0 + net48, eight RIDs); use the release directory as a local NuGet feed - [Rust](https://servirtium.dev/languages/rust/): No crates.io package: Cargo git dependency on the release tag, plus the release native library - [Ruby](https://servirtium.dev/languages/ruby/): No RubyGems package: Bundler git source on the release tag (glob: 'ruby/*.gemspec'), plus the release native library - [JavaScript and TypeScript](https://servirtium.dev/languages/javascript/): Ships: servirtium-vcr-2.0.0-alpha.20.tgz (npm tarball, eight natives bundled: linux x64/arm64 glibc and musl, macOS x64/arm64, Windows x64/arm64) - [Dart (and Flutter)](https://servirtium.dev/languages/dart/): No pub.dev package: pub git dependency on the release tag (path: dart), plus the release native library - [PHP](https://servirtium.dev/languages/php/): Not on Packagist. Composer path repository onto a checkout of the tag, plus the release native library - [Haskell](https://servirtium.dev/languages/haskell/): Not on Hackage. Cabal project against a checkout of the tag, plus the release native library - [Elixir](https://servirtium.dev/languages/elixir/): Not on Hex. Mix git dependency (sparse: elixir) plus a NIF app built from the release library by erlang/build-nif-app.sh - [Pharo (Smalltalk)](https://servirtium.dev/languages/pharo/): Load the Tonel sources at the tag with Metacello + the release native library - [Nim](https://servirtium.dev/languages/nim/): Vendor the source at the tag (--path) + link the release native library - [Zig](https://servirtium.dev/languages/zig/): Vendor servirtium.zig from the tag + link the release native library in your build.zig - [Lua (Lua 5.4 C extension)](https://servirtium.dev/languages/lua/): Two source files at the tag, compiled against the release native library - [Erlang](https://servirtium.dev/languages/erlang/): Not on Hex. Build servirtium_nif + servirtium_erl from the release library with erlang/build-nif-app.sh - [Gleam](https://servirtium.dev/languages/gleam/): Not on Hex. Gleam path dependency onto a checkout of the tag, plus a NIF app built from the release library - [LFE](https://servirtium.dev/languages/lfe/): Not on Hex. Compile one .lfe file with lfec next to a NIF app built from the release library - [C](https://servirtium.dev/languages/c/): Vendor servirtium.h + servirtium.c at the tag, plus the native library from the release - [C++](https://servirtium.dev/languages/cpp/): Vendor servirtium.hpp + servirtium.h + servirtium.c at the tag, plus the native library - [Crystal](https://servirtium.dev/languages/crystal/): Shard from the git tag (github: dependency) + release native library - [D](https://servirtium.dev/languages/d/): Clone at the tag (dub add-local or plain dmd -I) + release native library - [Julia](https://servirtium.dev/languages/julia/): Pkg.add by git URL at the tag (subdir julia) plus the native library from the release; not in the General registry - [Janet](https://servirtium.dev/languages/janet/): jpm install from git at the tag, plus the native library from the release; not in a Janet registry - [Swift](https://servirtium.dev/languages/swift/): Ships: servirtium-vcr-swift-v2.0.0-alpha.20.artifactbundle.zip, pulled by SwiftPM from: "2.0.0-alpha.20" - [Kotlin](https://servirtium.dev/languages/kotlin/): Vendor: install the release jar, then build the Kotlin layer (dev.servirtium:vcr-kotlin) from the tag; the layer is not a release asset - [Scala](https://servirtium.dev/languages/scala/): Vendor: install the release jar, then build the Scala layer (dev.servirtium:vcr-scala) from the tag; the layer is not a release asset - [Clojure](https://servirtium.dev/languages/clojure/): Vendor: install the release jar, then build the Clojure layer (dev.servirtium:vcr-clojure) from the tag; the layer is not a release asset - [Groovy](https://servirtium.dev/languages/groovy/): Vendor: install the release jar, then build the Groovy layer (dev.servirtium:vcr-groovy) from the tag; the layer is not a release asset - [F#](https://servirtium.dev/languages/fsharp/): Uses the release Servirtium.Vcr.2.0.0-alpha.20.nupkg (no F#-specific package exists); copy the one file Servirtium.fs for the combinators ## Features - [Recording-rules footer](https://servirtium.dev/features/#recording-rules-footer): An opt-in table at the end of a tape listing what the test left out or rewrote, so a reader knows what the recording does not show. - [Record and playback modes](https://servirtium.dev/features/#record-and-playback): Playback replays a tape with no network; record forwards to a live upstream and captures the exchange; each server has its own handle and port. - [Drift detection](https://servirtium.dev/features/#drift-detection): Re-record against the live service and fail if the new tape differs from the committed one, so API changes show up as a git diff. - [Rewrite upstream base](https://servirtium.dev/features/#rewrite-upstream-base): Keeps the client on the recorder when a service writes its own absolute URLs, and writes {{baseUrl}} on the tape so playback works on any port. - [Forward host](https://servirtium.dev/features/#forward-host): Record mode can send the upstream the Host header the client sent, for services that check URLs against the Host they were addressed on. - [Upstream CA and TLS](https://servirtium.dev/features/#upstream-ca-file): Verify an https upstream against your own CA file while recording, and serve the VCR itself over https (TLS 1.3) from a PEM certificate and key. - [License notice](https://servirtium.dev/features/#license-notice): Put the licence or terms of the recorded service at the top of every tape, so anyone reading or replaying it sees them. - [Commit and discard](https://servirtium.dev/features/#commit-discard): A recording becomes a tape only when you commit it; closing a record VCR without commit or discard writes nothing and raises. - [Matching and outcomes](https://servirtium.dev/features/#matching-and-outcomes): Strict method and path matching after RFC 3986 normalization, request headers and body compared when the tape records them, opt-in semantic and strict modes, and a numbered outcome for every request. - [Match-multiple and match-header](https://servirtium.dev/features/#match-multiple-and-match-header): Opt-in reusable, order-independent playback, and matching on one named request header instead of the whole header block. - [Playback range](https://servirtium.dev/features/#playback-range): Replay only interactions from..to of a tape, so one recorded journey serves many tests. - [Replay diagnostics](https://servirtium.dev/features/#replay-diagnostics): A side channel on the VCR handle that carries rich mismatch reports (closest candidate, first real difference, request-header section) to the test, independently of the HTTP client. - [The VCR's own address on a tape](https://servirtium.dev/features/#vcr-address-placeholders): {{baseUrl}}, {{request.host}} and {{request.scheme}} stand for the VCR's address in both the recorded request and the recorded response, so a tape replays on any port. - [Static content and untaped paths](https://servirtium.dev/features/#static-content-and-untaped): Serve a path prefix from disk beside the tape, and answer incidental paths such as /favicon.ico with a bare 404 that never touches the tape. - [Notes on a tape](https://servirtium.dev/features/#notes): Attach a titled note to the next recorded interaction; it is written as a ## [Note] block that playback ignores. - [NTLM and Negotiate](https://servirtium.dev/features/#ntlm-and-negotiate): Record mode pairs each client connection with its own upstream connection, so NTLM and Negotiate handshakes record and replay; the pre-recorded/ntlm suite shows how. - [.NET Framework 4.8](https://servirtium.dev/features/#dotnet-framework-48): The Servirtium.Vcr package targets net48 as well as net8.0: the Windows engine is copied for you, there is no 32-bit engine, and CreateClientHandler is not available. - [Header presets and what a recording keeps](https://servirtium.dev/features/#header-presets): One-call opt-in rules for credentials, hop-by-hop headers, cloud tracing headers and client noise; a recording otherwise keeps every header as sent. - [Structured redaction](https://servirtium.dev/features/#structured-redaction): Redact a named header, query parameter or JSON field when the tape is written, or any text by pattern; unredact on playback; or collapse a pattern across the whole tape. - [Named secret callbacks](https://servirtium.dev/features/#named-secret-callbacks): Your code decides which fields are secrets and names them at record time, then supplies the real values at playback; the tape holds only names. - [Stable order](https://servirtium.dev/features/#stable-order): Opt-in sorting of JSON keys, chosen JSON arrays and response headers at write time, so a service that varies its order still re-records byte-identically. - [Pretty JSON and XML](https://servirtium.dev/features/#pretty-json-xml): Readable, indented JSON and XML bodies on the tape, and canonical-form matching of JSON and XML requests on playback. - [Volatile values](https://servirtium.dev/features/#volatile-values): Declare where per-run values sit; the tape holds numbered tokens, playback binds the live values, and drift detection ignores them. - [Substitute, placeholders and request-header tokens](https://servirtium.dev/features/#substitute-and-placeholders): Playback-side rewriting of replayed responses: your own placeholders via Substitute, the VCR's own address via {{baseUrl}}, and a live request header echoed back. - [Binary bodies and encodings](https://servirtium.dev/features/#binary-bodies-and-encodings): Binary bodies are base64 on the tape, text bodies keep their exact bytes (CRLF included), gzip is decoded, and chunking never reaches the tape. - [The servirtium CLI: serve and check](https://servirtium.dev/features/#cli-serve-check): A self-contained binary that replays tapes as a live stub server and lints them. - [HAR import and export](https://servirtium.dev/features/#har-import-export): Turn a HAR 1.2 capture (Chrome DevTools, Fiddler, Charles, Postman) into a tape, and a tape back into HAR. - [Bruno: convert and import](https://servirtium.dev/features/#bruno-convert-and-import): Turn a Bruno collection's saved examples into tapes with no network, or fire its requests through record mode to hydrate a tape from a live service. - [Platforms and release](https://servirtium.dev/features/#platforms-and-release): The platform matrix the engine is cross-built for, from one Linux host, and how a tag becomes a release. - [The tape format](https://servirtium.dev/features/#tape-format): The Servirtium markdown tape as the emitter writes it today: interactions, an optional licence notice, volatile-values block and rules footer, {{tokens}} and base64 bodies. - [Packaging and get-package.sh](https://servirtium.dev/features/#packaging-and-get-package-sh): What a release actually ships, how to build any language's package from the tag with get-package.sh, and the platform matrix. - [Three test layers](https://servirtium.dev/features/#three-test-layers): Every language has a .package.ae, a .tests.ae and a .example.ae, answering three different questions, on top of the core's own pure-Aether tests. - [SDK harnesses](https://servirtium.dev/features/#sdk-harnesses): A vendor SDK's own test suite, unchanged, with Servirtium in the middle of its HTTP; today one harness, the Azure SDK for .NET Blob Storage tests against Azurite. - [Pre-recorded tapes](https://servirtium.dev/features/#pre-recorded): Re-usable tapes of real services' HTTP APIs: 64 services recorded through testcontainers (tapes shipped for 57), a Joomla API suite, an NTLM suite and a converted Bruno collection. - [The C ABI](https://servirtium.dev/features/#c-abi): 99 exported functions, all prefixed aether_vcr_embed_ and all taking an opaque per-server handle; every binding is a thin wrapper over them. ## Optional - [Source repository](https://github.com/servirtium/servirtium-vcr): the engine, all bindings, docs and tests. - [Release v2.0.0-alpha.20](https://github.com/servirtium/servirtium-vcr/releases/tag/v2.0.0-alpha.20): native libraries, jar, nupkg, npm tarball, Swift artifact bundle. - [Other and earlier implementations](https://servirtium.dev/implementations/): http4k and the earlier per-language libraries. - [Blog](https://servirtium.dev/blog/)