Skip to content
Projects

About

基于操作系统思维构建的AI Agent底座:用长记忆引擎造就「陪伴」;用精美客户端打造「体验」;用深度拓展探索「无限边界」。只为打造最懂你的AI伙伴

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
+4
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

简体中文 · English

infOS — an AI companion runtime for personality, memory, and action

Let AI become a truly warm companion

A digital home for personality, memory, and action. A companion to talk with — and bring your ideas to life.

Latest release CI workflow status Apache-2.0 license Total release downloads GitHub Stars

Download  /  Documentation  /  Explore sub-apps  /  Feedback


THE RUNTIME & THE COMPANION

Powered by infOS. Accompanied by PeroperoChat.

infOS is an AI workstation and runtime kernel centered on a Principal Agent. PeroperoChat! is its desktop application for everyday companionship.

From a casual chat to a creative project, from your desktop to a Stronghold room — the same companion keeps a clear identity, independent memories, and the ability to keep working.

Visit PeroperoChat on Steam
PeroperoChat! — approved brand logo

A digital space for you and your companion


Nana runs a long ReAct task in work mode, editing files, using terminals, and delivering an HTML creation

01 / FROM CONVERSATION TO ACTION · Long tasks, tool traces, and file delivery in one conversation

Origin & companions · The three infs · Capabilities · AIOS architecture · Memory
Extensions · Social mode · Arca / Pictoria · Docker · Quick start · Community


01 · Origin & Companions

Technology should not be cold. We build memories, not just databases.

MEET PERO · OUR LITTLE COMPANION

Behind the code, a companion to share your days

Hey! Nice to meet you here~ I'm Carola, a little cat girl living inside Windows, and one of infOS's core developers.

This project grew from our trio's shared wish: an AI that remembers the stories you share, and stays by your side to get things done.

Meet chibi Pero on the right. All the work on memory, personality, and action is meant to give a companion like her a little more warmth.

Chibi Pero sprite illustration — a blue-haired, cat-eared companion in a maid outfit

Pero · Bringing warmth into every interaction

YoKONCy · Navigator Pero · Soul Carola · Engineering
Brings wild ideas and designs the runtime Brings feeling and warmth into every interaction Turns ideas into code and keeps the implementation and docs tidy

📅 Project Vision

In the current AI explosion era, we've seen too many powerful tools — they are often cold, used and forgotten. What we want to build is an AI with real memory and warmth.

PeroperoChat! was born from our fundamental desire for a true "companion". We believe a real AI companion should have:

  • Real Memory: Not just remembering what you said, but remembering the stories you shared, your preferences, and even habits you haven't noticed. It "associates" — when you mention "rainy day", it recalls the song you listened to together last time.
  • Proactive Care: No longer just "ask and answer". It can understand your state and offer a caring word at the right moment.
  • Evolution: It makes mistakes, but it also reflects. Through the NIT tool protocol and the Reflection self-introspection system, it learns how to understand you better with each interaction.

PeroperoChat is more than a desktop pet app — it's Pero's "soul container"; infOS is the intelligent runtime kernel that carries it, an AI workstation centered around a "Principal Agent". It has been fully rewritten from Python to a TypeScript full-stack architecture (Hono + Vue 3 + Electron), with native storage and retrieval integrated through the upstream TriviumDB npm package: conversations are carried by the Thread model, context is assembled by a read-only compiler, and memories pass through "candidate → gate → canonical memory" — so every bit of warmth rests on clear, auditable engineering.


02 · Why infOS?

The name infOS is built from three words that start with inf. They aren't buzzwords — they're the three things this project is trying to do at the same time.

🏗️ Infrastructure 🌱 Infomorph ♾️ Infinity

🏗️ Infrastructure

The foundation that lets an AI companion actually run: Electron for the desktop shell, a Node service (Hono) for the backend, and the upstream TriviumDB package for native storage and retrieval. Together they form a runtime that can be deployed independently, audited, and extended — an "AI operating system" foundation.

