The two environments
Foenix has two parts that talk to each other over HTTPS: Foenix Cloud - where the agents live. They reason about your request, plan steps, generate code, and verify results. Your WordPress site - where the Foenix Connector plugin runs. It receives instructions from the Cloud, executes them on your server, and reports the result back. The Connector has admin-level access to WordPress but only acts on signed instructions from your account.The four agents
Every request goes through up to four agents. Simple requests use one or two; complex ones use all four with multiple iterations.Orchestrator - the lead
Receives your message, decides which execution path to take, and coordinates the other agents. It picks between paths depending on the request: a quick read-only answer, a single-step edit, a multi-step generation, an autonomous run, and so on. On a heavy, long task the Orchestrator decomposes the request: it splits the task into parts and calls a dedicated Worker sub-agent for each one. The Orchestrator is also responsible for the retry loop: if the Verifier returns a failure, the Orchestrator decides whether to try again with a new strategy or report the problem.Worker - the sub-agent
Used for heavy tasks. Every Worker gets its own slice of the job, researches the context it needs (theme structure, custom post types, existing plugins, ACF fields, taxonomies), and hands the Coder a precise, scoped instruction. Because each part is handled by its own Worker, a ten-step task no longer depends on a single plan staying valid from step one to step ten. The result is noticeably higher accuracy and consistency on multi-step jobs.Coder - the executor
Translates the instruction into PHP and runs it on your WordPress server through the Connector. The Coder doesn’t make decisions about what to do - only how to do it. This separation is deliberate: the agent that decides isn’t the agent that executes. The Coder reads freely but writes carefully. Every modification is wrapped in a transaction, logged before execution, and screened by the Safety Mode validator before it runs (see Safety Mode).Verifier - the checker
Read-only access to your site. After the Coder runs, the Verifier checks whether the result actually matches the original request - does the page render? does the plugin activate without errors? did the meta description get added? It returns a structured pass/fail verdict. The Verifier checks whether the task was actually completed, not just whether the code ran. A plugin that activates but does nothing, or a page that renders but is missing the requested section, fails verification. If it fails, the Orchestrator gets the verdict and retries with a corrected plan.How a request flows
1
Request
You type a message, click an element, or a scheduled agent fires.
2
Routing
The Orchestrator picks an execution path based on the request type and your current Safety Mode.
3
Decomposition
For heavy tasks, the Orchestrator splits the request into parts and assigns each to a Worker sub-agent.
4
Execution
The Coder runs PHP operations on your server, one at a time, each with a transaction ID.
5
Verification
The Verifier checks the result. Pass → done. Fail → back to the Orchestrator for a retry.
6
Reporting
You see the result in your session.