# Agents and workflows

> Keep agent instructions and multi-step workflows in Prompt Verse, with versions, tags and sharing. What running them means in the pre-beta.

Source: https://prompt-verse.io/docs/agents-and-workflows/

## Agents

An agent holds **instructions**, a **provider** and settings such as **temperature**. Providers are `internal`, `anthropic`, `openai`, `google` and `vercel`.

The starter agent, **The critic**, shows the shape:

```text title="The critic: instructions"
You read drafts and say what is wrong with them.

Rules:
- Name the single weakest sentence and quote it.
- Say what it costs the reader, not whether you like it.
- Offer one concrete replacement.
```

Agents are versioned with the same commits, branches and tags as prompts.

## Workflows

A workflow is a list of **nodes**. An input node takes your text. A prompt node runs one of your prompts on what came before, and each node can depend on others.

The starter **Draft, then sharpen** has three nodes: your notes, a draft step and a sharpen step.

Change a prompt and every workflow that uses it follows. Workflows are versioned too.

## Running them

> [!HONEST]
> The `run` actions for agents and workflows are switched off in the pre-beta and answer `AI_DISABLED`. Your AI reads the agent or workflow with `get`, renders the prompts it uses and does the running.

## For your AI

The `agents` tool has `create`, `get`, `list` and `run`. The `workflows` tool has `create`, `get`, `list`, `update` and `run`. See the references for [agents](/docs/reference/agents/) and [workflows](/docs/reference/workflows/).
