Entropy Tolerance: The Most Important Software Question You Aren't Asking

Bookmark
Rate this content

"Entropy Tolerance" is an original idea to help technical leaders navigate AI adoption decisions. This concept measures how much AI-generated uncertainty your systems and processes can handle before they break. Learn this decision-making framework to guide your teams on when to embrace AI and when to proceed with caution.

This talk has been presented at JSNation US 2025, check out the latest edition of this JavaScript Conference.

FAQ

The main topic of the talk is 'entropy tolerance,' an important question to consider when integrating AI into software development and business processes.

Deterministic software always produces the same output for a given set of inputs, while nondeterministic software may produce different outputs for the same inputs due to randomness or probabilistic behavior.

Entropy tolerance measures how much randomness a process can handle. Understanding it helps determine when and how to integrate AI into processes, ensuring safety and reliability.

Shannon entropy, named after Claude Shannon, relates to the average uncertainty in a value across a probability distribution, and it helps in understanding the randomness in AI processes.

The framework involves assessing a process's tolerance to randomness, determining the value of AI integration, and deciding on the level of human involvement needed to ensure accuracy and reliability.

Examples include medical diagnosis systems, financial transaction processing, and security vulnerability auditing, where accuracy is critical and AI should be used with human oversight.

Processes with high entropy tolerance include software prototyping, marketing brainstorming, and draft content creation, where inaccuracies are less critical.

Nondeterministic AI can produce unpredictable outputs, which poses high risks in critical systems like autopilots that require consistent and reliable performance.

AI can be integrated safely by assessing the process's entropy tolerance, using AI-human collaboration where necessary, and ensuring human oversight in critical areas.

The key question is 'What is the process's entropy tolerance?' This helps determine the appropriate level of AI integration and the need for human oversight.

Tony Alicea
Tony Alicea
20 min
20 Nov, 2025

Comments

Sign in or register to post your comment.
Video Summary and Transcription
In the Talk, the focus is on understanding software determinism and the implications for AI implementation. It delves into the importance of trustworthiness, reliability, and consistency in deterministic systems. The discussion also explores non-deterministic behavior in AI, emphasizing the pros and cons of unpredictability. The significance of measuring entropy tolerance in AI integration and business processes is highlighted, along with the value assessment based on tolerance levels. Additionally, the Talk touches on hybrid collaboration in AI utilization, showcasing examples of low, medium, and high entropy tolerance scenarios, and the role of AI in security auditing and high-tolerance tasks.

1. Understanding Software Determinism

Short description:

In software development, discussing the missing question in implementing AI, specifically focusing on entropy tolerance. Differentiating between deterministic and nondeterministic software, highlighting the importance of trustworthiness, reliability, and consistency in deterministic systems.

In software development, there's a lot of questions we ask ourselves. Who are my users? What are the requirements for this feature? What's the stack that I should use? How should I deploy? Where should I deploy? And in the age of AI, I think there's a missing question. And so we're going to discuss here in this talk what that question is and how it can help us make better choices when it comes to implementing AI, utilizing AI, in software. So this talk is about entropy tolerance, the most important software question you aren't asking.

So for starters, we need to talk about the difference between deterministic and nondeterministic software. When we say the word determinism, that means that when we give a system a certain set of inputs, we always get the same outputs if we give the same inputs. The entire digital age is built on the trustworthiness of deterministic processes. For example, just a very simple example. Let's think about a calculator. Let's suppose you have a calculator that just adds two numbers. So I say what's one plus one? And I get out a two. That's an expected answer. It's the correct one. And the next time I use the calculator, if I give it those same two inputs, I get the same output. The internal mechanisms of the system are deterministic.

And for that reason, they are consistent, reliable, and trustworthy. Computational devices, the systems that we've used now for decades, are deterministic, at least at the abstraction level that we use them at. And that has allowed the digital age to flourish. And we rely on them. For example, if I was thinking about an autopilot on an airplane, it relies on a deterministic system. The autopilot gets inputs from the sensors on the plane and makes decisions. And we don't even think about it. We board a plane, and we fly to where we need to go, and the pilot may use autopilot for a portion of the time. We don't know. We're not bothered by it. Deterministic systems are testable and reliable and trustworthy. And now we introduce the idea of nondeterminism. So nondeterminism is the property of a computational system where the same input may produce different outputs. And that could be due to some kind of randomness, probabilistic behavior, hidden state. There could be any number of reasons why a system is nondeterministic.

2. Non-Deterministic AI and Business Decisions

Short description:

Exploring non-deterministic behavior in large language models and AI, using a calculator analogy to understand the pros and cons of unpredictability in results.

But for our purposes, let's use the same calculator example, but an example that's kind of more useful for thinking about large language models and AI. Let's suppose I have the same idea of a calculator that just adds two numbers, and I can give it inputs. What's one plus one? But the calculator, rather than doing a deterministic process, carries out a look at every possible answer that's been recorded out there. We'll say that it's a corpus of possible answers. Most of the answers are correct. Some of them are not. And the way this calculator functions is that when you give it two inputs, it essentially rolls a pair of dice and chooses from that corpus, from that set of possible answers that have been recorded in its memory, to give us then a final result.