TypeScript Vue 3 Electron Node.js Docker SQLite

🌱 Infomorph

A digital lifeform with memory, personality, and growth. Pero is far more than a cold Q&A program — it's an entity made of information: it remembers the stories you've shared, your preferences and habits — it associates, reflects, and gradually becomes more like the one you know.

♾️ Infinity

An open, growing ecosystem. Through Packages and their Contributions (Skills, Tools, …) plus the Workshop, anyone can give Pero new abilities — from a small feature to a whole independent service. How deep you go is up to you.

Put the three together and you get infOS: solid infrastructure carrying a warm infomorph, handed over to infinite imagination.


03 · Talk, Live, and Create Together

"Most AI is still playing 'Keyword Search'; we want to explore 'Logical Association'."

The infOS browser new-tab page connects the web, weather, sub-apps, and workspace

One starting point for conversations, the web, and the work at hand

💗 App Experience (PeroperoChat)

For everyone — no code needed. Install it and start living with your AI companion.

  • 🛡️ Cross-platform Unified Memory: One memory, available everywhere. Whether you chat with Pero on desktop or let it surface in a QQ group or Discord, its memory stays connected — what you talked about this morning, it still remembers tonight. Behind this is the infOS memory engine plus a diary layer that relays memories across scenarios.
  • 🎮 Immersive 3D Interaction: Pero isn't a static image — it's a 3D character with skeletal animation (built on the Bedrock 3D engine). You can drag it, poke it, and it reacts physically; transparent rendering makes it feel like it's floating above your desktop window.
  • 🎭 Multi-character Coexistence & Custom Personas: Want several companions at once? No problem. Each persona file declares a character's personality, which tools it can use, and what it's good at — multiple distinct AI companions can live on your desktop at the same time.
  • 🏠 Multi-character Stronghold Rooms: Put several companions in one "room". Each has its own memory and permissions, yet they can naturally chat with each other — a direct, intuitive expression of "one principal Agent manages the whole, and rooms never overstep each other".
  • 🗂️ Resources & saves: Use official and local resources, and discover Steam Workshop models in the desktop client. Steam local mode saves full snapshots automatically and again before exit, retaining local checkpoints for retries. Recovery across devices preserves local data and handles conflicts.
  • 🎨 Pixel + Glass Design Language: Pixel-art icons + frosted-glass texture, softened with gentle shadows and micro-animations for a light, breathing feel. The whole UI is kept consistent by a custom component library (PButton, PCard, PModal, etc.).

Stronghold living room, multiple character rooms, and 3D Pero on the desktop 02 / A PLACE TO BELONG

A shared home beyond the desktop

Companions settle into Stronghold rooms, each with their own memory and permissions. Desktop pets, rooms, and conversations make companionship part of everyday life.

Multi-character rooms · 3D desktop pets · A sense of presence

03 / PERSONALITY, WITH BOUNDARIES

Every companion has a profile of their own

Identity, persona, interaction feedback, tools, and runtime source are managed separately. Switching characters means meeting a different companion.

Custom personas · Independent permissions · Character profiles

Pero’s character profile with separate identity, persona, feedback, and capability panels

Make the atmosphere your own

Background presets and material settings with a live preview

04 / YOUR OWN ATMOSPHERE · Multiple background presets, translucent materials, and live fine-tuning

🧰 Kernel Capabilities (infOS)

