Skip to content

Dappit-io/birdsnest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Bird's Nest β€” 100% Local AI

πŸͺΉ Bird's Nest

The First Local AI Manager for Non-Transformer Models

Run RWKV, Mamba, xLSTM, and StripedHyena locally on your Mac.
No cloud. No API keys. No transformers.

License Python Platform Architecture 100% Local


Why Bird's Nest?

Every local AI tool β€” Ollama, LM Studio, GPT4All β€” is built for transformers. We built for what comes next.

Transformer Tools Bird's Nest
Architecture Attention-based (GPT, LLaMA, Mistral) RNN, SSM, LSTM (RWKV, Mamba, xLSTM)
Memory KV cache grows with context Constant memory
Scaling O(nΒ²) attention O(1) per token
Context Fixed window (4K–128K) Infinite context
RAM for 7B 16GB+ recommended 8GB capable

Screenshots

Chat Interface
Chat with RWKV models β€” streaming responses at 11.5 tok/s

25+ Built-in Tools
25+ tools your local AI can call β€” web search, image gen, music, YouTube, and more

Model Library
One-click model management β€” download, load, and switch between architectures

Image Generation
On-device image generation β€” your RNN calls tools mid-conversation to create images locally


Features

🧠 Multi-Architecture AI Engine

Run 19 text models across 4 non-transformer architectures β€” all from one app:

Family Models Parameters Architecture
RWKV-7 GooseOne 7 variants 0.1B – 13.3B Linear Attention RNN
RWKV-7 World 4 variants 0.1B – 2.9B Multilingual RNN
RWKV-6 Finch 4 variants 1.6B – 14B Previous Gen RNN
Mamba 2 variants 1.4B – 2.8B Selective State Space
xLSTM 1 variant 7B Extended LSTM
StripedHyena 1 variant 7B Hybrid Architecture

🎨 Image Generation

8 image models with per-model quantization (Q4/Q8) and TeaCache acceleration:

  • SDXL Lightning β€” 4-step instant generation
  • FLUX.2 Klein β€” 4B and 9B variants
  • FLUX.1 Dev β€” 12B with LoRA and ControlNet
  • Qwen Image 20B β€” best prompt understanding
  • Z-Image Turbo β€” photorealism specialist
  • FLUX.1 Kontext β€” style transfer and editing
  • SeedVR2 β€” 1-step upscaler

πŸ”§ 25+ Built-in Tools

Your local RNN can call tools mid-conversation β€” no cloud APIs needed:

Tool Description
πŸ” Web Search DuckDuckGo search with inline results
πŸ–ΌοΈ Image Search Find and display images
πŸ“Ί YouTube Search and embed videos inline
🌐 Fetch URL Read and summarize web pages
🎨 Image Gen Generate images from text prompts
🎡 Music Gen Create music with Stable Audio / Riffusion
πŸ”„ Translate 50+ language pairs
πŸ“š RAG Search local documents
πŸ”’ Calculator Math and conversions
🌀️ Weather Current conditions
πŸ“ Todos Task management
🐍 Python Run code inline
πŸ“ File Search Search local files
πŸ–₯️ System System monitoring
...and more Screenshot, Clipboard, Shell, Database, Upscale, Edit Image

🎡 Music Generation

  • Stable Audio Open β€” up to 47s of high-quality audio
  • Riffusion β€” real-time music from text prompts

πŸ”’ 100% Local

  • Zero cloud dependencies β€” everything runs on your machine
  • Zero telemetry β€” no analytics, no tracking, no phone-home
  • Zero API keys β€” download models from HuggingFace and go
  • Your data stays yours β€” chat history, images, everything is local

Quick Start

# Clone the repo
git clone https://github.com/Dappit-io/birdsnest.git
cd birdsnest

# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# Launch Bird's Nest
python -m birdsnest.server

Open http://localhost:7861 in your browser. That's it.

First Run

  1. Click any model in the Model Library panel
  2. Click Download β€” models auto-download from HuggingFace
  3. Once downloaded, click the model to Load it
  4. Start chatting!

System Requirements

Requirement Minimum Recommended
OS macOS 12+ macOS 14+
CPU Any (Intel/Apple Silicon) Apple Silicon (M1+)
RAM 8 GB 32 GB
Python 3.11 3.12+
Disk 5 GB (smallest model) 50 GB (full catalog)

πŸ’‘ Apple Silicon users get Metal acceleration for image generation via MLX. Intel Macs work fine for text models.


Architecture

Browser (localhost:7861)
    β”‚
    β”œβ”€β”€ WebSocket /ws/chat ──► Streaming token generation
    β”‚
    └── REST API
         β”œβ”€β”€ /api/models ──────► Model download, load, switch
         β”œβ”€β”€ /api/image-models ─► Image model management
         β”œβ”€β”€ /api/image-library β–Ί Generated image gallery
         β”œβ”€β”€ /api/music-models ─► Music model management
         └── /api/tools ────────► Tool execution pipeline

Server (FastAPI + Uvicorn)
    β”‚
    β”œβ”€β”€ engines/
    β”‚    β”œβ”€β”€ rwkv_engine.py ───► RWKV v6 & v7 inference
    β”‚    β”œβ”€β”€ mamba_engine.py ──► Mamba SSM inference
    β”‚    └── hf_engine.py ────► xLSTM, StripedHyena (HuggingFace)
    β”‚
    β”œβ”€β”€ image_engine.py ──────► mflux + diffusers (8 models)
    β”œβ”€β”€ tools.py ─────────────► 25+ built-in tool implementations
    β”œβ”€β”€ rag.py ───────────────► Local RAG with sentence embeddings
    └── models.py ────────────► Model catalog definitions

Data Storage

Data Location
Models ~/birdsnest_models/
Generated images ~/birdsnest_workspace/images/
Chat history ~/birdsnest_workspace/.birdsnest_history.json
Config ~/birdsnest_workspace/.birdsnest_*

Contributing

Pull requests welcome! See CONTRIBUTING.md for guidelines, development setup, and how to add new models and tools.

Changelog

See CHANGELOG.md for release history.

License

MIT β€” use it, fork it, build on it.


Built by Dappit β€” The First Web3 Vibe Coding Platform
Build, deploy, and ship decentralized apps with AI β€” no setup required.

dappit.io Β· GitHub