Build.
Deploy.
Executeseamlessly
DeployGent automatically parses Python AI agent modules, extracts task metadata, generates web execution forms, and handles runtime infrastructure.
Getting Started
DeployGent turns standard Python repositories into production-ready agent endpoints. The platform clones your code repository, installs dependencies via standard requirements files, inspects module decorators via AST analysis, and hosts an interactive web playground automatically.
Installation
pip install deploygent
Quick Start
from deploygent import Agent
agent = Agent(
name="Summarizer",
description="Summarize long documents."
)
agent.serve()Agent Specification
Every DeployGent repository exposes an initialized Agent instance. The Agent class aggregates operational metadata, registered tasks, runtime parameters, and standard IO bindings required to auto-render input interfaces.
Task Registration
@agent.task
def summarize(text: str) -> str:
return textInput Components
Declare task parameters using any of the following input types. Every input accepts label, placeholder, description, required, default, disabled, and hidden, plus the type-specific properties listed below.
Single-line free text entry.
label · placeholder · required · default
Multi-line free text entry.
rows (default 5)
Numeric entry with bounds.
min · max · step (default 1)
On/off toggle switch.
default (true / false)
Masked single-line text entry.
label · placeholder · required
Text entry validated as an email address.
label · placeholder · required
Text entry validated as a URL.
label · placeholder · required
Calendar date picker.
min · max
Time-of-day picker.
label · required · default
Combined date & time picker.
label · required · default
Generic file upload.
accept · multiple · max_size
File upload restricted to image/*.
extends FileInput
File upload restricted to audio/*.
extends FileInput
File upload restricted to video/*.
extends FileInput
Single-choice dropdown.
options[] · searchable
Multi-choice selector.
options[] · searchable
Structured JSON entry with live validation.
schema (optional)
Output Renderers
Return any of the following output types from a task to control how the result is rendered in the playground. Every output accepts title, description, downloadable, and preview, plus the type-specific properties listed below.
Renders a plain text response.
title · description
Renders formatted markdown content.
title · description
Renders a structured JSON payload.
pretty · collapsible
Renders raw HTML markup.
title · description
Renders tabular data as a data grid.
sortable · searchable · pagination
Renders an inline, previewable image.
format · downloadable (default true)
Renders an inline audio player.
downloadable (default true)
Renders an inline video player.
downloadable (default true)
Generic downloadable file.
extension · downloadable (default true)
Downloadable PDF document.
downloadable (default true)
Downloadable CSV file.
downloadable (default true)
Downloadable ZIP archive.
downloadable (default true)
Runtime Management
DeployGent allocates dedicated execution ports, spawns isolated worker sub-processes, monitors execution state, and generates strict OpenAPI REST specifications for every agent deployed.
Deploying via CLI
deploygent deploy
CLI Commands
REST API Reference
Agent Templates
Summarizer
Standard DeployGent agent implementation template.
OCR
Standard DeployGent agent implementation template.
Translator
Standard DeployGent agent implementation template.
Chatbot
Standard DeployGent agent implementation template.
Image Generator
Standard DeployGent agent implementation template.
Sentiment Analysis
Standard DeployGent agent implementation template.