Skip to content

Agent Process

Will Schipp edited this page Aug 15, 2025 · 1 revision

Keeping the Database Up to Date

The embabel-llm-database is maintained by an embabel-agent (embabel-database-agent). To start the agent, there are two options.

  1. trigger with a POST command curl -XPOST http://localhost:8000/api/v1/agents/AiModelRepositoryAgent
  2. start the server in scheduled mode java -Dspring.profiles.active=mcp-server,ollama,scheduled -jar embabel-database-server/target/embabel-database-server-${VERSION}.jar

"Manual" Start

The agent is started with a POST command and a process ID is sent back in response. This process id can then be used to monitor the status of the agent using curl http://localhost:8000/api/v1/process/${PROCESS_ID} and checking for the status attribute in the response JSON.

Scheduled

The scheduled instance of the agent will run once every 24hrs and waits 30seconds after startup to run.
The initial delay is configurable using the embabel.agent.scheduling.initial-delay-ms property. The fixed rate interval is configurable using the embabel.agent.scheduling.fixed-rate-ms property.

Clone this wiki locally