New greener region discount. Save 3% on Upsun resource usage. Learn how.
LoginFree trial
FeaturesPricingBlogAbout us
Blog

SaaS startup Witty Works delivers AI-augmented DEI solution at scale

AIDEIDevOpsDjangojavamicroservicesPHPPythonSaaS applications
25 March 2024

Challenge

To find a platform that would provide the flexibility to scale project resources and better control costs for an innovative, AI-augmented, DEI digital language assistant

Solution

Migrating a natural language processing API project (Python, with Java Server) to the Upsun PaaS

Stack
AngularJS, Django, Java, PHP, Python, ReactJS

Results for Witty Works

  • More time to focus on code/innovation, without the need to hire dedicated DevOps staff
  • Highly flexible resource allocation to handle heavier workloads
  • Better able to optimize application performance through continuous profiling
  • Greater efficiencies through fully automated deployments for all 4 applications based on GitOps via GitHub
  • ~ 60 production deployments/month

Results for Witty Works SaaS clients

  • 60% reduction in time for human resources to create job descriptions
  • 57% reduction in time for marketing to create blog posts
  • 20% more candidate applications for recruitment

Inclusive language shifts company cultures, one user at a time

Advantage Group. Deutsche Bahn. Infineon. Publicis Media. Riverside Natural Foods. Swiss Life. Switzerland Federal Department of Defense, Civil Protection, and Sport DDPS. These diverse organizations all have something business-critical in common: the imperative to create and sustain an inclusive workplace culture. To help ensure inclusive language is applied at all organizational levels, they’ve made a decision to integrate Witty—an AI-augmented digital language assistant—into their diversity, equity, and inclusion (DEI) programs.

Developed on Platform.sh and the Upsun PaaS by startup Witty Works, Witty operationalizes organization-wide inclusion by simply and quickly detecting unconscious stereotypes and biases in written communication—giving feedback to users in real time. By enabling staff to consistently apply inclusive language based on corporate language rules, Witty has proven to shift individual behavior and company cultures.

Can’t wait to get to Witty’s technical bits? Here you go.

“Anchoring diversity and inclusion in the business world and global economy is becoming increasingly critical for reviving growth, accelerating innovation, reducing inequalities, and bolstering resilience.”*

World Economic Forum
January 2024

Diversity and inclusion: we can build software for that

When Witty Works CEO and Co-founder Nadia Fischer entered the tech industry 12 years ago, she felt energized and elated about the innovation she’d become a part of. But as time went on, she made an observation that gave her pause: her company lacked gender and geographic representation. “Without more diversity, I felt we were lacking perspectives,” muses Fischer. “More broadly, while there were initiatives underway designed to help women and people of color to enter the tech industry, they centered on telling these groups how they should behave differently to get into tech. That problem didn’t belong to them; it belonged to the companies spearheading the initiatives.”

In 2018, Fischer began to consult with and offer workshops to tech companies to further their diversity and inclusion initiatives. The result? “Disappointing,” she says. As companies proceeded to make DEI a box-checking, single-workshop exercise, Fischer dug into workplace research from Harvard Professor Frank Dobbin and from the University of Munich.

With the conviction that inclusive language builds inclusive cultures, Fischer knew there must be a software solution to help women, people of color, LGBTQIA+, persons with disabilities, and other communities gain inclusion parity. To determine just how to approach solving the software challenge, Fischer invited innovative developer and former colleague Lukas Kahwe Smith to join her team.

Startup success, dev challenges

When Witty Works CTO and Co-founder Smith joined the DEI-championing company in 2019, there weren’t any DevOps engineers. “I’m decent at server maintenance, but am not really an expert,” Smith explains. “Most importantly, I just didn't have the time to deal with it. So we adopted Platform.sh from the get-go.”

With the Platform.sh PaaS managing cloud infrastructure, data services, and security, Smith (flying solo) could focus his engineering energies on building and refining the Witty application. “I was quite happy using Platform.sh dev tools and my own Git workflows and tech stack,” shares Smith.

First, the team built a minimum viable software product that focused on inclusive language in job ads to ascertain if there would be market interest; there was. Then they initiated a financing round, and soon Witty Works was off and running.

That is, until Smith and team hit a bump. When they began to develop Witty’s machine-learning API in Python and Java, they found they couldn’t scale resources as flexibly as they needed to on Platform.sh alone.

“As a startup, resource allocation became an increasing challenge for us because you don’t want to waste money buying resources you’re not using,” Smith says. This conundrum became the catalyst for Smith’s exploration into other options.

