Skip to content

The Deska blog

Code Katas in the Agent Era: Practice What Matters

Learn how to adapt code katas for the age of AI agents. Shift your focus from syntax to system design and architectural oversight in your practice.

10 min read

The concept of code katas has long been a staple of software craftsmanship, providing developers with repeatable exercises to sharpen their technical skills. However, as artificial intelligence begins to handle the boilerplate and basic logic of our applications, we must redefine what it means to perform code katas in the agent era. The goal of practice is no longer just about memorizing syntax or standard library methods. Instead, it is about learning how to direct, audit, and integrate the output of autonomous agents into a cohesive system.

Traditional katas often focused on implementing a specific algorithm like a bowling game scorer or a string calculator. In the modern landscape, an AI agent can solve these in seconds. To remain relevant, your practice sessions should evolve to emphasize high level design, test driven development with AI assistance, and the management of complex state cycles.

The Shift from Implementation to Orchestration

In the past, the value of a kata was found in the "muscle memory" of writing code. You would repeat the same exercise dozens of times until the solution became intuitive. When you introduce agents into this workflow, the target of that intuition shifts. You are no longer just practicing how to write a loop; you are practicing how to define constraints for an intelligence that writes the loop for you.

Practicing in this new era requires a different set of tools and mental models. You need to be able to see the entire context of your project to understand how an agent is affecting the codebase. This is where an expansive canvas approach becomes useful. By laying out your terminal, your editor, and your agent output side by side, you can observe the ripples of every change the agent makes.

Refining the Problem Statement

The first skill to practice in the agent era is defining clear, unambiguous requirements. If an agent produces incorrect code, it is often because the initial prompt or "kata definition" was too vague. Your practice sessions should involve:

  • Defining clear interfaces before any logic is written.
  • Writing failing tests and asking the agent to pass them.
  • Providing the agent with specific architectural constraints, such as ensuring a function is pure or a class is immutable.
  • Critiquing the agent's output for edge cases it might have missed.

Comparative Practice Environments

Choosing where you practice your katas affects how well you can integrate AI into your workflow. Most developers are used to a linear IDE experience, but the agent era demands more space.

Environment TypeAgent IntegrationVisibilityBest For
Standard IDEPlugin basedSingle tab focusLinear coding
Web PlaygroundsHighIntegratedQuick snippets
Deska CanvasSide by side panelsFull system viewComplex architectural katas
CLI ToolsTerminal isolatedLowScripting and automation

By using panels to keep your tests, your live code, and multiple agents visible at once, you transform the kata from a solo exercise into a leadership exercise. You are managing a small team of agents to see which one solves the problem with the most efficient Big O complexity or the cleanest architectural style.

Recommended Katas for the Modern Era

To get the most out of your practice, move away from simple math problems and toward systems level challenges. Here are three types of katas designed for the agent era.

The Refactoring Kata with Multiple Agents

Instead of writing code from scratch, start with a messy, legacy codebase. Use different agents like Claude Code or Codex CLI to propose refactors. Run these agents side by side in terminal panels and compare their suggestions. Your task is to evaluate which agent maintained better encapsulation and where they introduced potential regressions. This helps you develop an eye for "AI hallucinations" in logic.

The API Design Kata

Ask an agent to generate a REST or GraphQL schema based on a rough description. Then, use Ask Deska to help you set up the environment and run commands to scaffold the project. Use the browser widgets to test the endpoints as they are being built. The focus here is on the speed of iteration and the quality of the contract between the frontend and backend.

The Observability Kata

Practice building a small service where the primary goal is not just working code, but highly observable code. Instruct your coding agents to implement comprehensive logging, telemetry, and error handling. Verify the output on your mobile device using a secure relay to see how the system behaves under different network conditions when you are away from your main desk.

Managing the Workflow and Privacy

When practicing with agents, data privacy and local execution become paramount. You do not want your experimental katas or private API keys to be managed insecurely. A local-first approach ensures that your workspace, your code, and your session data stay on your machine.

When you use your own API keys for inference, you gain full control over the costs and the models used. This allows for a lifetime tier of practice where the workspace remains free and you only pay for the tokens you actually consume during your katas.

Integrating Voice in Practice

Sometimes the best way to handle a complex refactoring step in a kata is to talk through it. Using voice commands to drive your workspace allows you to stay in the flow state. You can tell your environment to "open a new terminal and run the test suite" while you are still reading the code generated by an agent. This multi modal interaction is the hallmark of the next generation of developer productivity.

FAQ

How to use AI for code katas?

Using AI for code katas involves shifting your focus to architectural oversight. Instead of writing every line manually, you should define the tests and constraints, then use agents to generate implementations which you must then audit and refactor for quality.

Is coding practice still relevant with AI?

Yes, coding practice is more relevant than ever but the skills have changed. You must practice system design, prompt engineering, and code auditing. Understanding the underlying logic remains essential for verifying that the AI generated code is secure and efficient.

Best tools for AI pair programming?

The best tools provide a wide view of your system. Look for environments that support side by side agent threads and allow you to see your editor, terminals, and browser simultaneously. This helps you monitor the agent actions in real time.

Start Practicing Today

The transition to agent assisted development is a significant shift in the software industry. By adapting your practice routines now, you ensure that your skills remain sharp in an automated world. Use tools that give you the space to think and the power to orchestrate multiple intelligences at once.

If you are ready to build your own agent era practice environment, download Deska for Mac, Windows, or Linux and start organizing your workspace. Experience the freedom of an infinite canvas where your code and your agents live together.