Foenix is built as a multi-agent system (MAS) — four specialised agents work together, each with a narrow role. This is what makes Foenix able to run autonomously without losing control of the outcome.Documentation Index
Fetch the complete documentation index at: https://docs.foenix.ai/llms.txt
Use this file to discover all available pages before exploring further.
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 Worker plugin runs. It receives instructions from the Cloud, executes them on your server, and reports the result back. The plugin 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. 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.Architect — the planner
Used for complex tasks. Researches the relevant context (themes, custom post types, existing plugins, ACF fields, taxonomies), decomposes the task into clear ordered steps, and prepares any assets the Coder will need.Coder — the executor
Translates the plan into PHP and runs it on your WordPress server through the plugin. 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. If it fails, the Orchestrator gets the verdict and retries with a corrected plan.How a request flows
Routing
The Orchestrator picks an execution path based on the request type and your current Safety Mode.
Verification
The Verifier checks the result. Pass → done. Fail → back to the Orchestrator for a retry.