Weighing alternative solutions

Smith and team set out to identify a robust solution to address their resource challenges. But during discovery, he soon learned the alternatives (see below), “would have required much more DevOps work.”

  1. Microsoft Azure. Smith’s team built a setup on Microsoft Azure. “It ran for a little bit, including some automation,” Smith explains. “But then things started to break, and even with access to technical staff, they couldn’t fix our setup. It became clear that going directly to Azure wasn’t a viable alternative.”
  2. Kubernetes, Massdriver, and Bunnyshell. The Witty Works dev team also looked into Massdriver and Bunnyshell migrations, both of which would have required the team to build their own Docker containers. “We even delved a bit into Kubernetes,” says Smith. “Any of these may have been viable, but would have covered only a subset of what Platform.sh does. And would have required much more effort on our side, especially to maintain security. We would have had to pay providers like Snyk to deal with Docker container security. All of this adds effort and costs.”

Before Smith made his final decision, he learned about Upsun, a new, fully managed, self-service PaaS powered by Platform.sh (then in alpha). “It sounded like Upsun would solve the resource challenges we were facing and could be a perfect fit for us,” says Smith.

Consider Upsun for these kinds of projects

  • Node.js, Python, Ruby, and Symfony
  • Multiapp, multidatabase, worker-heavy workloads
  • Workloads with complex runtime requirements, e.g., mix of runtimes, specific libraries

Upsun: getting started with newfound flexibility

A proof of concept on the Upsun PaaS became the testing ground for Smith and a Witty application, which he got up and running quickly. Smith’s “familiarity with Platform.sh came in handy,” he says.

“Anyone who has some level of knowledge about DevOps concepts and YAML syntax can get started with Upsun; it’s a fairly easy product for the amount of complexity it can handle. That’s the magic.”

Lukas Kahwe Smith

Lukas Kahwe Smith
CTO and Co-founder, Witty Works

Upsun offered Smith exactly what he’d been searching for: a platform to meet the resource demands of custom code, microservices, and AI-rich projects. He felt confident migrating the Witty production setup to the Upsun PaaS alpha in the first half of 2023. “The underlying technology was rock solid from day one,” shares Smith.

Witty from the inside, out

The Witty solution, consisting of four apps hosted on Upsun and Platform.sh, empowers client users, admins, and Witty Works linguists to detect and correct unconscious stereotypes and biases in written communication.

API - custom Python app, calls into a Java server

Witty Works’ natural language processing (NLP) API consists of a Python FastAPI custom application that handles the bulk of the NLP analysis using the spaCy library and the Witty Works’ custom rule engine, and also calls into a Java application—all hosted within a single Upsun project to ensure fast and secure internal network traffic. A custom machine-learning model using PyTorch (hosted on AzureML) is used for false-positive detection.

Admin tool - Python, configures admin rules

The rule editor is a custom Python Django Admin application used by Witty Works linguists to maintain the configuration for their NLP API rule engine. This application also handles validating the accuracy of the rules by calling into the NLP API to test if the rule behaves as intended.

Dashboard - PHP

DEI activities’ return on investment needs to be measurable and business-relevant. Through the Witty dashboard, staff can configure their individual and team writing highlighting; analytics provide organizations with insights into their teams' writing—and the most prevalent, unconscious team biases—to understand how behavior has shifted toward inclusion and prove how that shift has impacted their businesses.

Browser extension client - Javascript

The Witty browser extension, written in ReactJS, integrates into the browser to enable users to interact with the NLP API. Based on user privacy settings, the NLP API will review the text provided and automatically annotate it based on the personal and team configuration. Users are presented with a short learning bite on the bias underlying the given piece of text and are offered possible alternatives to choose from, along with the option to dive deeper into more learning content.

Example of how Witty flags unconscious bias in a user’s email

Upsun features speed Witty’s development

As one of Upsun’s first adopters, Smith’s experiences and vital feedback helped the Upsun team refine current product features and consider new ones. Here are the features currently most relevant to Witty’s development.

Flexible resources

Upsun’s flexible resources enable Witty Works developers to control their resources and users at both project and organizational levels, per application, per environment. Self-service, highly customizable, with no human intervention required, flexible resources address the team’s technology challenge and the financial challenge many startups face: making the most of every investment.

Horizontal scaling

The bulk of Witty’s business customers reside in Europe and North America. Over the course of a day, the load shifts into high gear for 16 hours, then winds down for 8 hours, punctuated by intermittent usage spikes. With this very predictable schedule —and real-time load metrics from the Upsun CLI—the dev team uses cron jobs to automate increases and decreases in the number of app instances according to this usage pattern.

