---
title: "HTML Agent"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/agents/htmlagent
markdown: https://docs.nodetool.ai/nodes/nodetool/agents/htmlagent.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/agents/htmlagent.md
---

# HTML Agent

**Type:** `nodetool.agents.HtmlAgent`

**Namespace:** `nodetool.agents`

## Description

Build HTML pages and static sites from a plain-language description.
    agent, html, web, template, static-site

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| model | `language_model` | Model used for HTML generation planning/execution. | `{"type":"language_model","provider":"empty","id...` |
| prompt | `str` | Prompt describing HTML to create. | `` |
| timeout_seconds | `int` | Maximum runtime for agent execution. | `180` |
| max_output_chars | `int` | Maximum serialized output chars before truncation. | `180000` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| html | `html` |  |
| text | `str` |  |

## Related Nodes

Browse other nodes in the [nodetool.agents](./) namespace.
