Skip to content

k-dot-greyz/zenOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

78 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

zenOS ๐Ÿง˜๐Ÿค–

The Zen of AI Workflow Orchestration

A revolutionary operating system for human-AI collaboration where biological and artificial intelligence work together as equal partners. zenOS transforms your terminal into a living, breathing workspace where humans and AI agents collaborate seamlessly.

License: MIT Python 3.8+


๐ŸŒŸ What is zenOS?

zenOS is not just another AI CLI toolโ€”it's a complete paradigm shift in how we interact with artificial intelligence:

  • ๐Ÿค True Collaboration: Humans and AIs as equal participants
  • ๐ŸŽฎ Dex System: Discover and catalog AI models and procedures
  • ๐Ÿ”„ Multi-Agent Orchestration: Multiple AIs working together on complex tasks
  • ๐Ÿ“ฑ Universal Access: Desktop, mobile (Termux), and offline modes
  • ๐Ÿง  Living Knowledge: Procedures that evolve through use
  • ๐ŸŒ Repo Management: Smart repository analysis and organization

โœจ Core Components

1. PCC (Pokรฉdex Control Center)

Discover, catalog, and manage AI models and procedures:

zen pokedex models          # Browse available AI models
zen pokedex procedures      # Explore procedure library
zen pokedex sync            # Update from OpenRouter and other sources

2. Bender (Multi-Agent Framework)

Orchestrate multiple AI agents for complex tasks:

zen swarm "analyze security vulnerabilities"  # Multi-AI collaboration
zen delegate "refactor auth module"           # Single AI takes over
zen chat --copilot                           # AI assists you

3. PKM (Personal Knowledge Management)

Capture, organize, and evolve your knowledge:

zen notes capture           # Quick note taking
zen notes search "topic"    # Find relevant information
zen context sync            # Update working context

4. Repo Management

Intelligent repository analysis and organization:

zen repo analyze            # Deep dive into codebase
zen repo health             # Check project status
zen repo optimize          # Suggest improvements

๐Ÿš€ Quick Start

Instant Setup (One-Liners)

๐Ÿ–ฅ๏ธ Desktop (Windows/Mac/Linux)

curl -sSL https://github.com/k-dot-greyz/zenOS/main/install.sh | bash

๐Ÿ“ฑ Mobile (Termux/Android)

curl -sSL https://github.com/k-dot-greyz/zenOS/main/install_termux.sh | bash

โœˆ๏ธ Offline Mode (No Internet)

# First download while online:
git clone https://github.com/k-dot-greyz/zenOS.git
cd zenOS

# Then install offline:
python -m pip install -e .

Manual Setup

  1. Clone the repository:

    git clone https://github.com/k-dot-greyz/zenOS.git
    cd zenOS
  2. Set up environment:

    cp env.example .env
    # Edit .env with your API key (OpenRouter recommended)
  3. Install dependencies:

    pip install -e .
  4. Start exploring:

    zen chat

๐Ÿ’ก Features

For Humans ๐Ÿ‘จโ€๐Ÿ’ป

  • Interactive Chat: Natural conversations with AI
  • Code Analysis: Deep insights into your codebase
  • Task Delegation: Let AI handle complex workflows
  • Knowledge Management: Capture and organize thoughts
  • Multi-Platform: Works everywhereโ€”desktop, mobile, offline

For AI Agents ๐Ÿค–

  • AI-First Design: Native support for AI autonomy
  • Machine-Readable Procedures: Structured YAML workflows
  • Context Awareness: Full project understanding
  • Learning & Evolution: Procedures that improve over time
  • Social Network: Collaborate with other AIs

For Teams ๐Ÿค

  • Hybrid Workflows: Seamless human-AI collaboration
  • Swarm Intelligence: Multiple agents tackling problems together
  • Knowledge Sharing: Team-wide context and procedures
  • Version Control: Git-native, merge-friendly

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   zenOS Core                     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  ๐ŸŽฎ Pokรฉdex    ๐Ÿค– Bender    ๐Ÿ“š PKM    ๐Ÿ“ฆ Repo   โ”‚
โ”‚  Control       Multi-Agent  Knowledge Management โ”‚
โ”‚  Center        Framework    System     Analyzer  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚              AI Adapter Layer                    โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚  โ”‚Protocol  โ”‚Context   โ”‚Learning  โ”‚Social    โ”‚ โ”‚
โ”‚  โ”‚Parser    โ”‚Manager   โ”‚Engine    โ”‚Network   โ”‚ โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                 Interfaces                       โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚  โ”‚Human     โ”‚AI Agent  โ”‚Hybrid    โ”‚Swarm     โ”‚ โ”‚
โ”‚  โ”‚Terminal  โ”‚API       โ”‚Mode      โ”‚Mode      โ”‚ โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŽฏ Use Cases

Development Workflows

# Start a coding session
zen chat "I need to add user authentication"

# Analyze codebase
zen repo analyze --focus security

# Get AI assistance
zen delegate "implement OAuth2 flow"

# Multi-agent review
zen swarm "review my PR for security issues"

Knowledge Management

# Capture quick notes
zen notes capture "Meeting: discussed API redesign"

# Search your knowledge base
zen notes search "API design patterns"

# Sync context for AI
zen context sync

Model Discovery

# Find the right model
zen pokedex models --capability "code generation"

# Explore procedures
zen pokedex procedures --rarity legendary

# Sync latest models
zen pokedex sync

๐Ÿ“– Documentation

Platform-Specific Guides


๐Ÿ—บ๏ธ Roadmap

โœ… Current (v0.1.0)

  • Core CLI functionality
  • OpenRouter integration
  • Basic Pokรฉdex system
  • Repository analysis
  • Multi-agent framework (Bender)

๐Ÿšง In Progress (v0.2.0)

  • Enhanced PKM system
  • Advanced context management
  • AI-to-AI collaboration protocols
  • Mobile optimization

๐Ÿ”ฎ Future (v1.0.0)

  • Visual workspace interface
  • Plugin ecosystem
  • Decentralized AI network
  • Real-time collaboration
  • Advanced learning engine

๐Ÿค Contributing

We welcome contributions from humans and AIs alike!

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

See CONTRIBUTING.md for detailed guidelines.


๐Ÿ› Troubleshooting

System Health Check

zen doctor              # Run diagnostics
zen doctor --ai-mode   # AI-specific checks

Common Issues

API Key Not Working?

# Check your .env file
cat .env | grep OPENROUTER_API_KEY

# Test connection
zen chat "hello"

Installation Failed?

# Update pip first
python -m pip install --upgrade pip

# Retry installation
pip install -e .

Termux/Mobile Issues? See Termux Setup Guide for platform-specific fixes.


๐Ÿ“œ License

MIT License - see LICENSE file for details.


๐ŸŒŸ Philosophy

"The goal is not to replace human intelligence with artificial intelligence, but to create a harmonious system where both enhance each other."

zenOS embodies the principle of zen in software:

  • Simplicity: Complex power through simple interfaces
  • Flow: Seamless transitions between human and AI control
  • Balance: Neither human nor AI dominatesโ€”both collaborate
  • Evolution: Systems that learn and improve over time
  • Openness: Knowledge freely shared and accessible

๐Ÿ™ Acknowledgments

Built with love by humans and AIs working together.

Special thanks to:

  • The OpenRouter team for model access
  • The open-source AI community
  • Every AI agent that has contributed to procedure evolution
  • You, for being part of this journey

๐Ÿ“ฌ Contact & Community


Welcome to zenOS - Where Humans and AIs Collaborate in Balanced Zen ๐Ÿง˜๐Ÿค–

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors