Open Source Framework

OninJS
Build AI Web Agents.

An open-source JavaScript framework for building AI-powered web agents. Create autonomous agents that browse, interact, and act on the web, with zero external dependencies.

Open Source on GitHub

MIT

Open Source License

TS

TypeScript Native

Any

LLM Provider

0

Vendor Lock-in

Built for Agentic Development

Everything you need to build production-ready AI web agents in JavaScript and TypeScript.

Agent-First Architecture

Designed from the ground up for agentic workflows. OninJS treats agents as first-class citizens with built-in lifecycle management, memory hooks, and action APIs.

Agent lifecycle management
Built-in memory hooks
Action API primitives
Composable agent trees

Native Web Interaction

Agents can browse, click, fill forms, extract content, and interact with any webpage natively, without needing an external browser automation layer.

DOM traversal and interaction
Form filling and submission
Content extraction
Navigation and routing

Multi-Agent Orchestration

Coordinate multiple agents running in parallel or in sequence. OninJS provides primitives for agent communication, task delegation, and result aggregation.

Parallel agent execution
Task delegation
Result aggregation
Agent messaging

LLM Provider Agnostic

Connect to any LLM, OpenAI, Anthropic, Gemini, Mistral, or your own self-hosted model, with a unified adapter interface.

OpenAI adapter
Anthropic adapter
Gemini adapter
Custom model support

Open Source and Extensible

Fully open source under MIT license. Extend OninJS with custom plugins, adapters, and action handlers to fit your exact use case.

MIT licensed
Plugin system
Custom adapters
Community-driven

TypeScript Native

Written entirely in TypeScript with full type coverage. Get autocomplete, type safety, and IntelliSense across your entire agent codebase.

Full TypeScript support
Type-safe agent APIs
IntelliSense ready
Strict mode compatible

Agent in Minutes

Get your first web agent running in under 5 minutes.

# Install

npm install oninjs


// Create your agent

import { Agent } from 'oninjs'


const agent = new Agent({

llm: 'gpt-4o',

goal: 'Find the top 10 AI tools on the web',

})


await agent.run()

Start Building Web Agents.

Open source, free forever, and ready for production.