agentlang
Version:
The easiest way to build the most reliable AI agents - enterprise-grade teams of AI agents that collaborate with each other and humans
13 lines • 539 B
JavaScript
import { fetchConfig as al_fetchConfig } from './interpreter.js';
import { makeInstance as al_makeInstance, isInstanceOfType as al_isInstanceOfType, } from './module.js';
let ApiInited = false;
export function initGlobalApi() {
if (!ApiInited) {
globalThis.agentlang = {};
globalThis.agentlang.makeInstance = al_makeInstance;
globalThis.agentlang.isInstanceOfType = al_isInstanceOfType;
globalThis.agentlang.fetchConfig = al_fetchConfig;
ApiInited = true;
}
}
//# sourceMappingURL=api.js.map