“Upsun’s horizontal scaling enables us to scale up and down more elegantly to accommodate our load. And we can save a bit of money during the phases of the day when we don’t need much capacity and can basically run fewer servers.”

Lukas Kahwe Smith

timezone: "Europe/Zurich"
crons:
    # "Scale up at 07:30 on every day-of-week from Monday through Friday."
    upscale:
        spec: '30 7 * * 1-5'
        commands:
            start: |
                if [ -n "${UPSUN_CLI_TOKEN}" ]; then
                    upsun resources:set -y --count app:${APP_UP_SCALE},java:${LANGUAGE_UP_SCALE}
                fi
    # "Scale down at 23:30 on every day-of-week from Monday through Friday."
    downscale:
        spec: '30 23 * * 1-5'
        commands:
            start: |
                if [ -n "${UPSUN_CLI_TOKEN}" ]; then
                    upsun resources:set -y --count app:${APP_DOWN_SCALE},java:${JAVA_DOWN_SCALE}
                fi

Observability, Blackfire

With integrated, out-of-the-box Upsun observability tools—including Blackfire support for Python—Smith and team monitor every component of the Witty application, detect any errors and anomalies, then quickly identify and resolve issues before they become major blockers. With continuous profiling in the Upsun console, the dev team can also pinpoint which parts of their application consume the most resources, then make informed decisions about optimizing performance.

Security management

Upsun’s high levels of built-in security and compliance (including SOC 2 Type 2, PCI DSS Level 1)—fully automated and managed through the principles of the shared-responsibility model—give Smith’s team more time to focus on application code and innovation. No more server provisioning or security patching.

Through the Witty browser extension, Smith deals with sensitive data. Where that data is processed is paramount to Witty Works customers. “How we secure the data is a key question enterprise customers, in particular, ask during the due-diligence process,” explains Smith. “Business continuity through automated backups and deterministic deployment procedures that would enable us to migrate to a different data center in case of disaster are all things we have—thanks to core Platform.sh design principles.”

“Witty Works played a pivotal role in shaping Upsun’s trajectory, becoming not just users but co-designers whose crucial insights influenced Upsun’s development. They dove into the early phase with us, embracing Upsun features even before the UI was in place. Their direct engagement with our new scaling API enabled us to refine and mold its functionality. We’re continuing this collaborative journey, with their keen interest in upcoming features like auto-scaling and zero-downtime deployment.”

Augustin Delaporte
Vice President, Product Delivery
Platform.sh

What’s next: new capabilities open new opportunities

The Witty Works team continues to expand Witty’s capabilities and enhance user experience. Soon, an AngularJS-based Word add-in will enable users to highlight content directly in Word, whether working on their desktops or in a browser. A logical extension? Add-ins for company-wide communication channels like Outlook, Teams, and Slack. Available languages will extend beyond English and German to include French and Spanish, so the company can reach new markets. Based on research and trends, linguistic specialists will continue to build vocabularies based on research and trends to support specific communities.

“Inclusive language is a key driver for diversity and inclusion. To survive in a highly diverse, globalized world, it’s crucial for companies to pay attention to this. While not all have come to this realization, we’re opening more conversations, and I’m optimistic. To change behavior, you need to have it called out while you're doing it. Recognizing your own biases is what provides the ah-ha moments. I think that's really what makes Witty different.”

Nadia Fischer
CEO and Co-founder
Witty Works

“As the CTO of a still-small startup, I have both development and administrative responsibilities, so my time is limited,” Smith explains. “Moving to a platform that would have required more of my time to maintain the entire setup meant I would have had to reduce my time in other areas or hire someone part-time to take over some of those additional tasks.”

“With Upsun, we can focus our time and budget on our core technology rather than on DevOps. I’ve always said that Platform.sh was kind of the perfect tool for agencies; I think Upsun is kind of the perfect tool for early-stage startups.”

Lukas Kahwe Smith

Resources

 

About Witty Works

Through an AI-augmented tool staff use daily, Witty Works’ SaaS solution helps organizations build and strengthen diverse, inclusive teams who problem-solve and champion change through language.

Company data

Founded: 2018
Location: Zurich, Switzerland
Employees: 4

Industries

Consulting, Financial Services, Global Services, Industrial Products, Insurance, Logistics, Media, Manufacturing, Non-profit, Retail, Technology

Upsun Logo
Join the community