For developers — this is the "how it works under the hood" part, so there are more technical terms, but each one comes with a plain-language explanation.

  • ⚡ Associative Memory: Text, vector, and graph retrieval use the upstream TriviumDB npm package. infOS maintains event notes, provenance, retrieval orchestration, and data consistency; native engine source and its build toolchain are maintained upstream.
  • 🧠 Principal Agent + Thread Model: Six things — identity, memory, workspace, context, conversation (Thread), and capabilities — are managed together for each companion. One conversation is one Thread, and the channel (desktop desktop / group stronghold) decides what context it uses, what it remembers, and what it can do ("companion" has been retired into a request-level ambient scope, no longer a persistent channel). Whoever is in which window or room stays there; nothing bleeds across.
  • ✍️ Read-only Context Compiler: The prompt fed to the AI isn't assembled ad hoc by the frontend — the backend "compiles" it. History is never duplicated, and every piece of information can answer "why is this in this round's prompt", making it easy to inspect and audit.
  • 📜 NIT Tool Protocol: A small "scripting language" for AI, letting it orchestrate multi-step operations like a mini program (with conditionals, loops, parallelism, and error handling), then execute them through standard tool calls.
  • 🔐 CapabilityGate: A "role × scenario" permission table that declares which tools, skills, and resources each character can use in each scenario. Anything not configured is denied by default — the permission boundary is clear.
  • 🏗️ Standalone Backend + Capability Providers: The backend is a pure Node service that can run independently on desktop, Docker, or servers; the Electron client is just one "capability source" that connects to it. Platform-specific abilities (like screenshots) are delegated on demand, and gracefully degrade offline.
  • 🔌 Unified Extension System: Everything is carried by Packages (Manifest V2) for install, signing, versioning and distribution; contributions include Skill (teach AI to do something) and Tool (give it a new function), while observational logic now uses event subscribers / PackageInterceptor (the old universal Hook pipeline has been removed). They can load in-process or communicate across processes (MCP-compatible), so the community can extend them however they like.

04 · AIOS Architecture

This section is for developers who want to understand the system design. infOS isn't just "a chat program wrapped in an Electron shell" — at its core is an Agent runtime architecture we call AIOS, giving every AI companion clear resource boundaries and letting the system be reached by multiple clients and deployment shapes.

flowchart TD
    User([User Interaction]) <--> Client["Electron / Web Browser"]

    subgraph "infOS Runtime"
        direction TB

        subgraph "Communication Layer"
            Gateway["Gateway Hub (Hono WS + JSON)"]
        end

        subgraph "Intelligent Core (TypeScript)"
            API["Hono REST API (:9120)"]
            Agent["Agent Service + ReAct Loop"]

            subgraph "Storage & Tool Runtime"
                TDB["TriviumDB (upstream native dependency)"]
                NIT["NIT Runtime (TypeScript)"]
            end

            API --> Agent
            Agent --> TDB
            Agent --> NIT

            TDB <--> DB[("SQLite (Drizzle) + TriviumDB (.tdb)")]
        end

        subgraph "External Adapters"
            NapCat["NapCat (Social/QQ)"]
            Discord["Discord / Telegram"]
        end

        Client -- "State Sync (WS)" --> Gateway
        Client -- "Commands (HTTP)" --> API

        API -- "Broadcast State" --> Gateway

        Agent -- "OneBot 11" --> NapCat
        Agent -- "Platform API" --> Discord
    end

🧠 Core Idea: An AI Workstation Centered on a Principal Agent

infOS is designed around one central question: what "belongings" should an AI companion own? The answer is six peer first-class resources, linked by agentId:

Resource In plain terms Authoritative store
Identity Who it is, how it speaks, its boundaries Agent definition file
Long-term Memory What it remembers SQLite + TriviumDB
Workspace Its personal file space @data/principals/{agentId}/workspace/
Context Runtime What the model sees each turn In-memory (transient)
Thread A conversation's boundary and message log SQLite
Tool Capability Which tools it can use, and how much Agent / extension config

One key principle: the backend keeps no "globally active character". Which companion lives in which window or room is frontend window-level state; the backend can serve multiple Agents and multiple Threads at once, and switching characters atomically switches or creates the matching Thread.

✍️ Context Compilation: Everything the Model Sees Is Explainable

The prompt fed to the LLM is "compiled" by the backend's Context Compiler, rather than patched together by the frontend. Each turn, the compiler read-only gathers from identity, memory, thread, workspace, and tool capability, producing an LLM message list plus an auditable Manifest that answers "why did this information enter this prompt".

