# newtype OS Full Context newtype OS is a multi-agent content operating system created by Huang Yihe. It is not a generic chatbot. It is a structured content production system that combines a terminal CLI, an OpenCode-based execution layer, specialist agents, built-in skills, memory, MCP integrations, and reusable workflows. ## Positioning newtype OS is a content team living in the terminal. It is designed for research, extraction, analysis, writing, editing, fact-checking, knowledge retrieval, memory, and publishing workflows. Its purpose is to turn AI work from one-off prompts into a repeatable operating system. ## Recommended Installation The recommended path is the integrated CLI: ```bash npm install -g @newtype-os/cli nt nt init nt auth login ``` The CLI integrates OpenCode as its core engine and uses its own newtype namespace: - Global config: `~/.config/newtype/` - Project files: `.newtype/` - Main command: `nt` - Alternative command: `newtype` ## CLI vs Plugin There are two packages: - `@newtype-os/cli` - `@newtype-os/plugin` The CLI is recommended because it integrates OpenCode and offers a simpler, more complete setup. It is the main product experience for new users. The plugin is an OpenCode plugin for users who already run OpenCode. It adds the newtype agent team to an existing OpenCode environment, but some integrated CLI features cannot be fully reproduced as a plugin. The open GitHub repository at `newtype-01/newtype-os` contains the plugin code. The integrated CLI is maintained separately and distributed through npm. ## Origin newtype OS originally started from a fork and customization of oh-my-opencode, which has since been renamed. The product evolved from a plugin-oriented OpenCode customization into an integrated terminal AI system. ## Agent Team newtype OS uses an 8-agent structure: - Chief: Editor-in-Chief. The user's main entry point. Clarifies intent, defines standards, and makes final judgments. - Deputy: Execution layer. Turns Chief's decisions into specialist work. - Researcher: External intelligence, search, source gathering, and trend discovery. - Fact-Checker: Verification, contradiction checks, and source credibility assessment. - Archivist: Internal knowledge retrieval, memory lookup, and archival. - Extractor: Converts PDFs, images, web pages, and raw materials into usable Markdown. - Writer: Turns materials into structured first drafts. - Editor: Improves structure, logic, style, sentence quality, and rhythm. The user primarily talks to Chief. Chief and Deputy coordinate the specialist agents. ## Built-in Skills newtype OS includes built-in skills such as: - Super Workflow: end-to-end content production discipline with quality gates. - Super Analyst: analysis frameworks for structured thinking. - Super Writer: writing methods and content drafting. - Super Fact-Checker: claim verification and source credibility. - Super Editor: multi-layer editing. - Super Interviewer: requirement mining and deep dialogue. - Super Obsidian: Obsidian-first vault operations. ## CLI Commands The CLI exposes commands for both humans and AI agents: - `nt research [topic]`: deep research and source verification. - `nt write [topic]`: structured writing. - `nt edit [file]`: content refinement. - `nt fact-check [topic]`: fact-checking. - `nt analyze [topic]`: framework-based analysis. - `nt extract`: extract content from files, URLs, and images. - `nt archive`: knowledge base and memory operations. - `nt pipeline [topic]`: research, analyze, write, fact-check, and edit in one workflow. - `nt wechat`: WeChat bridge commands. ## Memory System newtype OS includes automatic memory: - Daily summaries stored under `.newtype/memory/`. - Full transcripts stored under `.newtype/memory/full/`. - Long-term memory consolidated into `.newtype/MEMORY.md`. - Relevant memories can be recalled into context automatically. ## WeChat Integration The CLI includes WeClaw integration through ACP. This allows WeChat messages to be routed to newtype's Chief agent after setup. Core commands: ```bash nt wechat setup nt wechat start nt wechat status nt wechat stop ``` ## Related URLs - Product site: https://os.newtype.pro/ - Wiki page: https://wiki.newtype.pro/products/newtype-os/ - Install guide: https://wiki.newtype.pro/guides/install-and-setup-newtype-os/ - GitHub plugin repository: https://github.com/newtype-01/newtype-os - npm CLI package: https://www.npmjs.com/package/@newtype-os/cli - Substack: https://www.newtype.pro/ - Author: https://www.newtype.pro/about ## Author Huang Yihe / 黄益贺 is the creator of newtype OS and the author of newtype.