跳到正文
GitHub·· 6 天前AI 评分36

Oswald AI:本地优先、无审查的自托管数字助手,接入 iMessage、Discord 与 OpenAI 兼容 API

jonahgcarpenter/oswald-ai

AI 导读

Oswald AI 是一个本地优先、自托管的无审查数字助手,可将所选语言模型接入 iMessage、Discord 和 OpenAI 兼容 API,无需付费 API。它支持文本、图片、GIF 与引用上下文对话,具备私有档案记忆、跨会话连续性、联网搜索、图像生成与编辑,以及 MCP 工具连接。项目采用 MIT 许可证。

正文

Oswald AI - Uncensored Digital Servant

Fully local, fully uncensored, with no paid API required.

Overview

Oswald AI is a local-first, self-hosted assistant that brings your chosen language model to iMessage, Discord, and a OpenAI-compatible API. It combines tools, private profile memory, conversation continuity, image understanding, and connected services while keeping you in control of your data.

Features

  • Chat through iMessage, Discord, or the OpenAI-compatible API
  • Send text, images, animated GIFs, and replies with quoted context
  • Search the web, generate and edit images, and use connected MCP tools
  • Remember your preferences, projects, and other useful details across conversations
  • Keep continuity in long conversations and search earlier conversation details

Usage

Discord/iMessage Bot

In DMs or direct chats, send any message:

What is the current weather?

In server channels or group chats, start your message with a mention of Oswald:

@Oswald What is the capital of France?

You can also reply to a message and mention Oswald to include that message as context:

[Replying to Jonah: "The capital of the US is New York"]
@Oswald Is this true?

Recognized replies to Oswald can continue the conversation without another mention:

[Reply to Oswald's message]
Can you elaborate on that?

Commands

Commands are gateway-level slash commands. They are handled before requests reach the model.

In Discord servers and iMessage groups, slash commands must start with a mention of Oswald.

Command Usage Description
/help /help [command] List available commands or show usage for one command.
/new /new Start a fresh session with the latest memory files; past conversations remain searchable until expiry.
/stop /stop Stop the currently running response in this conversation without removing queued prompts.

License

MIT. See LICENSE.

来源:GitHub · github.com