Skip to content

CaoYuhaoCarl/Taogen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Taogen banner

Taogen

Version v0.2.0 Status Active Architecture Multi-agent Runtime Pi Coding Agent License


Ideas take root. Agents grow.

Taogen starts from one minimal terminal harness, unfolds into multi-model intelligence and orchestrated subagents, and lets many workflows arise in the spirit of β€œι“η”ŸδΈ€οΌŒδΈ€η”ŸδΊŒοΌŒδΊŒη”ŸδΈ‰οΌŒδΈ‰η”ŸδΈ‡η‰©.”

Quick Start

1. Install Pi

curl -fsSL https://pi.dev/install.sh | bash

Or via npm:

npm i -g @earendil-works/pi-coding-agent

2. Clone this repo

git clone <repo-url> ~/.pi

3. Set up API keys

cp .env.sample .env

Open .env and fill in your keys. You need at least one provider key to get started:

Provider Used for
OpenAI (Codex) Default model (GPT-5.5)
DeepSeek Scout subagent (DeepSeek V4 Pro)
Anthropic Alternative provider
Google Gemini Alternative provider
MiniMax Alternative provider
OpenRouter Multi-model gateway

Then authenticate inside Pi:

pi
# inside Pi, run:  /auth

4. Install dependencies

cd ~/.pi/agent/npm && npm install && cd ../extensions/flow-title && npm install

5. Run

pi

You should see the green TAOGEN ASCII banner. You're good to go.

What's Inside

~/.pi/
β”œβ”€β”€ .env.sample              # API key template
β”œβ”€β”€ agent/
β”‚   β”œβ”€β”€ settings.json        # Model, theme, and package config
β”‚   β”œβ”€β”€ extensions/           # Custom TypeScript extensions
β”‚   β”‚   └── flow-title/      # ASCII banner header
β”‚   β”‚       β”œβ”€β”€ index.ts
β”‚   β”‚       └── package.json
β”‚   β”œβ”€β”€ prompts/              # Slash-command shortcuts (.md)
β”‚   β”œβ”€β”€ themes/               # Custom color themes
β”‚   β”‚   └── everforest.json
β”‚   └── npm/                  # Installed packages
β”‚       └── (pi-subagents)
└── coms-net/                 # Inter-instance communication

Configuration

agent/settings.json is the main config file:

{
  "defaultProvider": "openai-codex",
  "defaultModel": "gpt-5.5",
  "defaultThinkingLevel": "xhigh",
  "packages": ["npm:pi-subagents"],
  "subagents": {
    "agentOverrides": {
      "scout": {
        "model": "deepseek/deepseek-v4-pro",
        "thinking": "high",
        "fallbackModels": ["openai-codex/gpt-5.5"]
      }
    }
  }
}
  • Default model: GPT-5.5 via OpenAI Codex with extended thinking
  • Scout agent: Uses DeepSeek V4 Pro for fast reconnaissance, falls back to GPT-5.5
  • Theme: Everforest (dark green/earth tones)
  • Subagents: scout, planner, worker, reviewer, and more via pi-subagents

Customization

What Where Docs
Add a model/provider agent/settings.json Models
Write an extension agent/extensions/*.ts Extensions
Add a slash command agent/prompts/*.md Prompts
Change the theme agent/themes/*.json Themes

Documentation

License

MIT