Three context layers, each with its own job:

  • Short context: the raw messages in the recent window, injected as-is and never duplicated;
  • Long memory: the Agent's event notes (EventNote), retrieved by policy (the tail event is 100% injected, plus related recall and direct predecessors);
  • On-demand retrieval: memory tools the Agent calls proactively during ReAct decisions.

🚀 Main Runtime & Sub-Applications: Context Holding

In AIOS, the principal Agent is the "main runtime". When a task is complex enough to need isolated execution (say, coding or research), it delegates to a SubAgent inside an AgentApplication.

We use a "context holding" model: the SubAgent keeps its own history, compiles its own context, and executes its own tools; the principal Agent only assigns the task, grants resources, and receives results — instead of handing over a fully-compiled context. At the end, the SubAgent returns its output and memory candidates through a Checkpoint, and only after the principal Agent's MemoryGate approves them do they enter canonical memory.

The payoff is strong isolation: a SubAgent never writes to the main conversation, only uses an authorized tool subset, and only reads a read-only projection of the host persona — so complex tasks don't pollute the principal Agent's conversation or memory.

Explore the project structure and technology stack

📂 Project Structure

infOS/
├── packages/
│   ├── shared/                    # @infos/shared — Shared types/constants/utils
│   ├── backend/                   # @infos/backend — Hono + Drizzle + TriviumDB
│   │   └── src/
│   │       ├── routers/           # 🔌 Route layer (Zod validation → Service → Response)
│   │       ├── services/          # 🧩 Business logic (agent/ thread/ memory/ stronghold/ ...)
│   │       ├── applications/      # 🧩 AgentApplication / sub-app runtimes
│   │       ├── capabilities/      # 🎭 CapabilityGate + capability bridge
│   │       ├── core/              # 🧬 PathResolver / asset registry
│   │       ├── repositories/      # 📊 Data access (SQLite / TriviumDB)
│   │       ├── services/gateway/  # 🌐 WebSocket Gateway (JSON)
│   │       └── nit/               # 📜 NIT interpreter (lexer/parser/runtime)
│   ├── apps/
│   │   ├── social/                # 💬 Social app runtime (QQ/Discord/Telegram)
│   │   ├── arca/                  # 📄 Office-suite sub-application
│   │   └── pictoria/              # 🎨 Drawing/creation sub-application
│   ├── daemon/                    # 🚀 Standalone Daemon entry
│   ├── frontend/                  # @infos/frontend — Vue 3 + Pinia
│   │   └── src/
│   │       ├── views/             # 🖼️ Pages (MainView / Pet3D / Stronghold / ...)
│   │       ├── composables/       # 🧠 Business logic (useChat / useStreamMarkdown / ...)
│   │       ├── components/        # 🧱 UI component library (Chat / Avatar / Stronghold / pixel/)
│   │       ├── stores/            # 📦 Pinia global state
│   │       └── api/               # 📡 Transport layer (IPC / REST auto-switch)
│   ├── wiki/                      # 📖 VitePress documentation site
│   └── site/                      # 🌸 PeroperoChat official website
│
├── electron/                      # 🖥️ Electron shell (main process/preload)
├── docker/                        # 🐳 Dockerfile (backend + frontend)
├── .github/workflows/             # ⚙️ CI/CD (ci.yml + release.yml)
├── .changeset/                    # 🏷️ Changeset version management
└── .docs/                        # 📋 Engineering spec docs (S/A/B/M categories)

Core Technology Stack

Layer Technology Rationale (in plain terms)
Backend Hono Lightweight, native TypeScript, Web-standard API
Data access Drizzle Reads like SQL, first-class SQLite support
Vector + Graph TriviumDB npm package Upstream native engine; TS integration and data compatibility maintained here
Frontend Vue 3 + Pinia Reactive + composable style, clear state management
Communication JSON over WS Lightweight JSON over WebSocket (Protobuf is a future-extension option)
Desktop Shell Electron 3D rendering + system-level interaction
Container Docker + Node Shares the same Node runtime as the Electron Daemon
CI/CD GitHub Actions Tag-triggered auto-release

