Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

agentation

Visual feedback tool for AI coding agents

agentsaicodingdebuggingfastapiflask
Published22 Jan 2026
Direct dependencies8
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

Agentation

License: MIT Python 3.10+

Visual feedback tool for AI coding agents. Adds a floating toolbar to your web application that displays structured page information optimized for AI consumption.

Installation

pip install agentation

With framework-specific extras:

pip install agentation[flask]
pip install agentation[fastapi]

Quick Start

Flask

from flask import Flask
from agentation import AgentationFlask

app = Flask(__name__)
AgentationFlask(app)  # Auto-enabled when app.debug=True

See the Flask Guide for complete documentation.

FastAPI

from fastapi import FastAPI
from agentation import AgentationMiddleware, AgentationConfig

app = FastAPI()
config = AgentationConfig(enabled=True)
app.add_middleware(AgentationMiddleware, config=config)

See the FastAPI Guide for complete documentation.

Configuration

All options can be passed to AgentationConfig:

OptionTypeDefaultDescription
enabledbool | NoneNoneEnable toolbar. If None, uses env var or debug mode
default_detailstr"standard"Detail level: compact, standard, detailed, forensic
default_formatstr"markdown"Output format: markdown, json
positionstr"bottom-right"Toolbar position: bottom-right, bottom-left, top-right, top-left
themestr"auto"Color theme: auto, light, dark
accent_colorstr"#3b82f6"Accent color (hex)
keyboard_shortcutstr"ctrl+shift+a"Keyboard shortcut to toggle output
block_interactionsboolTrueBlock page interactions while panel is open
auto_clear_on_copyboolFalseClear output after copying
include_routeboolTrueInclude route info in output

Enabling

Agentation uses the following precedence to determine if it's enabled:

  1. Explicit enabled config option
  2. AGENTATION_ENABLED environment variable (true/1/yes or false/0/no)
  3. Framework debug mode (e.g., app.debug in Flask)
  4. Default: disabled

Output Formats

Markdown (default)

Structured text optimized for AI agents to understand page structure:

  • Compact: Minimal output with key elements only
  • Standard: Balanced detail with headings, forms, and main content
  • Detailed: Full page structure including all interactive elements
  • Forensic: Complete DOM analysis for debugging

JSON

Machine-readable structured data with the same detail levels.

Keyboard Shortcut

Press Ctrl+Shift+A (configurable) to toggle the output panel. This copies structured page information to your clipboard, ready for pasting into an AI coding assistant.

Development

uv venv
uv pip install -e ".[dev]"
pytest

Credits

Python port of Agentation by Benji Taylor.

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 10

Native requirements
8 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
fastapi
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
fastapi>=0.100; extra == "dev"runtime
flask
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
flask>=2.0; extra == "dev"runtime
httpx
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
httpx>=0.24; extra == "dev"runtime
pyright
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
pyright>=1.1; extra == "dev"runtime
pytest-asyncio
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
pytest-asyncio>=0.21; extra == "dev"runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
pytest>=7.0; extra == "dev"runtime
ruff
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
ruff>=0.1; extra == "dev"runtime
fastapi
Environment
{
  "extras": "",
  "marker": "extra == \"fastapi\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
fastapi>=0.100; extra == "fastapi"runtime
starlette
Environment
{
  "extras": "",
  "marker": "extra == \"fastapi\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
starlette>=0.27; extra == "fastapi"runtime
flask
Environment
{
  "extras": "",
  "marker": "extra == \"flask\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
flask>=2.0; extra == "flask"runtime

Distribution files

2 collected
agentation-0.1.0-py3-none-any.whl

bdist_wheel · 16.59 KB · Python py3

Source file
agentation-0.1.0.tar.gz

sdist · 70.59 KB · Python source

Source file

Repository

PENDING
pmatos/agentation-py

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:30 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:db09b4837c03a2bd508b34323e3fb6c6bed036698cf50b7c64ba0f8e740735ff

Other collected versions

View all collected versions →