Introduction.
Discover Orka(Orchestrate Knowledge & Agents). The framework built for production-ready AI Application Engineering.
?Why choose Orka.JS? ?
Orka.JS is a Typescript framework that abstracts the complexities of embeddings and vector databases to let you focus on building robust RAG architectures and reliable agent workflows.
Multi-model orchestration
LLM Monitoring
Automated Evaluation
Cost Optimization
Core Philosophy
Simplicity First
Readable APIs like orka.ask() and orka.knowledge.create().
Swap Anything
Swap LLM providers or Vector DBs with a single adapter change.
Production Ready
Built-in retries, fallbacks, and observability hooks.
Import Methods
Standard Import
import { createOrka, OpenAIAdapter, MemoryVectorAdapter } from 'orkajs';Optimized Import
Recommendedimport { createOrka } from '@orka-js/core';import { OpenAIAdapter } from '@orka-js/openai';import { MemoryVectorAdapter } from '@orka-js/memory';Enables tree-shaking for minimal bundle size in production.
Quick Example
example.ts
const orka = createOrka({ llm: new OpenAIAdapter({ apiKey: process.env.OPENAI_API_KEY! }), vectorDB: new MemoryVectorAdapter(),}); const result = await orka.ask({ knowledge: 'docs', question: 'How it works?'});Start Building.
From zero to agent in minutes. Our installation guide will help you set up your first workspace.