Skip to Content
DocsConceptsInterfaces

Interfaces: Frontend vs Desk

Huf provides two distinct interfaces for interacting with AI agents. Understanding when to use each is key to getting the most out of Huf.

Overview

The table below summarizes the two interfaces, where to reach them, who each is designed for, and how mature they are today.

InterfaceURLDesigned ForUse CaseStatus
Frontend/hufEnd usersChat, interact with agents, view conversationsActively expanding
Desk/appAdministratorsConfigure agents, manage providers, monitor all activityComplete

Frontend Interface (/huf)

The frontend is the end-user chat experience: a focused place to talk with agents without opening the full Frappe Desk.

What It Is

The frontend is a user-focused interface optimized for chatting with agents and viewing agent-related information without entering the Frappe Desk.

Access: Navigate to https://your-site.com/huf

Who It’s For

Use the frontend for anyone who needs a simple chat interface without full Desk access. It is especially suited for end users, non-admin users, and customer-facing interactions when permissions are configured correctly.

Current Capabilities

The frontend already covers core chat needs and will grow quickly. The table below shows what is live today and what is on the near-term roadmap.

CapabilityStatus
Real-time chat with agentsAvailable now
View conversation historyAvailable now
User-specific sessionsAvailable now
Agent discovery/browsingComing soon
Quick tool invocationComing soon
Conversation managementComing soon
Mobile-optimized viewsComing soon
Shared conversationsComing soon
User dashboardsComing soon

When to Use Frontend

Reach for /huf when the goal is a clean, focused chat experience for users who do not need Frappe Desk training—such as customer or team-facing agent interactions—or when you want to keep the experience simple and uncluttered.

Current Limitations

Because the frontend is under active development, it is currently limited to chat interactions, does not expose agent configuration, and does not yet surface every agent feature.

Roadmap: The frontend is expanding rapidly. We’re adding agent browsing, tool shortcuts, conversation management, and more. Check the GitHub repo for the latest updates.

Desk Interface (/app)

The Desk is the administrative backbone of Huf, where agents, providers, tools, and monitoring are configured.

What It Is

The Desk is the full Frappe administration interface where you configure, manage, and monitor everything in Huf.

Access: Navigate to https://your-site.com/app → Switch to Huf workspace

Who It’s For

The Desk is built for administrators setting up agents, developers creating custom tools, operations teams monitoring agent performance, and anyone who needs full control and visibility.

Full Capabilities

Desk work falls into three areas: configuration, monitoring, and management. The table below lists what you can do in each area.

CapabilityCategoryPurpose
Create and edit agentsConfigureBuild and maintain agent definitions
Set up AI providers and modelsConfigureConnect to AI services and expose models
Define agent tools and functionsConfigureGive agents callable capabilities
Configure triggers (schedule, doc events)ConfigureRun agents on schedules or document changes
Manage permissionsConfigureControl who can use or modify agents
Agent Run logs (every execution)MonitorInspect every agent execution
Conversation history (all users)MonitorReview chats across the system
Token usage and costsMonitorTrack spend
Tool call detailsMonitorSee exactly which tools were invoked
Error trackingMonitorCatch and debug failures
User permissions for agentsManageAssign access per agent
Agent settings and defaultsManageTune system-wide agent behavior
LiteLLM configurationManageCentralize model routing settings
Tool discovery cacheManageRefresh which tools are available

When to Use Desk

Use /app (Desk) when you need to create or modify agents, add new AI providers or models, create custom tool functions, set up scheduled or event-driven agents, monitor agent performance and costs, debug issues or view detailed logs, or configure system-wide settings.

DocTypes in Desk

The following DocTypes are the main records you will create and manage inside the Huf workspace.

DocTypePurpose
AgentDefine agents with instructions, models, tools
AI ProviderStore API keys for OpenAI, Anthropic, etc.
AI ModelDefine which models are available
Agent Tool FunctionCreate tools agents can use
Agent TriggerSchedule or event-based agent execution
Agent RunView logs of every agent execution
Agent ConversationView all conversation histories
Agent ChatReal-time chat interface (also in Desk)
Agent SettingsSystem-wide defaults and configuration

Comparison Table

Use this table to decide which interface fits a given task.

FeatureFrontend (/huf)Desk (/app)
Chat with agentsPrimary use caseVia Agent Chat
Create agentsNot availableFull control
Configure toolsNot availableFull control
View your conversationsUser-specificAll conversations
Monitor agent runsComing soonComplete logs
Manage providersNot availableFull control
Set up triggersNot availableFull control
Mobile optimizedComing soonDesktop-first
Permissions requiredUser/Guest levelSystem Manager/custom
User experienceClean, focusedFull admin power

Typical Workflows

These workflows show how different roles move through Huf from first access to ongoing use.

For End Users

An end user starts at /huf on desktop or mobile, selects or discovers an agent to chat with, interacts naturally via chat, views conversation history, and will eventually invoke common tools through shortcuts.

For Administrators

An administrator opens /app and switches to the Huf workspace, creates agents, providers, and models, defines tools and configures triggers, tests agents via Agent Chat in Desk, monitors runs and costs, and iterates based on logs.

Future Roadmap

Huf’s interfaces are evolving. The frontend is gaining end-user features while Desk is gaining deeper operational controls.

Frontend Expansion

FeatureWhat it enables
Agent BrowserDiscover and launch agents easily
Tool ShortcutsQuick access to common actions
Conversation ManagementArchive, search, and export chats
Mobile AppNative mobile experience
Public AgentsShare agents externally (with permissions)
Voice InputSpeak to agents directly
Rich MediaImages, files, and structured data in chat

Desk Enhancements

ImprovementWhat it enables
Better analytics and dashboardsDeeper operational visibility
Advanced agent debugging toolsFaster troubleshooting
Cost optimization recommendationsLower spend
A/B testing for agent promptsCompare prompt versions
Version control for agentsTrack and roll back agent changes

Best Practices

Following these practices keeps administration clean, end-user access secure, and agent rollouts smooth.

For Organizations

Keep administration inside Desk by having admin users configure everything there, direct end users to /huf for clean, focused interactions, use Frappe’s role-based permissions to enforce access, and train admins on Desk while end users only need to learn /huf.

For Developers

Build custom tools in Desk via Agent Tool Function, test thoroughly in Desk before exposing agents to the frontend, monitor logs in Agent Run to debug issues, and iterate using Agent Run insights to improve prompts and tools.

Security & Permissions

Both interfaces respect Frappe’s permission system. The table below shows how permissions flow through each interface and component.

ComponentPermission behavior
FrontendUsers see only agents they have permission for
DeskStandard Frappe roles (System Manager, custom roles)
AgentsInherit the permissions of the user running them
ToolsExecute with the current user’s permissions

Important: Agents always run with the permissions of the user who triggered them. An agent cannot access data the user doesn’t have permission to see.

What’s Next?

With the two interfaces in mind, continue with the concepts and quick-start guides below.


Questions or feedback on the frontend? We’d love to hear from you! Open an issue or discussion on GitHub .

Last updated on