Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1000 Bytes

File metadata and controls

43 lines (30 loc) · 1000 Bytes

DevUI Package (agent-framework-devui)

Interactive developer UI for testing and debugging agents and workflows.

Main Classes

  • serve() - Launch the DevUI server
  • DevServer - The FastAPI-based development server
  • register_cleanup() - Register cleanup hooks for entities
  • CheckpointConversationManager - Manages conversation checkpoints

Models

  • AgentFrameworkRequest - Request model for agent invocations
  • OpenAIResponse / OpenAIError - OpenAI-compatible response models
  • DiscoveryResponse / EntityInfo - Entity discovery models

Usage

from agent_framework.devui import serve

agent = Agent(...)
serve(entities=[agent], port=8080, auto_open=True)

CLI

# Run with auto-discovery
devui ./agents

# Run with specific entities
devui --entities my_agent.py

Import Path

from agent_framework.devui import serve, register_cleanup
# or directly:
from agent_framework_devui import serve