Now, the first time we use the calculator, it looks accurate. But the next time we use the calculator, after enough times, eventually, we may roll a die and get an incorrect answer selected because the internals of the system have no concept of correct or incorrect, just probabilistic behavior based on a large set of possibilities. So we end up with a different output for the same inputs. That's non-deterministic behavior. In this case, due to probabilistic or stochastic behavior, it's inconsistent.

Here's the business question. How would you feel about a very fast calculator that sometimes, unpredictably, might give you the wrong answer? What are the pros and cons that you're weighing with the usage of this calculator? Well, it depends really on what it is you're trying to calculate. It's not about the calculator so much, but the process that you're using the calculator to support. If the process that you're using to support can handle things being incorrect every now and again, then the speed of the calculator might be a worthwhile risk.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Building a Voice-Enabled AI Assistant With Javascript
JSNation 2023JSNation 2023
21 min
Building a Voice-Enabled AI Assistant With Javascript
Top Content
This Talk discusses building a voice-activated AI assistant using web APIs and JavaScript. It covers using the Web Speech API for speech recognition and the speech synthesis API for text to speech. The speaker demonstrates how to communicate with the Open AI API and handle the response. The Talk also explores enabling speech recognition and addressing the user. The speaker concludes by mentioning the possibility of creating a product out of the project and using Tauri for native desktop-like experiences.
The Ai-Assisted Developer Workflow: Build Faster and Smarter Today
JSNation US 2024JSNation US 2024
31 min
The Ai-Assisted Developer Workflow: Build Faster and Smarter Today
Top Content
AI is transforming software engineering by using agents to help with coding. Agents can autonomously complete tasks and make decisions based on data. Collaborative AI and automation are opening new possibilities in code generation. Bolt is a powerful tool for troubleshooting, bug fixing, and authentication. Code generation tools like Copilot and Cursor provide support for selecting models and codebase awareness. Cline is a useful extension for website inspection and testing. Guidelines for coding with agents include defining requirements, choosing the right model, and frequent testing. Clear and concise instructions are crucial in AI-generated code. Experienced engineers are still necessary in understanding architecture and problem-solving. Energy consumption insights and sustainability are discussed in the Talk.
The Rise of the AI Engineer
React Summit US 2023React Summit US 2023
30 min
The Rise of the AI Engineer
Top Content
Watch video: The Rise of the AI Engineer
The rise of AI engineers is driven by the demand for AI and the emergence of ML research and engineering organizations. Start-ups are leveraging AI through APIs, resulting in a time-to-market advantage. The future of AI engineering holds promising results, with a focus on AI UX and the role of AI agents. Equity in AI and the central problems of AI engineering require collective efforts to address. The day-to-day life of an AI engineer involves working on products or infrastructure and dealing with specialties and tools specific to the field.
AI and Web Development: Hype or Reality
JSNation 2023JSNation 2023
24 min
AI and Web Development: Hype or Reality
Top Content
This talk explores the use of AI in web development, including tools like GitHub Copilot and Fig for CLI commands. AI can generate boilerplate code, provide context-aware solutions, and generate dummy data. It can also assist with CSS selectors and regexes, and be integrated into applications. AI is used to enhance the podcast experience by transcribing episodes and providing JSON data. The talk also discusses formatting AI output, crafting requests, and analyzing embeddings for similarity.
Web Apps of the Future With Web AI
JSNation 2024JSNation 2024
32 min
Web Apps of the Future With Web AI
Web AI in JavaScript allows for running machine learning models client-side in a web browser, offering advantages such as privacy, offline capabilities, low latency, and cost savings. Various AI models can be used for tasks like background blur, text toxicity detection, 3D data extraction, face mesh recognition, hand tracking, pose detection, and body segmentation. JavaScript libraries like MediaPipe LLM inference API and Visual Blocks facilitate the use of AI models. Web AI is in its early stages but has the potential to revolutionize web experiences and improve accessibility.
The AI-Native Software Engineer
JSNation US 2025JSNation US 2025
35 min
The AI-Native Software Engineer
Software engineering is evolving with AI and VIBE coding reshaping work, emphasizing collaboration and embracing AI. The future roadmap includes transitioning from augmented to AI-first and eventually AI-native developer experiences. AI integration in coding practices shapes a collaborative future, with tools evolving for startups and enterprises. AI tools aid in design, coding, and testing, offering varied assistance. Context relevance, spec-driven development, human review, and AI implementation challenges are key focus areas. AI boosts productivity but faces verification challenges, necessitating human oversight. The impact of AI on code reviews, talent development, and problem-solving evolution in coding practices is significant.

Workshops on related topic