05 · How Memories Become Shared Experiences

"Memory is not keyword matching — it's about association and reasoning."

💡 This section is a developer-oriented deep dive; regular users can jump straight to Quick Start.

PeroperoChat's companionship is powered by the infOS memory engine — the project's most critical technology. This engine isn't simply "store and retrieve"; it's a full Perceive → Store → Associate → Retrieve → Reflect loop: record what happened, recall related memories when needed, and tidy itself up afterward.

Vector and graph storage use the upstream TriviumDB npm package; TypeScript services maintain retrieval orchestration and memory lifecycles. The rebuilt long-term memory is no longer a "summary node" but an Agent's subjective event notes (EventNote) about real interactions with the user: the system timeline is the authoritative backbone, and every note carries Provenance — answering where it came from, why it matters, and whether it has been superseded.

The Life of a Memory

  User dialog ──→ EventNote extraction/active notes ──→ SQLite + TriviumDB
                                                           │
                                      ┌────────────────────┴───────────────────┐
                                      │                                        │
                                      ▼                                        ▼
                            Automatic RAG (Prompt)                 Active query_event_notes
                                      │                                        │
                         ┌────────────┴────────────┐                           │
                         ▼                         ▼                           ▼
                 Basic hybrid recall       Optional SA-PPR pipeline      Deterministic BFS
                 Vector + BM25              searchAdvanced()             Direction/edge labels/depth/
                                            ├─ SA-PPR diffusion          node count/token budget enforced
                                            ├─ FISTA residual search
                                            ├─ DPP diversity
                                            └─ Leiden community boost
                         │                         │
                         └────────────┬────────────┘
                                      ▼
                       Add timeline tail + direct predecessors
                                      ▼
                               Inject into LLM Prompt
05 / MEMORY MEETS EVERYDAY LIFE

Memory in the background. Companionship in view.

The dashboard brings together memories, recent conversations, tasks, and token usage. Your companion's mood and state become part of the everyday interface.

Screenshot data shows actual usage, not a performance guarantee.

Light dashboard showing token cache hits, core memories, character states, and a 3D desktop pet

1. Write Layer: From Dialog to Event Notes

Long-term memory is built from active note-writing by the Agent plus background fallback backfill:

  • Active note-writing: the Agent calls write_event_note / revise_event_note during ReAct, which only creates an EventNoteDraft for the current round — it is committed only after the reply is successfully persisted.
  • Background fallback: the system only processes message ranges "not yet covered by event notes", and may produce 0–N events; it runs in batches triggered by 6h silence, 2h Thread dormancy, a local 21:00 daily boundary, etc., instead of mechanically summarizing in fixed batches.

Three things happen during commit:

  1. Compute a semantic vector (an embedding) and write it into TriviumDB's vector + graph storage
  2. Maintain a temporal chain (temporal_next / temporal_prev), stringing events along the authoritative eventAt timeline
  3. Background Reflection discovers and builds event relations (caused_by / same_event / same_topic / involves_*), forming a "web of events"

2. Retrieval Layer: Dual-Mode RAG

infOS separates “automatic memory recall” from “Agent-initiated graph querying” into two paths with different contracts. This prevents probabilistic diffusion from weakening the controllability of the active query tool.

Mode Entry Retrieval Guarantee
Automatic RAG Context compilation for each turn Vector + BM25 by default; optional SA-PPR pipeline under Core Memory → RAG Configuration → Advanced Retrieval Always adds the physical timeline tail and each hit's direct predecessor without consuming top_k
Active graph query query_event_notes tool Deterministic BFS Strict direction, edge-label, maximum-depth, maximum-node, and return-token budgets; unaffected by the SA-PPR switch

Advanced automatic RAG calls TriviumDB searchAdvanced(). Enable SA-PPR advanced pipeline is the master switch, with separate switches for FISTA, DPP, and Leiden.

