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.
16 lines (15 loc) • 457 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tool = void 0;
/**
* Base class for all tools. All tools must inherit from this.
* Tools are callable by agents and must define input/output schema,
* robust error handling, caching, and examples for documentation/UI.
*/
class Tool {
constructor() {
/** Should results of this tool be cached? */
this.cacheable = true;
}
}
exports.Tool = Tool;