AI on Demand: Serverless AI
DevOps.js Conf 2024DevOps.js Conf 2024
163 min
AI on Demand: Serverless AI
Top Content
Featured WorkshopFree
Nathan Disidore
Nathan Disidore
In this workshop, we discuss the merits of serverless architecture and how it can be applied to the AI space. We'll explore options around building serverless RAG applications for a more lambda-esque approach to AI. Next, we'll get hands on and build a sample CRUD app that allows you to store information and query it using an LLM with Workers AI, Vectorize, D1, and Cloudflare Workers.
AI for React Developers
React Advanced 2024React Advanced 2024
142 min
AI for React Developers
Top Content
Featured Workshop
Eve Porcello
Eve Porcello
Knowledge of AI tooling is critical for future-proofing the careers of React developers, and the Vercel suite of AI tools is an approachable on-ramp. In this course, we’ll take a closer look at the Vercel AI SDK and how this can help React developers build streaming interfaces with JavaScript and Next.js. We’ll also incorporate additional 3rd party APIs to build and deploy a music visualization app.
Topics:- Creating a React Project with Next.js- Choosing a LLM- Customizing Streaming Interfaces- Building Routes- Creating and Generating Components - Using Hooks (useChat, useCompletion, useActions, etc)
Building Full Stack Apps With Cursor
JSNation 2025JSNation 2025
46 min
Building Full Stack Apps With Cursor
Featured Workshop
Mike Mikula
Mike Mikula
In this workshop I’ll cover a repeatable process on how to spin up full stack apps in Cursor.  Expect to understand techniques such as using GPT to create product requirements, database schemas, roadmaps and using those in notes to generate checklists to guide app development.  We will dive further in on how to fix hallucinations/ errors that occur, useful prompts to make your app look and feel modern, approaches to get every layer wired up and more!  By the end expect to be able to run your own AI generated full stack app on your machine!
Please, find the FAQ here
Vibe coding with Cline
JSNation 2025JSNation 2025
64 min
Vibe coding with Cline
Featured Workshop
Nik Pash
Nik Pash
The way we write code is fundamentally changing. Instead of getting stuck in nested loops and implementation details, imagine focusing purely on architecture and creative problem-solving while your AI pair programmer handles the execution. In this hands-on workshop, I'll show you how to leverage Cline (an autonomous coding agent that recently hit 1M VS Code downloads) to dramatically accelerate your development workflow through a practice we call "vibe coding" - where humans focus on high-level thinking and AI handles the implementation.You'll discover:The fundamental principles of "vibe coding" and how it differs from traditional developmentHow to architect solutions at a high level and have AI implement them accuratelyLive demo: Building a production-grade caching system in Go that saved us $500/weekTechniques for using AI to understand complex codebases in minutes instead of hoursBest practices for prompting AI agents to get exactly the code you wantCommon pitfalls to avoid when working with AI coding assistantsStrategies for using AI to accelerate learning and reduce dependency on senior engineersHow to effectively combine human creativity with AI implementation capabilitiesWhether you're a junior developer looking to accelerate your learning or a senior engineer wanting to optimize your workflow, you'll leave this workshop with practical experience in AI-assisted development that you can immediately apply to your projects. Through live coding demos and hands-on exercises, you'll learn how to leverage Cline to write better code faster while focusing on what matters - solving real problems.
Free webinar: Building Full Stack Apps With Cursor
Productivity Conf for Devs and Tech LeadersProductivity Conf for Devs and Tech Leaders
71 min
Free webinar: Building Full Stack Apps With Cursor
Top Content
WorkshopFree
Mike Mikula
Mike Mikula
In this webinar I’ll cover a repeatable process on how to spin up full stack apps in Cursor.  Expect to understand techniques such as using GPT to create product requirements, database schemas, roadmaps and using those in notes to generate checklists to guide app development.  We will dive further in on how to fix hallucinations/ errors that occur, useful prompts to make your app look and feel modern, approaches to get every layer wired up and more!  By the end expect to be able to run your own ai generated full stack app on your machine!
Working With OpenAI and Prompt Engineering for React Developers
React Advanced 2023React Advanced 2023
98 min
Working With OpenAI and Prompt Engineering for React Developers
Top Content
Workshop
Richard Moss
Richard Moss
In this workshop we'll take a tour of applied AI from the perspective of front end developers, zooming in on the emerging best practices when it comes to working with LLMs to build great products. This workshop is based on learnings from working with the OpenAI API from its debut last November to build out a working MVP which became PowerModeAI (A customer facing ideation and slide creation tool).
In the workshop they'll be a mix of presentation and hands on exercises to cover topics including:
- GPT fundamentals- Pitfalls of LLMs- Prompt engineering best practices and techniques- Using the playground effectively- Installing and configuring the OpenAI SDK- Approaches to working with the API and prompt management- Implementing the API to build an AI powered customer facing application- Fine tuning and embeddings- Emerging best practice on LLMOps