Autonomous AI agent framework with cognitive memory, graph-based RAG, and HEXACO personality modeling
Three lines to a streaming AI agent. Add guardrails, tools, and memory as you need them.
import { AgentOS } from '@framers/agentos';
const agent = new AgentOS();
await agent.initialize({
llmProviders: [{
providerId: 'openai',
apiKey: process.env.OPENAI_API_KEY,
models: [{ modelId: 'gpt-4o' }],
}],
});
// Stream a chat response
for await (const chunk of agent.processRequest({
textInput: 'What are the key principles of distributed systems?',
userId: 'user-1',
sessionId: 'session-1',
})) {
if (chunk.type === 'TEXT_DELTA') process.stdout.write(chunk.textDelta);
if (chunk.type === 'FINAL_RESPONSE') console.log('\nā Done');
}
Observational memory with Ebbinghaus decay, Baddeley working memory, HyDE retrieval, and personality-driven encoding.
LLM-as-judge query classification, 3-phase research pipeline, real-time progress streaming via SSE.
5 extension packs ā PII redaction, ML classifiers, topicality, code safety, grounding guard. Two-phase parallel execution.
HNSW vector store, graph-augmented re-ranking, hybrid retrieval, adaptive HyDE thresholding.
Semantic tiered discovery ā 89% token reduction, graph re-ranking, agents self-discover tools mid-conversation.
45+ extensions, 37 channel adapters, 40 curated skills, multi-provider TTS/STT, image generation.
Multi-step planning engine, human-in-the-loop approvals, adaptive execution runtime.
Auto-generated TypeDoc reference ā every class, interface, type, and function documented.
@framers/agentos@framers/agentos-extensions@framers/agentos-extensions-registry@framers/agentos-skills-registry@framers/agentos-skills@framers/agentos-ext-pii-redaction@framers/agentos-ext-ml-classifiers@framers/agentos-ext-topicality@framers/agentos-ext-code-safety@framers/agentos-ext-grounding-guard