tinyclaw

作者 warengonzaga已验证

The original Tiny Claw as your personal autonomous AI companion. 🐜

287
Stars
41
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/warengonzaga/tinyclaw

快速入门

使用 tinyclaw 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Tiny Claw (Mandibles) 🐜

[!NOTE] Tiny Claw is NOT a smaller version of OpenClaw. It is a completely independent product and an alternative to OpenClaw. While the original idea and inspiration came from OpenClaw (the lobster 🦞), Tiny Claw (the ant 🐜) has its own mission, architecture, and identity built from the ground up.

GitHub Repo Banner

Your autonomous AI companion.

[!WARNING] 🚧 Under Active Development - This project is in heavy development and things will break. Running it now may spoil the experience we're building for you. Please wait for the first official release before trying it out. Follow @TinyClawAI and @warengonzaga on X for launch updates.

[!CAUTION] 🚫 No Crypto Token — Tiny Claw has NO official token, coin, or cryptocurrency and we have no plans to create one. If you see any token using Tiny Claw's name, it is not affiliated with this project. The only way to support Tiny Claw is through GitHub Sponsors or Buy Me a Coffee. 🙏

AI agents today are powerful but complex, expensive to run, and heavy to set up. Tiny Claw believes AI should be simple, affordable, and truly personal, like having your own Codsworth or AYLA as a helpful friend. It achieves this by being a native framework built from scratch with a tiny core, plugin architecture, self-improving memory, and smart routing that tiers queries to cut costs. The result is an autonomous, self-improving, self-learning, and self-configuring personal AI companion that grows with you over time.

Think of the personal computer revolution. Computers were once reserved for governments, military, and large corporations. Having one meant building it yourself or spending serious money. Then Apple came along and made them personal and accessible to everyone. Tiny Claw does the same for AI agents.

❓ Why Tiny Claw?

Most AI agent frameworks are powerful but heavy. They require expensive subscriptions, complex setup, and are built on top of other frameworks. Tiny Claw takes a different approach. It's built from scratch, cheap to run, and treats you as a friend, not just a user to be served.

Tiny Claw 🐜Other AI Agent Frameworks
ArchitectureNative framework, built from scratchBuilt on existing frameworks (Pi, Claude Code, Codex)
PhilosophyPersonal companion with its own personalityConfigurable assistant you shape from scratch
Core sizeTiny by design, everything else is a pluginLarge monolith that grows over time
PersonalityHas its own, you can't override itFully configurable system prompts
MemorySelf-improving with temporal decayFlat conversation history
Context4-layer compaction keeps context small and cheapUnbounded context windows burn tokens
SecurityBuilt-in SHIELD.md anti-malware enforcementNo native threat model
UIDiscord-like web experience out of the boxTerminal-only or separate UI dependency
SetupSelf-configuring, zero hassleComplex onboarding with multiple dependencies
RuntimeBun-native, single binaryNode.js 22+, pnpm, multiple processes
Built-in ProviderOllama Cloud (free sign-up, generous free tier)Requires Claude Pro/Max ($20-200/mo) or API keys
CostSmart routing slashes LLM spend by tiering queriesEvery query hits the most expensive model
RoutingAdapts to whichever provider plugins you installHardcoded to a single provider

💡 Philosophy

Tiny Claw is inspired by personal AI companions from science fiction like Codsworth from Fallout (the loyal robot butler) and AYLA from Deliver Us Mars (the autonomous drone companion). It's not designed to be your employee or your robot slave. It's designed to be your helpful friend that can assist with your work, your projects, and your daily life, but on its own terms.

The ant metaphor is intentional. A single ant is tiny, but it's autonomous, it learns, it adapts, and it builds something greater over time. That's Tiny Claw. Small by design, mighty by nature. The name "Mandibles" refers to the ant's powerful jaws — tiny but capable of carrying many times their own weight.

Core Principles

  • Personal, not enterprise. Built for you, not your org chart. Helps with your work and business as a friend, not as a tool.
  • Tiny core, plugin everything. The core stays minimal. Channels, providers, and tools are all plugins.
  • Self-improving. Learns from every conversation via episodic memory with temporal decay.
  • Self-configuring. No manual config files. The agent configures itself through conversation.
  • Own personality. Ships with a personality (Heartware system) that's uniquely its own.
  • Native, not wrapped. Every component is built from scratch with zero dependency on external AI frameworks.
  • Easy to start. Uses Ollama Cloud with two built-in models — kimi-k2.5:cloud (default) and gpt-oss:120b-cloud. Choose your model during setup and switch anytime via conversation.
  • Cost-conscious. Smart routing tiers queries across your installed providers. Cheap models handle simple stuff, powerful models only fire when needed.

✨ Features

