virtual machine (VM)
A virtual machine is a computer simulated by software: it runs inside a real machine but behaves as if it were an independent, separate machine.
In plain terms
Imagine a large office building divided into separate offices with movable walls. Every tenant gets their own key, their own equipment, and their own door, and cannot see into the neighbor's, even though they sit in the same building. A virtual machine is such a separated office within a real computer.
A virtual machine has its own operating system, its own storage, and its own programs. What happens inside it generally stays inside. If it breaks or becomes infected, it can simply be deleted and recreated, while the physical machine usually remains intact.
This is why the cloud became a cornerstone: providers split a single powerful server into many virtual machines and rent them out. In the AI world, this is important because agents often work in such isolated machines. There, they can run code, install programs, click on a screen, and while doing so, they cannot access your own machine.
How it works
- A supervisory program called a hypervisor runs on the physical machine, distributing hardware resources by specifying how much processor time, memory, and storage each virtual machine receives.
- Every virtual machine operates as if it had its own processor, memory, hard drive, and network card. In reality, the hypervisor emulates some of these and lends the rest from the actual hardware.
- You install a full operating system on the virtual machine, such as Windows or Linux. This can be quite different from the host machine's.
- The full state of the machine is stored in files, so it can be saved, copied, and moved to another server. It can also be restored to a previous snapshot.
- When it is no longer needed, it can be deleted with a single click. A new one can be launched in the cloud in a few minutes, often in seconds, and you mainly pay for the time it runs.
An everyday example
You ask an AI agent to analyze an Excel spreadsheet and create a chart from it. The agent does not run a program on your machine but in the provider's isolated, temporary environment. This can be a virtual machine or a container. It works there, returns the result, and then the environment is terminated.
Who is affected
A common misconception
Limits and risks
- A virtual machine runs on the resources of a physical machine, so it can be somewhat slower. It also consumes significant memory and storage because it runs a full operating system.
- Protection is only effective as long as you do not grant the machine access to your critical data. If an agent can access your email or passwords from a virtual machine, isolation no longer protects you.
- A virtual machine running in the cloud costs money even if it remains switched on but no one uses it. You still have to pay for its storage when switched off, so machines left on or kept unnecessarily quickly inflate the bill.
- The virtual machine must be updated and maintained just like a real computer, otherwise it becomes vulnerable.
Similar, but not the same
- container – A container does not carry a full operating system but shares the host machine's kernel with other containers. Therefore, it is lighter and starts faster, but its isolation is generally weaker.
- sandbox – The sandbox is the goal, meaning an isolated, secure runtime environment. A virtual machine is just one tool with which to build such an environment.
- emulator – An emulator uses software to imitate even a completely different type of hardware, such as another processor type, so it is typically slower. By contrast, a virtual machine runs most programs directly on the actual processor.
- Java Virtual Machine (JVM) – Their names are similar, but the JVM does not emulate an entire computer. It runs a single program in a common, machine-independent format and has no operating system of its own.
Related concepts
virtualization, cloud service, computing infrastructure
mikro-VM, virtual desktop, GPU cloud instance
container, sandbox, hipervizor, data center, computer-using agent
A brief history
The idea of the virtual machine emerged in the 1960s on IBM mainframes, allowing multiple users to share an expensive computer as if each had their own. On everyday PCs, the technology became widespread thanks to VMware, founded in 1998. Amazon launched its EC2 cloud service, built on rentable virtual machines, in 2006.
Where things stand
By the end of 2026, the virtual machine has been a proven core technology of the cloud and datacenters for decades. AI agents have given it a new role: agents that run code and operate computers are increasingly isolated in fast-starting, disposable virtual machines.
In the news
- Hungarian professional debate: does AI take or create jobs?Oct 20, 2026 · Work & HR
- Hotels lose attribution as AI-driven zero-click search erodes guest trackingOct 19, 2026 · Marketing
- Hrenkó András: AI often decides which spa guests chooseOct 12, 2026 · Marketing
- Ficzere podcast: AI now diagnoses, and patients trust it over their doctorsOct 11, 2026 · Health
- Robots and AI: can they replace guest workers in Hungary?Sep 27, 2026 · Ipar
Also known as
virtual machine · VM · virtual machine · virtual computer · virtual server · guest machine · guest · cloud instance
Sources
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.