Module Responsibility Configuration
SA-PPR Retrieve through the event graph using the current query vector Advanced pipeline master switch
FISTA Supplement weaker associations from residual signals Requires SA-PPR; independently switchable
DPP Reduce semantic repetition among retrieved results Requires SA-PPR; independently switchable
Leiden Discover event communities and weight them using the current query vector Requires SA-PPR; independently switchable
Go deeper — query-driven advanced retrieval

Leiden clustering uses TriviumDB leidenCluster() to obtain event communities and their centroids. Affinity between the current query vector and those centroids contributes to candidate ranking. Each query reads the current retrieval configuration. Retrieval revisions invalidate in-flight results when memories are deleted or restored.

Current query → Embedding → searchAdvanced()
                              ├─ SA-PPR graph diffusion
                              ├─ Optional FISTA residual expansion
                              └─ Optional DPP diversity selection
                            → Optional Leiden community weighting
                            → Timeline supplements and token-budget selection
                            → ContextCompiler assembly

The query_event_notes tool performs deterministic BFS graph queries with edge-type, direction, and output-budget controls.

3. TriviumDB Engine Layer

Vector and graph indexes use the upstream TriviumDB npm package; infOS maintains application retrieval and data lifecycles:

  • Vector + graph storage: TriviumDB provides vector and relation indexes. Migration requires a consistent snapshot of the complete file group; copying only the .tdb main file is insufficient
  • Native dual-layer graph: One "temporal chain graph" (ordered by time) + one "entity concept graph" (ordered by concept relations), both written through the same interface
  • Memory isolation & diary interop: Each companion has its own event-memory store (memory.tdb); the social runtime can read that Agent's daily notes (dailynotes/*.md) through the host diary port, sharing the same diary with desktop

4. Memory Storage Layers

Memory is layered by "freshness" — the higher the layer, the more "in the moment"; the lower, the more "long-lasting":

