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

# Scheduled Agents

> Autonomous tasks that run on a schedule or on site events: creating, testing, and managing Foenix agents.

Agents are autonomous tasks that run on a schedule - daily, weekly, monthly, or at a custom interval - without you being present. Describe the task once, set the schedule, and Foenix handles the rest.

## What agents can do

* Automatically research fresh news and publish SEO-optimised articles
* Monitor site health and log errors
* Generate and set featured images
* Check for missing meta descriptions
* Send weekly reports to Telegram - ask in chat how to set this up
* Run any recurring task you would otherwise do manually

## Two ways to create an agent

**Way 1 - From a session**

Type your task in a new session in plain language. Foenix will interpret it, expand it into a full detailed prompt, and show you a **Schedule Task** card with the exact steps and timing. Click **Create** to save it.

```text theme={null}
Every Monday at 9am - research trending topics in [your niche], 
find relevant keywords, write an SEO-optimised article, 
generate a featured image, and publish it.
```

Foenix will automatically expand this into a detailed structured prompt and set the schedule.

**Way 2 - Directly from the Agents page**

Click **New Agent** in the top right corner of the Agents page. Fill in:

* **Name** - e.g. "Daily new post"
* **Prompt** - describe what you want the automation to do
* **Model** - select the AI model
* **Safety mode** - select the safety level
* **Schedule** - Interval, Daily, Weekly, Monthly, or Custom

Then click **Create**.

## Managing agents

Go to **Agents** in the left sidebar to see all agents for the current site. Each agent card shows the prompt preview, schedule, and last run date.

| Action             | What it does                                       |
| ------------------ | -------------------------------------------------- |
| **Edit**           | Change the prompt, model, safety mode, or schedule |
| **Test**           | Run the agent once immediately to verify it works  |
| **Pause / Resume** | Temporarily stop without deleting                  |
| **Delete**         | Permanently remove the agent                       |

## Always test first

<Tip>
  Before setting a recurring schedule, click **Test** to run the agent once. Check the output, verify it looks correct, and see how many credits it consumes - then activate the schedule.
</Tip>

## Writing good agent prompts

The more specific your prompt, the better the result. You can write in plain language and Foenix will interpret it - or write a detailed step-by-step prompt directly:

```text theme={null}
1. Search the web for trending topics in [your niche] this week
2. Pick the best keyword based on search volume
3. Write a 800-1000 word SEO article in [language]
4. Generate a relevant featured image
5. Publish with title, meta description, and the image
```

## Safety mode for agents

Each agent has its own Safety Mode setting. Please set this at your own discretion and risk. [Learn more →](/security/safety-mode)

<Warning>
  Always make a backup before running agents on a production site. Agents can modify content, files, and settings automatically. [Backups →](/security/backups)
</Warning>
