@polybiouslabs/polybious
Version:
Polybius is a next-generation intelligent agent framework built for adaptability across diverse domains. It merges contextual awareness, multi-agent collaboration, and predictive reasoning to deliver dynamic, self-optimizing performance.
23 lines (22 loc) • 866 B
JavaScript
import { ConfigLoader } from "./config/agent.config";
import { logger } from "./config/logger";
import { PolybiousAgent } from "./core/agent";
async function main() {
try {
logger.info("Starting Polybious - The Intelligent Agent Framework...");
// Load configuration from file or environment
const configPath = process.env.AGENT_CONFIG_PATH || process.env.POLYBIOUS_CONFIG_PATH;
const config = configPath
? ConfigLoader.loadFromFile(configPath)
: ConfigLoader.loadFromEnv();
// Create and start the agent
const agent = new PolybiousAgent(config);
await agent.start();
logger.info("Polybious is now online and ready to engage with the world");
}
catch (error) {
logger.error("Application failed to start", { error });
process.exit(1);
}
}
main();