@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.
53 lines (47 loc) • 2.12 kB
JavaScript
import { ConfigLoader } from "./config/agent.config.js";
import { PolybiousAgent } from "./core/agent.js";
import { ContextualMemoryMatrix } from "./core/contextual-memory.js";
import { CollaborationHub } from "./core/collaboration.js";
import { ScenarioSimulationEngine } from "./core/simulation.js";
import { AdaptiveSkillLoader } from "./core/skill-loader.js";
import { BehavioralEvolutionModel } from "./core/behavioral-evolution.js";
import { ExplainableAI } from "./core/explainable-ai.js";
// Core framework exports - main API as described in README
export { ContextualMemoryMatrix } from "./core/contextual-memory.js";
export { CollaborationHub } from "./core/collaboration.js";
export { ScenarioSimulationEngine } from "./core/simulation.js";
export { AdaptiveSkillLoader } from "./core/skill-loader.js";
export { BehavioralEvolutionModel } from "./core/behavioral-evolution.js";
export { ExplainableAI } from "./core/explainable-ai.js";
// Legacy agent implementation
export { ConfigLoader, PolybiousAgent };
// Service exports
export * from "./services/ai.service.js";
export * from "./services/twitter.service.js";
export * from "./types/agent.types.js";
export * from "./types/tweet.types.js";
// Convenience factory for creating integrated agents
export class PolybiusFramework {
constructor(config = {}) {
this.memory = new ContextualMemoryMatrix(config.memoryCapacity || 2000);
this.collaboration = new CollaborationHub();
this.simulation = new ScenarioSimulationEngine();
this.skillLoader = new AdaptiveSkillLoader();
this.evolution = new BehavioralEvolutionModel(
config.learningRate || 0.1,
config.explorationRate || 0.3
);
this.explainer = new ExplainableAI();
}
async initialize() {
// Setup integrated components
return {
memory: this.memory,
collaboration: this.collaboration,
simulation: this.simulation,
skillLoader: this.skillLoader,
evolution: this.evolution,
explainer: this.explainer
};
}
}