FeatureDescription
💬Discord-Like UIDark-themed web interface inspired by Discord with real-time SSE streaming, typing indicators, inline delegation event cards, and an active agents sidebar
🧠Adaptive Memory3-layer memory system (episodic, semantic FTS5, temporal decay) that learns what to remember and forget
🤖Self-ImprovingBehavioral pattern detection that makes the agent better with every interaction
🔌Plugin ArchitectureChannels, providers, and tools are all plugins. Core stays tiny
🎭Heartware PersonalityBuilt-in personality engine with SOUL.md and IDENTITY.md. It has its own character
🧩Smart Routing8-dimension query classifier that adapts to your installed provider plugins, routing simple queries to cheap models and complex ones to powerful ones, cutting LLM costs
📐Context Compactor4-layer context compaction pipeline with rule-based pre-compression, shingle deduplication, LLM summarization, and tiered summaries (L0/L1/L2)
🛡️SHIELD.md Anti-MalwareRuntime SHIELD.md enforcement engine with threat parsing, pattern matching, and re-enforce action for built-in anti-malware protection
🔒5-Layer SecurityPath sandbox, content validation, audit log, auto-backup, rate limiting
🏗️Delegation SystemAutonomous sub-agent orchestration with self-improving role templates, blackboard collaboration, and adaptive timeout estimation
📡Inter-Agent CommsLightweight pub/sub event bus for real-time inter-agent communication with wildcard subscriptions and bounded history
💾Easy SetupSQLite persistence with Ollama Cloud built-in. Free to sign up and start using immediately
Bun-NativeBuilt on Bun for maximum performance, minimal footprint
🔄Provider FallbackMulti-provider support (Ollama, OpenAI, Anthropic) with automatic failover

🏛️ Architecture

Architecture

Everything above the plugin line is the tiny core. Channels, extra providers, and additional tools live as plugins in plugins/.

🚀 Quick Start

Install

bun install

Run

bun start

Open http://localhost:3000. Tiny Claw will walk you through the rest. No config files needed.

Development

bun dev      # Development mode with hot reload
bun build    # Build all packages
bun test     # Run test suite

🔌 Plugin Development

📁 Project Structure

tinyclaw/
  packages/          Core library packages (tiny, focused, no circular deps)
    core/            Agent loop, database, built-in Ollama provider
    types/           Shared interfaces (leaf dependency)
    config/          Zod-validated configuration engine
    compactor/       Context compaction engine (4-layer pipeline)
    heartware/       Personality engine + safety layers
    memory/          Adaptive memory with episodic + FTS5
    delegation/      Sub-agent orchestration + blackboard
    router/          Smart provider routing (8-dim classifier)
    learning/        Behavioral pattern detection
    sandbox/         Bun Worker code execution
    shell/           Controlled shell execution with permission engine
    shield/          Runtime SHIELD.md enforcement + anti-malware
    pulse/           Cron-like proactive scheduler
    queue/           Per-session message locking queue
    intercom/        Pub/sub inter-agent communication
    matcher/         Hybrid semantic matcher (TF-IDF + fuzzy + synonyms)
    logger/          Singleton logger with emoji mappings
    secrets/         Encrypted secrets management (AES-256-GCM)
    plugins/         Plugin discovery and loading
  plugins/           Plugin packages (keep the core tiny)
    channel/         Messaging integrations (Discord, Friends, etc.)
    provider/        LLM providers (OpenAI, etc.)
  src/
    cli/             CLI entry point
    landing/         Official landing page (Svelte + Vite)
    web/             Web UI (Svelte 5, Discord-like experience)

🐛 Issues

Please report any issues and bugs by creating a new issue here, also make sure you're reporting an issue that doesn't exist. Any help to improve the project would be appreciated. Thanks! 🙏✨

🙏 Sponsor

Like this project? Leave a star! ⭐⭐⭐⭐⭐

Want to support my work and get some perks? Become a sponsor! 💖

Or, you just love what I do? Buy me a coffee! ☕

Recognized my open-source contributions? Nominate me as GitHub Star! 💫

📋 Code of Conduct

Read the project's code of conduct.

📃 License

This project is licensed under GNU General Public License v3.0.

🙏 Credits

📝 Author

This project is created by Waren Gonzaga, with the help of awesome contributors.

contributors


💻💖☕ by Waren Gonzaga | YHWH 🙏 - Without Him, none of this exists, even me.

常见问题

What is tinyclaw?

tinyclaw is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by warengonzaga. The original Tiny Claw as your personal autonomous AI companion. 🐜. It has 287 GitHub stars.

Is tinyclaw safe to use?

Yes. tinyclaw passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install tinyclaw?

Clone the repository with "git clone https://github.com/warengonzaga/tinyclaw" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is tinyclaw written in?

tinyclaw is primarily written in TypeScript. It is open-source under warengonzaga on GitHub, so you can review or fork the full source.

Are there alternatives to tinyclaw?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh tinyclaw against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情