> ## 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.

# How It Works

> How Foenix connects to WordPress, the agent pipeline behind every task, the four autonomy levels, and the safety layers around them.

Foenix connects to your WordPress site through a lightweight plugin and gives you a natural language interface to manage and edit your site.

## The two parts

**Foenix Cloud** - the Foenix platform where AI agents receive your instructions in natural language, analyse the task, build a plan, and execute it using various tools - web search, browser access, code execution, and more.

**Foenix Plugin** - installed on your WordPress site. It is the bridge between your site and Foenix Cloud, communicating via the WP REST API. It reads your site content and applies changes.

## How a request works

1. You type a message in an open Foenix session
2. The **Orchestrator** analyses your request and your site's context, and routes the task
3. The **Architect** builds a plan, and the **Coder** executes it step by step
4. The plugin deploys the changes on your WordPress site
5. The **Verifier** - a read-only agent - checks the result before the task counts as done. If verification fails, the task is retried with a different approach

The agent that decides is never the agent that executes, and the agent that executes is never the one that grades the work. That separation is what makes autonomy safe. [Architecture →](/core-concepts/architecture)

## Four levels of autonomy

From "nothing changes without me" to "runs while I sleep" - you pick the level per task:

<CardGroup cols={2}>
  <Card title="Chat" icon="message" href="/working-modes/live-chat">
    Ask questions about your site - structure, content, code. Read-only: Foenix only reads your site content for these requests, no changes are made.
  </Card>

  <Card title="Click-to-edit" icon="cursor-arrow-rays" href="/working-modes/vibe-coding">
    Click any element on your live site and describe the change. You point, the agent edits.
  </Card>

  <Card title="Build" icon="pencil" href="/working-modes/direct-edits">
    Describe a full task and Foenix modifies your WordPress site - new content, edits, plugins, snippets, and more.
  </Card>

  <Card title="Scheduled Agents" icon="clock" href="/working-modes/agents">
    Tasks that run automatically on a schedule - no chat open, no session running, no you.
  </Card>
</CardGroup>

<Warning>
  Foenix has full administrator-level access to your WordPress site and can modify files, database, plugins, and themes. Before running any edits or agents on a real site, make a backup, or rehearse the task in a sandbox first. [Backups →](/security/backups)
</Warning>

## Safety modes

Foenix has 3 safety levels that control how strictly it validates actions before executing them. They work on top of the Verifier check that every change passes. In Soft mode the chance of something breaking is higher - always make a backup on your hosting before running any edits or agents. [Learn more →](/security/safety-mode)

## Data transfer security

All communication between Foenix Cloud and your plugin is encrypted over **HTTPS**. Every request is authenticated - no unauthenticated access to your site is possible.

## Abilities API

<Note>
  Coming soon. If enabled in your account settings, Foenix will first look for Abilities API capabilities registered on your site and use them to complete the task. If none are found, it falls back to the standard WP REST API.
</Note>
