Automatic code for external APIs
Agents can generate and run task-specific connector code for approved external APIs, including request logic, authentication handling, data mapping, validation, retries, and response processing.
PhiVM · Agent Virtual Machines
PhiVM gives AI agents an isolated, on-demand machine where they can generate code for external APIs, run autonomous tasks with an internal LLM, execute complex calculations, inspect files, and deliver verified results — without touching the user’s local environment.
It combines the control of a sandboxed virtual workspace with the speed of an AI-native development environment. Every agent receives its own reproducible runtime, task-specific context, file access, shell execution, package tooling, approved API access, and governed tool access from idea to execution.
Many AI assistants can answer questions. Real business workflows require more: agents need to inspect project files, create scripts, connect to external APIs, transform data, run tests, calculate results, generate artifacts, call tools, and verify their own work. PhiVM provides the controlled execution layer for that.
Instead of giving an agent direct access to a developer’s laptop, server, or production environment, PhiVM creates a separate runtime for each task. The agent works inside this controlled space, can operate with an internal or private LLM where required, produces outputs, and leaves a clear execution trail.
Simple explanation: PhiVM is a secure machine for AI agents. The agent can think, create API access code, run autonomous task loops, execute calculations, inspect files, and complete real tasks inside its own workspace — while your local environment stays protected.
PhiVM is designed for situations where an AI agent must not only reason, but also execute controlled technical work. The machine can create code, run it, inspect results, and continue until the task is complete.
Agents can generate and run task-specific connector code for approved external APIs, including request logic, authentication handling, data mapping, validation, retries, and response processing.
PhiVM can run agent workflows with an internal or private LLM, allowing agents to plan steps, execute commands, inspect intermediate outputs, adapt, and continue without exposing work to a local environment.
Agents can execute numerical scripts, data transformations, simulations, statistical checks, document calculations, optimization routines, and other compute-heavy tasks in a reproducible workspace.
Each Agent Virtual Machine is created for a task, supplied with the right context, tools, model configuration, API permissions, and calculation environment, and used as a reproducible execution workspace.
An agent receives a dedicated runtime with task context, selected files, environment settings, internal or external LLM configuration, permissions, and tool access.
The agent can create scripts, API connectors, calculation routines, file processors, and validation tools, then run them inside the isolated machine.
With an internal or selected LLM, the agent can plan, execute, inspect intermediate results, adapt the next step, and continue until the task reaches the defined goal.
The agent can run tests, compare API responses, check calculations, inspect logs, validate generated files, and iterate before returning a final answer or artifact.
Outputs can be returned to PhiStudio, PhiFlow, a user interface, an API endpoint, or another workflow step together with execution metadata.
Different agents can receive separate machines, making API jobs, calculations, and autonomous task runs easier to parallelize, audit, archive, or discard.
PhiVM is built for agentic work where a language model needs more than a chat window. It gives agents the runtime needed to connect, calculate, act, test, and produce useful outputs.
PhiVM complements the existing Phi product family by giving agents a place to perform controlled work.
Let agents generate API access code, call approved services, combine external data with PhiBox knowledge, validate responses, and return structured results.
Run controlled task loops with an internal LLM for customer-specific automation, private deployments, recurring jobs, and workflow steps that need local governance.
Execute Python scripts, data transformations, statistics, simulations, scoring models, document calculations, and validation checks in a reproducible runtime.
Let agents inspect a repository, identify problems, modify files, run tests, and return a verified patch or recommendation.
Combine PhiSkills, Tool Calls, project context, API connectors, and calculation scripts so agents can execute repeatable business tasks without manual handover.
Give each customer, project, or workflow a separate agent machine so data, tools, API access, calculations, and results stay clearly separated.
Agentic AI becomes much more useful when agents can safely act on files, APIs, calculations, tools, and workflows. PhiVM turns an AI agent from an advisor into an executable worker — while keeping that work separated, reviewable, and reproducible.
PhiVM gives every agent its own secure workspace to generate API code, run autonomous internal-LLM tasks, execute complex calculations, validate results, and deliver. It is the practical runtime layer for agentic AI products, enterprise workflows, and developer automation.
Give every AI agent its own isolated workspace to generate API code, run autonomous internal-LLM tasks, execute complex calculations, inspect files, and complete real work safely.
Learn moreHello, how can I help you?
Wait a moment
Oops! Something went wrong!