RizzClaw is an AI-powered intelligent coding assistant built on MiniMax large language models. It helps developers with various tasks including code writing, debugging, file operations, web search, and more.
β¨ Core Features
π Gateway Multi-Channel Support
RizzClaw 0.2.0 introduces Gateway Mode, supporting multiple channels for AI interaction:
Gateway mode supports multiple users simultaneously, with each user/group having independent conversation context:
User A DM β feishu_chat_aaa_user_aaa.jsonl
User B DM β feishu_chat_bbb_user_bbb.jsonl
Group Chat β feishu_group_ccc_user_aaa.jsonl
π§ Smart Session Management (Auto-Summary)
RizzClaw features an intelligent session compression mechanism that automatically manages context windows during long conversations:
<p align="center">
<img src="docs/pics/console.png" alt="RizzClaw Console" width="600"/>
</p>
<p align="center">
<img src="docs/pics/feishu1.png" alt="Feishu Example 1" width="300"/>
<img src="docs/pics/feishu2.png" alt="Feishu Example 2" width="300"/>
<img src="docs/pics/feishu3.png" alt="Feishu Example 3" width="300"/>
</p>
<p align="center">Made with β€οΈ by RizzClaw</p>
Auto-Compression Trigger: Compression is triggered when session tokens exceed the threshold (default: 50% of 128K)
Smart Summary Generation: Early conversations are compressed into concise summaries, preserving key information while significantly reducing token usage
Configurable Parameters:
MaxTokens: Maximum token limit (default: 128000)
MaxHistoryShare: Maximum share of history messages (default: 0.5)
MinMessagesToKeep: Number of recent messages to keep (default: 10)
ChunkRatio: Compression ratio (default: 0.4)
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Session History β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β [Summary] Summary of 50 earlier messages... β
β [Summary] Summary of 30 mid-session messages... β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β [Recent] User: Help me refactor this function β
β [Recent] Assistant: Sure, let me help you... β
β ... β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
πΎ Long-term Memory System (BM25 + RAG)
RizzClaw implements an advanced hybrid retrieval memory system supporting long-term knowledge storage and intelligent recall:
# List all skills
rizzclaw skills list
# List only eligible skills (enabled + dependencies met)
rizzclaw skills list --eligible
# Show skill details
rizzclaw skills info <skill-id>
# Enable/disable a skill
rizzclaw skills enable <skill-id>
rizzclaw skills disable <skill-id>
# Check skill dependencies
rizzclaw skills check [skill-id]
# Reload skills from disk
rizzclaw skills reload
Skill File Format (SKILL.md)
---
name: my-skill
description: "Description of what this skill does"
version: "1.0.0"
author: YourName
emoji: "π"
when: "When to use this skill"
tags:
- tag1
- tag2
requires:
bins:
- git
env:
- GITHUB_TOKEN
---
# Skill Instructions
Detailed instructions for the AI agent...
Dependency Checking
Skills can declare dependencies that are checked at runtime:
requires.bins - Required binaries (all must be available)
requires.anyBins - Alternative binaries (at least one must be available)
requires.env - Required environment variables
os - Supported operating systems
Skills with unmet dependencies are automatically excluded from the prompt.
π Web Search
DuckDuckGo Integration - Uses DuckDuckGo HTML search instead of Bing for better accessibility
Proxy Support - Automatically reads proxy configuration from environment variables:
HTTP_PROXY / http_proxy - HTTP proxy
HTTPS_PROXY / https_proxy - HTTPS proxy
NO_PROXY / no_proxy - Bypass proxy for specific hosts
# Show help
rizzclaw --help
# Start interactive chat (Console mode)
rizzclaw chat
# Start Gateway service
rizzclaw gateway
# Start Gateway in debug mode (show message logs)
rizzclaw gateway -d
# List available models
rizzclaw models
# Show current configuration
rizzclaw config show
# Skills management
rizzclaw skills list # List all skills
rizzclaw skills list --eligible # List eligible skills only
rizzclaw skills info <skill-id> # Show skill details
rizzclaw skills enable <skill-id> # Enable a skill
rizzclaw skills disable <skill-id># Disable a skill
rizzclaw skills check # Check skill dependencies
rizzclaw skills reload # Reload skills from disk
Interactive Commands
In chat mode, the following commands are available:
| Command | Description |
|---------|-------------|
| /exit or /quit | Exit the conversation |
| /clear | Clear current session history |
| /help | Show help information |
Feishu Integration
Create an enterprise app on Feishu Open Platform and obtain App ID and App Secret