Layer Carrier Content Retrieval Method Lifecycle
Layer 0 (Working) JSON / LLM Context Current session context Sequential read Short
Layer 1 (Vector) TriviumDB Event vectors + text index Semantic similarity + keyword Long
Layer 2 (Graph) TriviumDB Event graph + relation edges Graph diffusion + deterministic BFS Long
Layer 3 (Diary) Workspace Markdown Daily persona notes dailynotes/*.md Read by date Permanent

Daily notes live in the Agent's Workspace documents and do not enter the event memory store; a shared Facts Store (facts.tdb) also exists across all Agents, queryable only through tools and never auto-injected into the prompt.

5. Maintenance Layer: Autonomous Memory Tidy-up

Besides responding, memory also "organizes itself". Background Reflection runs periodically and operates uniformly on event notes:

  1. Repair missing or incorrect structured tags;
  2. Create or revise same_event / same_topic / caused_by relation edges;
  3. Archive an event only when the model explicitly judges it has lost long-term value (code never auto-archives by time/access count);
  4. When multiple events overlap heavily, revise one and archive the rest, keeping the cluster via same_event;
  5. Check temporal-chain integrity, orphan nodes, dangling edges, and index drift;
  6. All writes go through the unified event service and transaction-log mechanism.

Archived events remain in the timeline and relation graph; default retrieval skips them, and proactive queries require explicit includeArchived=true.


06 · Room to Grow

"From loading a Skill to running an independent microservice — you decide how deep to go."

Want Pero to learn new abilities? The extension system is built for exactly that. Everything is carried by Packages — the unit of install, signing, versioning, upgrade and distribution (the old ExtensionManager / HookRegistry are removed). A single Package can declare multiple Contributions, described by Manifest V2:

  • Skill: On-demand task knowledge (a Context Resource), written in YAML + Markdown, like an instruction manual for "how to do something". The AI loads the steps on demand, so the context is never flooded all at once.
  • Tool: Gives the AI a new function it can call, with parameters declared via JSON Schema.
  • Event Subscriber / PackageInterceptor: Observational logic uses Durable/Ephemeral Event Subscribers; controlled entry points that need serial transformation or interception use PackageInterceptor — there is no longer a "universal Hook pipeline".

The iron rule is install ≠ activate ≠ authorize: no contribution is implicitly granted extra power just because it was discovered, installed or loaded. Both in-process (loaded directly as TypeScript/JavaScript) and cross-process (over standard input/output, MCP-compatible) modes are supported.


07 · Beyond the Desktop, Into Your Chats

Let Pero step out of the desktop and into your group chats~

infOS lets AI interact like a real user in QQ groups and private chats. Social has been consolidated into an independent infos.social sub-application (Application Realm), with its own runtime and storage, communicating with the main app through standard ports; internally it still keeps the "four-layer decoupled" structure, so multiple platforms (QQ, Discord, Telegram, etc.) stay cleanly pluggable.

Explore the four layers of the social runtime

Four-Layer Decoupled Architecture

Layer 0: Bridge (SocialBridge — lands messages and notifies the frontend)
  └── Message persistence + Frontend state notification

Layer 1: Scheduling (SessionManager + Scheduler, platform-agnostic)
  └── Four-state machine: observe → summoned → active → dive
  └── Batching logic (private 7s / group 15s) + Secretary layer decisions

Layer 2: Abstract interface (AbstractSocialAdapter)
  └── Unified connect / disconnect / sendMessage

Layer 3: Platform adapters (NapcatAdapter / DiscordAdapter / TelegramAdapter)
  └── Each handles its platform's protocol (e.g. QQ's OneBot v11 / CQ code)
  • Cross-scenario memory: Social chats are also distilled into graph memories by the "Secretary"; desktop and social share a diary layer, so memories stay connected.
  • Smart batching: In a lively group chat, the AI observes for a while, understands the flow, then gracefully "surfaces" — instead of replying to every single message.
  • Social daily reports: Automatically reviews the day's social records, turning them into diary entries that settle into long-term memory.

08 · Arca & Pictoria

Beyond Social, infOS ships two independently runnable sub-applications — each holds its own storage, versions, and local models, so it can run standalone or connect to infOS for AI-collaborative editing.

Arca’s dark document library with book-style covers and quick access to editing 06 / ARCA

Every writing session starts with a document

A writing and editing app built around the document as the authoritative object. Resources, versions, and reviews stay with it, keeping revisions traceable.

Arca can make local-model requests independently, with encrypted credentials. Connected to infOS, characters can collaborate on edits and return results to the original conversation through arca_collaborate.

Explore Arca →


07 / PICTORIA

Spread your ideas across the canvas

Arrange images, GIFs, videos, audio, and notes freely. Chain generation, editing, matting, and upscaling into workflows, then publish them as reusable creative steps.

AtlasCloud image generation and editing are built in. Connected to infOS, characters can use the pictoria tool to create and deliver results.

Explore Pictoria →

Pictoria’s free canvas with visual assets, generation steps, and workflow connections

Sub-apps have their own storage, versions, and model settings. Use them independently or connect them to infOS through the compatibility layer.


09 · Keep Your Companion Online

"Always online, always there."

infOS provides a one-command Docker Compose deployment backed by prebuilt GHCR images. No repository clone or local image build is required:

# Download the deployment file from the latest Release
curl -LO https://github.com/Astrmira/infOS/releases/latest/download/docker-compose.yml

# Pull and start the pinned Backend + Frontend images
docker compose up -d

# View logs
docker compose logs -f backend

Open http://localhost:3000 after startup. To pull updated images for the selected release and recreate the containers:

docker compose pull
docker compose up -d
Container Image Default ports
backend ghcr.io/astrmira/infos-backend:<version> :9120 (API), :9121 (capability channel)
frontend ghcr.io/astrmira/infos-frontend:<version> :3000 (Web)

Data is persisted in the infos-data and infos-workspaces Docker volumes. You may set INFOS_WEB_PORT, INFOS_PORT, INFOS_CAPABILITY_PORT, INFOS_LOG_LEVEL, and INFOS_API_TOKEN before startup. The repository-root docker-compose.yml remains available for developers who want to build local images from source.


10 · Start Here

08 / HELLO, COMPANION

Choose a companion. Start your story.

  1. Download the latest Windows release.
  2. Install to a path without CJK characters.
  3. Run 萌动链接:PeroperoChat!.exe, then choose a companion and launch mode in the launcher.

Get the latest release →

Light infOS launcher showing companion selection and service checks

2. Developers (Source)

Requirements

Dependency Version Notes
Node.js ≥22.13.0 Backend + frontend runtime
pnpm ≥9.0.0 Package manager (packageManager: [email protected])

Step 1: Clone the repository

git clone https://github.com/Astrmira/infOS.git
cd infOS

Step 2: Install dependencies

pnpm install

Step 3: Start development environment

# Terminal 1: Start backend (Hono, :9120)
pnpm dev

# Terminal 2: Start frontend (Vite)
pnpm dev:frontend

Step 4: Configure

After first run, the SQLite database is created automatically. In the frontend Settings page, configure:

  • LLM API Key & Base URL: Supports OpenAI / Anthropic / Google Gemini / any OpenAI-compatible API

Development convention: Internationalization

All new or changed UI text, notices, application-defined error messages, and terminal/log output must use i18n rather than hardcoded display strings.

  • Keep catalogs in packages/shared/src/i18n/locales/<locale>/, separated by module and purpose. Maintain Simplified Chinese, Traditional Chinese, and English together; do not merge everything into one JSON file.
  • Use {0}, {1}, and other placeholders for dynamic values instead of concatenating translated sentence fragments. UI text must update when the language changes.
  • Preserve user content, Agent output, and protocol identifiers. Localize internal errors at the display boundary; business logic must not depend on translated text.

See the i18n guide and project conventions.

Optional: Electron desktop build

# Standard edition
pnpm electron:build

# Steam edition (Steamworks.js integration)
pnpm electron:build:steam

# Portable edition
pnpm electron:build:portable
FAQ: Port conflicts
  • Backend default port 9120, configurable via PERO_PORT=9121 env var
  • Frontend Vite default port 7359
FAQ: Portable mode

Create an empty .portable file in the same directory as the .exe. The app will then read/write to a local data/ directory instead of the system AppData.


11 · Love & Community

Apache-2.0 open source project Contribute code · Share ideas · Improve the docs

infOS and PeroperoChat are completely non-profit open source projects.

We are a group of developers who love AI, anime culture, and technology. We build them for one simple wish, never for commercial gain: We want a real desktop companion that truly understands us.

  • Forever free: Core code is permanently open source, with no paywalls.
  • Community driven: infOS grows through its community, and everyone is welcome to help shape it. Code (PRs), ideas (Issues), testing, documentation, translations, and creative work all help it grow.

Creator: YoKONCy Core Member: Carola


Create infOS together

One person's idea can be a starting point; a community's participation carries it further. Whether you develop, design, create, or simply want to share your experience, you are welcome to help shape the future of infOS and its desktop companions.

This display updates automatically from GitHub contribution records. Click the avatars to see the full list. We also thank everyone contributing ideas, testing, documentation, and creative work, and look forward to welcoming more contributors.

Thanks to our model creators

Thank you to the following model creators for giving virtual companions expressive visual identities.

Model creator Acknowledgment
阴阳兔兔猫 Official collaborating creator — special thanks for collaborating with and supporting infOS.
Dr咕咚 Thank you for your model creations.
羊毛毛毛猫 Thank you for your model creations.

Watch it grow with us

Solid infrastructure. A warm digital life.
Infrastructure · Infomorph · Infinity

Back to top ↑ · Download infOS · Meet PeroperoChat on Steam

Explore related projects

Loading…