# Protocols

Source: https://docs.elnora.ai/docs/cli/protocols
Last modified: 2026-09-08T22:34:42-06:00

> Generate and optimize bioprotocols.

Generate and optimize bioprotocols.

## elnora protocols generate

Generate a bioprotocol — creates a task and sends the description in one call. Returns the task and the queued user message, NOT the AI response; the agent processes asynchronously. To get the generated protocol, poll elnora_tasks_messages with the returned task id every 5-10s until the last message has role 'assistant' with metadata.status 'completed'. Timeout after 5 min.

```bash
elnora protocols generate [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `description` | string | yes | Protocol description |
| `project` | uuid | no | Project UUID to associate with |
| `title` | string | no | Task title (defaults to first 100 chars of description) |
