Using AI with Intention, the Reaktiv Way

Detail of Auguste Rodin's sculpture The Gates of Hell, showing The Thinker seated at center with his chin resting on his hand, surrounded by a crowded relief of writhing, anguished human figures and a row of small sculpted heads above.

For better or for worse, AI is moving fast, but we can still afford to be intentional and mindful about its use. We recently took some time to pause and explore some common AI use cases and their impact on our work. We’re sharing our thinking here in case it’s useful to other teams working through the same questions.

Still the Reaktiv way

Years ago, we wrote a short set of internal principles for how we work together and with our clients and partners called The Reaktiv Way. Two of those principles turn out to say most of what needs saying about AI. Our job is to evaluate it as the workplace changes, and AI, whether we like it or not, is changing the workplace.

Automate where possible

Automate routine tasks to free up time for more complex and meaningful work. When we automate the easy stuff, we get to spend more time on what we like the most.
—The Reaktiv Way

AI can be very useful for running automated tasks, and we’re already leveraging this ability for security, regression testing, and more. Automating problem-solving, though, can lead to uncurbed complexity and stale ideas. More details about these AI pitfalls below.

Prioritize people

While we love technology, it exists to serve the people who use it. Our focus should always be on creating intuitive user experiences for our clients and their users. Additionally, we must treat each other well, which helps us do better work and enjoy what we do.
—The Reaktiv Way

Prioritizing people in the context of AI can mean:

  • Curbing the complexity of AI-generated code for the benefit of contributors, reviewers, and maintainers.
  • Writing like a busy human rather than a verbose agent (see “Second-order negative” below).
  • Recognizing that quality written communication shares the burden of passing information via both thoughtful writing and attentive reading. Verbose and confusing AI-generated documents push that burden entirely to the reader.

AI pitfalls in web development

LLMs love to reinvent the wheel

Giving full rein to an LLM and asking it to solve a problem often leads to a working solution, but not necessarily a desirable solution. Developers report excessive complexity, which can make working on the codebase or reviewing a PR much more challenging. Try to stay in control of the exploration by approving a high-level solution and building incrementally, giving yourself plenty of opportunities to course correct to reach simple, elegant, efficient code.

Losing sight of context

When development relies too much on LLMs, developers become less familiar with the codebase over time, and lose context for why and how code was written the way that it was. Developers can much more easily troubleshoot, extend, or debug code that they wrote themselves or update regularly.

LLMs can’t innovate

LLMs are next-token predictors and they’re really good at it, but this capability is based on historical patterns. Their output may feel fresh and innovative, but by design, it cannot be: it will always be the result of non-deterministic combinations. True innovation relies on problem exposure, incubation, and trial and error inside a human mind.

Don’t let LLMs prime you

As humans, when faced with a problem, we have a tendency to fall in love with the first solution we come up with. When relying on LLMs for ideas, we run the risk of limiting our horizons by a prompt’s output.

One way to avoid this is to specifically ask the LLM to generate and evaluate multiple solutions instead of providing one single “best” solution. If you already have your own idea in mind, run it by the LLM to check for gaps.

Writing for others

By design, LLMs are verbose, and while that’s what an undergrad student might be optimizing for, it can introduce some friction in our everyday interactions.

Second-order negative

In his 2022 essay How to communicate effectively as a developer, Karl Sutt writes:

Low resolution, shallow writing is first-order positive, second-order negative.

Low-resolution writing is quick for the writer but offloads the work onto the reader: with little context, too many pronouns, and unclear references, the reader has to spend extra energy to understand what is being communicated.

High-resolution writing takes more time and effort upfront, but makes the reader do less work. It supplies the context, the symptom, what was tried, and what’s needed, so the reader can act immediately.

AI writing is often low resolution:

  • Very easy to generate
  • Verbose
  • Makes a lot of assumptions/is very opinionated
  • Reads like a slop grenade: a copy-and-paste of a verbatim LLM response.

This kind of writing is bad enough for documentation or PRs, but it is unacceptable for client and peer-to-peer communication.

The time we don’t take to make our writing high-resolution is offloaded to the reader. High-resolution writing comes from a place of service and unselfishness.

Meaning and fun: Don’t let AI solve your puzzles

I’ve managed developers for a decade, and one thing I’ve noticed among good devs is that they are creative problem solvers and love “puzzles.” Without this creative and playful dimension, it is harder for devs to find their flow state: Csikszentmihalyi’s concept of flow depends on a delicate balance between confidence and challenge.

Our most challenging work is where we have opportunities to grow confidence and learn. We should be careful not to let LLMs take that critical work over and instead continue to push ourselves, even as we use LLMs as a tool.

An invitation to reflect

None of this means that we should stop using AI altogether. We are collectively finding a way to use AI with discernment and in alignment with our values and the Reaktiv way. If your team is working through the same questions, we’d love to hear how you’re approaching them.

(Featured image: Auguste Rodin’s The Gates of Hell, featuring The Thinker (Le Penseur), Photo by MuffinLand from Pexels)

Get the latest from Reaktiv