Programming with AI: Tools, Workflow and Lessons from Real Projects (2026)
Joshua Heller · April 25, 2025 · 15 min.
In 2026, programming with AI no longer means copying code snippets out of a chat window. A coding agent reads the whole codebase, plans a change, writes the code, runs the tests and submits the result as a pull request. The human sets the goal, checks the plan and decides on the merge. Working this way, teams ship noticeably faster. Letting the AI run without a plan and without review mostly produces mistakes faster.
We first published this article in April 2025. Back then it was about ChatGPT models in the browser and copy-and-paste into the IDE. Today, at TAISC in Karlsruhe, we work mainly with coding agents such as Claude Code and Cursor in our projects. For October 2026 we have therefore rewritten the article from scratch: with the tools we use, our current workflow and the mistakes we have learned from.
What has changed in programming with AI since 2025?
The biggest change is not a better model but a different way of working. The AI has moved from adviser to a team member that executes.
| 2024 to early 2025 | As of October 2026 | |
|---|---|---|
| Where does the AI work? | Chat window in the browser, autocomplete in the IDE | Agent in the terminal, the IDE, CI or the cloud |
| Context | Whatever you paste into the chat | The whole codebase plus project rules, docs and tickets |
| Output | A code suggestion the human integrates | A finished change including tests, as a pull request |
| Role of the human | Writes code, the AI helps | Defines the goal, reviews plan and diff, decides |
| Typical failure | Invented functions in the snippet | Oversized, hard-to-review changes without review |
Three things made this shift possible:
- Stamina: models now work autonomously across many steps without losing the thread. Complex features sometimes run for several hours at a time in our projects.
- Tools: agents may read files, run commands and start tests (tool calling).
- Connectivity: the Model Context Protocol (MCP) connects ticket systems, databases, documentation or a browser directly.
Adoption is there too. In the Stack Overflow Developer Survey 2025, 84 percent of respondents said they use or plan to use AI tools in development. At the same time, only 33 percent trusted the accuracy of the output. That gap between usage and trust is the core of this article: the question is no longer whether you program with AI, but how you do it so the result holds up.
Which AI is best for programming?
There is no single best tool. The major coding tools are now close in capability but differ in where and how you work with them. We deliberately use several in parallel. Our assessment as of October 2026:
| Tool | Type | Strengths | Limits | Good for |
|---|---|---|---|---|
| Claude Code (Anthropic) | Agent in the terminal, also in the IDE and cloud | Understands large codebases, plan mode, subagents, hooks, routines for recurring tasks | High token usage on large tasks | Complex features, refactorings, automation |
| Cursor | AI-native IDE based on VS Code | Plan mode, good diff view for reviews, quick model switching | The agent drifts more easily on large rebuilds | People who want to stay in the IDE |
| GitHub Copilot | IDE plugin plus agent in GitHub | Tightly integrated with issues, pull requests and CI, cheapest entry point | Agent features less deep than the specialists | Teams already working on GitHub |
| OpenAI Codex | Agent in the cloud, terminal and IDE | Delegating tasks, work in a sandbox, result as a pull request | Less steering while it works | Clearly scoped tasks, routine work |
| App builders (Lovable, Bolt) | Browser: from description to web app | Prototype in hours, no coding skills needed | Security and maintainability often poor | Click prototypes, internal demos |
| Local models (e.g. via Ollama) | Model on your own hardware | Code never leaves the building | Noticeably weaker on large tasks | Sensitive codebases, routine work |
Entry plans cost around USD 20 per person per month for most vendors, GitHub Copilot Pro USD 10 (as of September 2026). Heavy agent use realistically needs the higher tiers or usage-based billing. Prices change almost monthly, though.
More important than the tool is the working mode. This guide shows which mode and which safeguard fit which task:
Interactive
Which AI working mode fits your task?
Three questions, one recommendation from our project work:
Guidance, not a product recommendation. Tools and prices change monthly, as of October 2026.
Our workflow: programming with AI in 6 steps
The core idea of the first version of this article still holds: don’t let the AI just start coding, break the task down and steer each step deliberately. What has changed is who carries out the steps. We used to copy back and forth between chat and IDE. Today we steer an agent that does the work itself, and we invest the time saved in planning and review.
| Step | Who works? | Result |
|---|---|---|
| 1. Goal and acceptance criteria | Human | Short, verifiable brief |
| 2. Context and project rules | Human, once per project | CLAUDE.md or AGENTS.md in the repository |
| 3. Plan | Agent writes, human reviews | Approved plan with files and risks |
| 4. Implementation and tests | Agent | Working code with passing tests |
| 5. Review | Second agent and human | Reviewed pull request |
| 6. Hardening and operations | Human with automation | Safely deployed, monitored change |
Step 1: Define the goal and acceptance criteria
An agent is only as good as its brief. “Build user management” produces user management, but rarely the one you wanted. A short brief with three parts works well: What should the result be? How do I know it is done? What must not happen under any circumstances?
The smaller the task, the better the result. A change that can be reviewed in a pull request of a few hundred lines is the right size. We split larger work into stages first, much like user stories with sub-tasks.
Step 2: Provide context and project rules
An agent does not know your project. That is why every one of our repositories contains a file with project rules:
CLAUDE.mdfor Claude Code.AGENTS.md, the open format that most tools now read. Since December 2025 it has been hosted by the Linux Foundation’s Agentic AI Foundation.
It contains what a new team member would learn in their first week:
# Project rules
## Commands
- Build: pnpm build
- Tests: pnpm test (run before every commit)
## Conventions
- TypeScript strict, no any types
- New endpoints always with input validation (zod)
- Do not change package versions on your own
## Forbidden
- No secrets in code, only via environment variables
- If a test fails: fix the code, not the test
- Never push directly to main
The file grows with every mistake. When the agent gets something wrong that it could have known, we add a rule, often as a short post-mortem. After a few weeks it stops repeating those mistakes. Current documentation matters just as much: for libraries released after the model was trained, we put the docs into the project as Markdown or connect them via MCP. Otherwise the agent invents functions that do not exist.
Step 3: Plan first, then build
The single most important tip: have the agent write a plan first without touching any code. Claude Code, Cursor and Copilot all have a dedicated plan mode for this. We read the plan, correct wrong assumptions and only then approve it. A mistake in the plan costs a minute. The same mistake in finished code costs an hour.
Read through the /src/billing module and draft a plan for how we can
additionally send invoices as PDF by email.
List the files you want to change, the tests you will write,
open questions and risks. Do not change any code yet.
If the agent lacks context, it should ask instead of guessing. We describe exactly this principle in our article on AI that asks back.
Step 4: Implement and test in small steps
During implementation the agent works on its own: write code, run tests, fix errors, test again. Tests are the most important tool because they give the agent an objective target. Where there are no tests yet, we have them written before the actual change. For web interfaces, end-to-end tests that the agent runs in a real browser have proven themselves. More on this in our article on AI agents in test automation.
Step 5: Review by a human and a second agent
Every change ends up as a pull request. The human reads the diff, and actually reads it. In addition, a second agent with fresh context can act as reviewer: it did not write the code and therefore finds different mistakes. The merge decision is always made by a human who can explain afterwards what the code does. Code nobody on the team understands belongs to nobody.
Step 6: Harden and take it live
Code that runs is not finished yet. Before go-live we check permissions, secrets, dependencies and error behaviour, automated in CI as far as possible. Especially with quickly built applications, this is the step most often missing. What has to happen after go-live is covered in our article on the hypercare phase.
Lessons from our projects
The following experiences come from our own projects, talks and experiments over the last eighteen months. They are individual cases, not benchmarks, but they show where the leverage lies.
| Experience | Result | Lesson |
|---|---|---|
| Migrating a Python app to .NET (2025, chat plus Cursor) | Working in about 4 hours, with no prior .NET knowledge | Without tests it was hard to verify everything was right |
| Feature development by plan instead of by feel | Planning 4 to 8 hours, agent 5 to 10 minutes, review 30 to 60 minutes | Roughly 80 percent of the work is preparation |
| Prototype to MVP: tests and fixes by the agent | Most bugs found and fixed automatically, about one working day saved | A human has to check edge cases in permissions |
| Several agents in parallel on one project | Two agents solve the same task, the better result is merged | Git worktrees keep the work cleanly separated |
| Security analyses of vibe-coded apps | Critical gaps in apps that looked finished from the outside | Built fast does not mean built safely |
From copy-and-paste to migration. In April 2025 we migrated a Python console application with scraping and an OpenAI integration to .NET, in about four hours and without prior .NET knowledge. We described the approach in Refactoring from Python to .NET with AI. What was missing back then is what we would do first today: tests that pin down the old behaviour before the agent starts rebuilding.
Planning is the real work. Our biggest lesson of the last twelve months: the more time goes into the plan, project rules and data model, the shorter and better the implementation. For a typical feature, planning takes half a day to a full day, the agent implements in a few minutes, and review and rework take another hour or so. We also presented this spec-driven development at SquareNeo and compared it live with vibe coding.
Delegate tests, check edge cases yourself. When migrating a prototype to an MVP with database, backend, storage and login, Claude Code took over the end-to-end and security tests, fixed the bugs it found and tested again. That saved about one working day. We still checked the edge cases in the permission logic by hand, because that is exactly where mistakes are most expensive.
Several agents, one project. For complex features we now let two agents work on the same task in separate Git worktrees, for example Claude Code and Codex, and take the better result. That costs more tokens but saves debates about the right approach. More on agents working together in our glossary entry on multi-agent systems.
Routines instead of one-off requests. Recurring tasks run as routines for us: an agent checks our content database weekly, proposes new articles and opens a pull request for them. Nothing is merged before a human has proofread it. How this is set up is described in our article on Claude Code routines.
The model is rarely the bottleneck. What makes a coding agent good is mostly classic software around the model: tools, permissions, context management, tests. That applies to the agents themselves and to everything you build with them. Good programming with AI is therefore above all good software engineering.
Where AI hits its limits in programming
AI does not automatically make you faster. The best-known study comes from METR in July 2025: 16 experienced open-source developers worked on 246 real tasks in their own projects, sometimes with and sometimes without AI. With AI they took 19 percent longer on average, yet estimated they had been about 20 percent faster. The study is small and covers the tools of early 2025. But it shows a pattern we observe too: without a clear workflow, AI feels productive without being productive.
Typical failure patterns from our work:
| Failure pattern | What happens | What helps |
|---|---|---|
| Tasks too large | The agent builds a lot at once, the diff can no longer be reviewed | Split tasks, one pull request per topic |
| Missing context | The agent invents conventions or uses outdated libraries | Maintain project rules, put docs into the project or connect them via MCP |
| Tests get “fixed” | The agent adjusts the test instead of fixing the bug | Explicit rule, check test changes in review |
| Security gaps | Open database rules, keys in the frontend, missing permission checks | Security review before go-live, automated scans |
| Context loss in long sessions | The agent forgets earlier decisions | New session per task, record decisions in files |
| Blind trust | Code is accepted because it looks plausible | Read the diff, second agent as reviewer |
The last point matters most. AI code almost always looks professional. That makes it more dangerous than obviously bad code, because people question it less often.
Programming with AI without coding skills?
Yes, for prototypes. With app builders such as Lovable or Bolt, a working web app emerges from a description within a few hours. This vibe coding is real progress, because business teams can show their idea instead of describing it in a specification. For regulated industries, complex enterprise systems and performance-critical applications, however, it is not the right path.
As soon as real users or real data come in, it gets risky. In the security analysis for 123-MPU we found two critical gaps with 25 test cases in an app that looked finished from the outside. For Upland Parcs we reviewed and hardened an intranet built with vibe coding. The patterns are almost always the same: databases without effective access rules, API keys in browser code and functions anyone can call. How to make such an app production-ready is covered in our article on security and operations for vibe-coded apps.
Rules for programming with AI in a company
For AI-assisted programming to work in a team, a few clear rules are needed. We apply these in our own projects and recommend them to our clients:
| Rule | Why |
|---|---|
| Only company accounts under contract, no private free accounts | On business plans, code is usually not used for training, and a GDPR data processing agreement is available (privacy and compliance) |
| Project rules (CLAUDE.md or AGENTS.md) in every repository | Consistent quality, no matter who works with which tool |
| Agents only open pull requests | No code reaches production without human review |
| Never put secrets in the agent’s context | Otherwise keys end up in logs, prompts or code |
| Tests as a precondition for merging | Tests are the objective yardstick the agent works towards |
| Fundamentals first, then AI | Only people who understand what the code should do can check the result |
| Sensitive codebases only with local models or suitable hosting | Some clients and industries do not allow processing elsewhere |
Conclusion
Programming with AI is no longer an experiment in 2026, it is everyday work. The tools are mature enough for an agent to implement entire features on its own. Whether the result is fast and good or merely fast is decided not by the tool but by the workflow: small tasks, good project rules, plan first and build second, tests as the yardstick and a human who reviews every pull request. Working this way frees up time for what AI cannot do: understanding what the client really needs.
Frequently asked questions
Which AI is best for programming?
There is no single best tool. For complex work on large codebases we mainly use Claude Code. Cursor suits people who want to stay in the IDE, GitHub Copilot teams on GitHub and OpenAI Codex clearly scoped tasks that you delegate. A workflow with planning, tests and review matters more than the tool.
Can AI program on its own?
Yes, coding agents can now plan, implement, test and submit features as pull requests on their own. They still need a clear goal, project rules and human review. Without these guardrails you quickly get large, hard-to-review changes with hidden bugs.
Will AI replace programmers?
In our experience no, but it changes the role. Less time goes into writing code and more into understanding requirements, architecture, review and responsibility for operations. What is in demand are developers who can steer agents well and critically check their output.
How do I get started with programming with AI as a beginner?
Start with a small project of your own and a tool such as Cursor or Claude Code. Have the AI explain each step instead of just accepting code, and read every suggestion. You should still learn fundamentals such as version control with Git and simple tests, otherwise you cannot check what the AI builds.
Is AI-generated code secure?
Not automatically. AI code looks professional but regularly contains security gaps such as missing permission checks or open database rules. Before go-live it needs the same review and security checks as human-written code, and quickly built prototypes need more.
Can I put company code into AI tools?
With business or enterprise plans usually yes, because code is mostly not used for training there and a GDPR data processing agreement can be signed. Check the terms of the specific vendor. Private free accounts are off-limits for company code. For particularly sensitive codebases there are local models on your own hardware.
What does programming with AI cost?
Entry plans for the major tools cost around USD 10 to 20 per person per month (as of September 2026). Heavy agent use quickly leads to higher tiers or usage-based billing. Compared with developer hours, the cost is almost always small.
Want to introduce AI-assisted programming in your team or take an AI-built application safely into production? We work as forward deployed engineers directly in your project. You can find an overview of our offering under Services, or book a free initial call right away.
Your direct line to our AI specialists
Book a free consultation