ai-agent

Vavr

Vʌvr (formerly called Javaslang) is a non-commercial, non-profit object-functional library that runs with Java 8+. It aims to reduce the lines of code and increase code quality.
6,161 stars672 forksJavaUpdated 8/14/2026100% free · open source
What it does

Vavr is a Java library that provides object-functional programming features to reduce code lines and increase code quality.

When to use it
  • When working with Java 8+ and needing functional programming features like monads, applicatives, and functors
  • When aiming to reduce boilerplate code in Java projects
  • When seeking to increase code quality and readability in Java applications
Ready-to-paste prompt
Use the following code to demonstrate a simple Vavr tuple: Tuple2<String, Integer> tuple = Tuple.of("hello", 1); System.out.println(tuple._1 + " " + tuple._2);
Heads up: Ensure you are using Java 8 or later, as Vavr relies on Java 8's functional programming features; older Java versions are not supported.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/vavr && curl -fsSL https://workflowstacks.com/api/skills/vavr/claude-skill -o ~/.claude/skills/vavr/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Vavr works
Codeflow
Free to inspect

Vavr is a very large Java project (~69k lines across 98 code files, plus 159 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, Apache-2.0 license, has a test suite.

Size
Very large codebase
~69k lines · 98 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Java/JVM
No API keys detected
Java 96%Scala 4%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    vavr/generator/Generator.scala
    Inside vavr/ — the main logic begins here
What's in each folder
vavr/Core code — the actual logic268 files
.github/CI / automation (GitHub Actions)7 files
.mvn/Tool / agent settings2 files
READMEHas testsDocumentedCI checksApache-2.0 licenseUpdated this month
Quick Actions
Details
Creator
vavr-io
Language
Java
Category
ai-agent
Published
1/30/2014

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.