npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

oricore

v1.4.1

Published

OriCore - A powerful AI engine with multi-modal support, tool calling, and extensible architecture

Readme

OriCore

强大的 AI 引擎库,5 行代码构建智能助手

npm version License: MIT

English | 中文文档


什么是 OriCore?

OriCore 是一个功能完整的 AI 引擎库,让你可以轻松地在任何应用中集成强大的 AI 能力。

  • 支持 40+ AI 厂商(OpenAI、Claude、DeepSeek、智谱等)
  • 内置 完整工具系统(文件读写、代码搜索、Shell 命令、网络请求)
  • 会话管理 + 上下文压缩
  • MCP 协议 + Skill 系统 无限扩展
  • 5 种专业交互模式(头脑风暴、规划、审查、调试、默认)

只需要 5 行代码,就能给你的产品加上 AI:

import { createEngine } from 'oricore';

const engine = createEngine({ productName: 'MyApp', version: '1.0.0' });
await engine.initialize({
  model: 'deepseek/deepseek-chat',
  provider: {
    deepseek: {
      options: { apiKey: 'your-key' }
    }
  }
});

const result = await engine.sendMessage({ message: '帮我分析这个项目的结构', write: true });
console.log(result.data.text);

快速开始

npm install oricore ai
import { createEngine } from 'oricore';

const engine = createEngine({ productName: 'MyAIAssistant', version: '1.0.0' });
await engine.initialize({
  model: 'deepseek/deepseek-chat',
  provider: {
    deepseek: {
      options: { apiKey: 'your-api-key' }
    }
  },
});

const result = await engine.sendMessage({
  message: '创建一个 TypeScript 函数来计算斐波那契数列',
  write: true,
});

console.log(result.data.text);
await engine.shutdown();

📖 5分钟上手指南


为什么选择 OriCore?

| 你的需求 | OriCore | 其他方案 | |---------|---------|----------| | 快速构建 AI 助手 | ✅ 5 行代码 | ❌ 100+ 行配置 | | 对接任意 AI 厂商 | ✅ 40+ 厂商统一接口 | ⚠️ 各自独立的 SDK | | 开箱即用的工具 | ✅ 文件、Shell、搜索、网络 | ❌ 全部自己实现 | | 节省 API 成本 | ✅ 自动上下文压缩 | ❌ 每次都传完整上下文 | | 插件扩展能力 | ✅ MCP + Skills | ❌ 复杂或无法实现 | | 切换 AI 厂商 | ✅ 改一行代码 | ❌ 重写集成代码 |

为需要快速交付 AI 功能的开发者打造:

  • 5 分钟上手 - 立即获得具备文件访问、代码搜索、Shell 命令的 AI 助手
  • 无厂商锁定 - 随时在 OpenAI、Claude、DeepSeek 等之间切换
  • 生产就绪 - 内置会话持久化、成本追踪、错误处理
  • 易于扩展 - 通过 MCP 服务器或本地技能文件添加自定义工具
  • AI 智能优化 - 上下文压缩和针对不同任务的专业模式

内置工具

| 工具 | 功能 | |------|------| | read | 读取文件(支持文本、图片、PDF) | | write | 写入文件 | | edit | 编辑文件(搜索替换) | | glob | 按模式查找文件 | | grep | 搜索文件内容 | | bash | 执行 Shell 命令 | | fetch | 发起 HTTP 请求 | | task | 启动专用 Agent | | todo | 跟踪任务进度 | | askUserQuestion | 与用户交互问答 |

📖 工具系统详解


使用场景

  • 构建自定义 AI 助手 - 聊天机器人、客服系统
  • IDE 集成 - 代码助手、智能补全
  • 代码审查 - 自动化代码审查系统
  • 调试工具 - 智能错误诊断
  • 教育平台 - 编程教学助手
  • 文档生成 - 自动化文档生成

文档导航

新手入门

核心功能

高级功能


致谢

本项目参考了以下优秀项目的核心架构:

neovate-code - 核心 AI 引擎架构

OriCore 在此基础上进行了重构和精简,移除了 UI、CLI 等外围功能,专注于提供一个功能强大且独立的 AI 引擎库,可以轻松集成到任何项目中。


许可证

MIT © lyw405


支持