Skip to main content

Chapter 9 : Agents & Dashboard

Agents & Dashboard

EasyManage helps you build and test AI Agents with No-Code.

  • AI Agents | Use EasyManage Builder Studio to design AI Agent Workflows as Agent Projects. Test and deploy them with companion Agent Server.

  • App Dashboard | Make available Apps containing AI Agents to your users. They can Run Agents, share insights and reports.

Using Agents & Dashboard

  • View Sample Screens below to help you on using Agents.
  • Perform Agent Server Setup before Running Agents.

Agent Project

  • AI Agent Workflows as Agent Projects

agent-proj.png

Run Agent With Human-in-the-loop

  • Test AI Agents: With Approve Steps - Human-in-the-loop.

agent-test.png

Run Agent With Auto Approve

  • Test AI Agents - Inventory: With Auto Approve

agent-test-inv.png

Agent Run Ops

  • AI Agent Run Ops : Endpoints available

agent-run-ops.png

Agent Server

RAG Context

  • Prompt Building - RAG Context Added

agent-prompt-building.png

Publish Agents in Apps

  • Make available in Apps

agent-apps-for-users.png

Share Insights & Reports

  • View and share insights and reports by app users

agent-share-reports.png

Agent Server Setup

Agent Project uses companion Agent Server to Run Agents. Setup and Run Agent Server before Running Agents from App.

Agent Server Prerequisites

Before Running AI Agents, Run Builds For Backend APIs, MCP Server, and then Agent Server.

Deploy & Run

  1. APIs: REST
  2. MCP Server: REST
    • Using Server Transport Streamable HTTP
  3. Agent Server

Note: You can use APIs GraphQL with MCP Server GraphQL.

One-click Build Run Script

  • For APIs REST, MCP REST
tip
  • Use One-click Build Run Script
  • Locate below in generated code folder:
    • resources\scripts\spring-java\build-run.bat
  • Build & Run Backend REST:
resources\scripts\spring-java\build-run.bat 1
  • Build & Run MCP REST:
resources\scripts\spring-java\build-run.bat 2
  • Build & Run Agent Server:
resources\scripts\spring-java\build-run.bat 3
  • Run All 3 together:
resources\scripts\spring-java\build-run.bat

Agent Server Compile & Run

  • Locate Agent Server in downloaded code.
  • Downloads/EmGenDir_JohnDoe_WS_51186/WS_51186/agent/spring-java/agentserver
  • Go to this directory, compile & run.
  • Set OPENAI_API_KEY to use default OpenAI.
  • You can change to another LLM provider supported by Spring AI, by editing pom.xml, and set its key.

On Win:

set OPENAI_API_KEY=<your key>

mvnw clean package

mvnw spring-boot:run
  • Verify Started AgentServerApp:
2026-01-15T11:18:26.885+05:30  INFO 54448 --- [agentserver] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 9030 (http) with context path '/'
2026-01-15T11:18:26.917+05:30 INFO 54448 --- [agentserver] [ main] com.example.agentserver.AgentServerApp : Started AgentServerApp in 4.024 seconds (process running for 4.582)

agent-comp-server.png

Agent Server Endpoints

TypeEndpointsParameters
GET Endpointslist-sessions , list-status , close-all-dangerNo parameters
GET Endpointsstatus , step-results , restore-points , cancel , closeParameter: executionId
POST Endpointsapprove , rejectParameter: executionId
Request Body:
{ "approved": true, "reason": "string" }
POST EndpointsrestoreParameter: executionId
Request Body:
{ "stepIndex": 0, "reExecute": true }
Note: stepIndex is stepNumber - 1