⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import { enqueueDueSchedules } from './schedules';
import { intEnv } from './env';
import { startPollLoop, type WorkerHandle } from './poll-loop';
// Queues the runs of due agent schedules. Running them is the api's: the agent runtime
// and the model credentials live there, and it drains the queue itself.
export function startAgentWorker(): WorkerHandle {
return startPollLoop('agent-worker', enqueueDueSchedules, () =>
intEnv('AGENT_RUN_POLL_INTERVAL_MS', 2000),
);
}