UNPKG

taskforce-aiagent

Version:

TaskForce is a modular, open-source, production-ready TypeScript agent framework for orchestrating AI agents, LLM-powered autonomous agents, task pipelines, dynamic toolchains, RAG workflows and memory/retrieval systems.

20 lines (19 loc) 491 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AgentRegistry = void 0; class AgentRegistry { static register(agent) { this.agents.set(agent.name, agent); } static getByName(name) { return this.agents.get(name); } static getAll() { return Array.from(this.agents.values()); } static clear() { this.agents.clear(); } } exports.AgentRegistry = AgentRegistry; AgentRegistry.agents = new Map();