Skip to main content

FastClaw - AI Agent Framework with multi-channel support

Project description

FastClaw

A lightweight but powerful AI Agent framework in Python.

PyPI Installation (Recommended)

# Install
pip install fastclaw-ai

# Run
fastclaw start

# Persistent running (recommended for server)
nohup fastclaw start > /tmp/fastclaw.log 2>&1 &

Configure Agent

After starting, visit http://localhost:8765 , click Settings in the top right corner to configure main_agent, recommended: deepseek-chat.

Or edit the config file:

vim ~/.fastclaw/workspace/data/agents/main_agent/metadata.json

CLI Usage

# Interactive chat
fastclaw chat

# New session
fastclaw chat --new

# Check status
fastclaw status

Git Clone

git clone https://github.com/kandada/fastclaw.git
cd fastclaw
pip install -r requirements.txt
# Run
python main.py start

# Persistent running
nohup python main.py start > fastclaw.log 2>&1 &

Configure Agent

After starting, visit http://localhost:8765 , click Settings in the top right corner to configure main_agent, recommended: deepseek-chat.

Or edit the config file:

vim workspace/data/agents/main_agent/metadata.json

CLI Usage

# Interactive chat
python main.py chat

# New session
python main.py chat --new

# Check status
python main.py status

Design Philosophy

FastClaw is built on the core concept of event-driven agent orchestration. Key design principles:

  • Graph-based Agent: Uses a directed graph to orchestrate agent behavior, supporting conditional branching between nodes (e.g., tool execution, response generation)
  • Event Streaming: Real-time streaming output of LLM responses for better user experience
  • Tool System: Extensible tool framework supporting Shell commands, skills, and custom integrations
  • Session Management: Persistent conversation history with multi-session support
  • Cron Scheduling: Built-in cron-style task scheduling for automated workflows

Features

  • 🤖 LLM-powered - Built on FastMind framework with streaming support
  • 🔧 Tool Calling - Execute Shell commands, skills, and more
  • Cron Jobs - Schedule tasks with cron expressions
  • 💬 Multi-channel - Feishu, iMessage integrations
  • 🎨 Extensible - Easy to add custom skills and agents
  • 🐍 Python Ecosystem - Seamlessly call professional libraries like numpy and pandas, enabling AI to use Python ecosystem tools as skillfully as humans

Changelog

v1.1.22 (2026-07-22)

  • ✨ New: skill_creator bundled meta-skill — guides the agent to create, update and optimize skills via chat
  • ✨ New: Skills management tab in WebUI — create and edit user skills with Remote Endpoint / Secret support
  • ✨ New: Skills CRUD API endpoints (/api/skills/user) — create, read, update, delete user skills
  • ✨ New: Hot-reload for skills — new skills are auto-registered at runtime, no restart needed
  • ✨ New: "Open Skills Dir" button in WebUI to open the skills directory in file explorer
  • 🔧 Improvement: All bundled skill documentation (SKILL.md) translated to English
  • 🔧 Improvement: Template _template excluded from skill lists
  • 🐛 Fix: Skills list in system prompt now updates when new skills are created

v1.1.21 (2026-07-09)

  • 🐛 Fix: Added python-socks[asyncio] dependency to fix Lark (Feishu) connection failure when using a SOCKS proxy

v1.1.20 (2026-07-03)

v1.1.19 (2026-06-29)

  • 🐛 Fix: Resolved SyntaxError on Python 3.10/3.11 caused by backslash (\) inside f-string {} expressions (a Python 3.12+ syntax)
  • 🔧 Improvement: Added version compatibility comments at f-string usage sites to prevent future regressions

v1.1.18 (2026-06-27)

  • 🔧 Improvement: Added copyright and GPLv3 license headers to all source files

v1.1.17 (2026-06-27)

  • 🐛 Fix: Resolved UnicodeDecodeError on Windows Chinese systems by adding encoding="utf-8" to all read_text() / write_text() calls, fixing the crash on second startup
  • 🐛 Fix: WebUI agent edit/create buttons now show error messages on failure instead of silently doing nothing
  • 🐛 Fix: Removed 3 extra </div> tags from WebUI HTML that could cause DOM parsing issues
  • 🔧 Improvement: Startup messages now show http://localhost:{port} alongside http://0.0.0.0:{port} for easier access on Windows
  • 🔧 Improvement: Added diagnostic logging to silent except blocks in router.py for easier debugging

v1.1.16 (2026-06-26)

  • 🔧 Improvement: Made ripgrep an optional dependency to avoid compilation issues on Windows without MSVC
  • 🔧 Improvement: Added Python 3.13 / 3.14 support

v1.1.15 (2026-06-12)

v1.1.14 (2026-06-12)

v1.1.13 (2026-06-12)

v1.1.12 (2026-06-11)

  • 🐛 Fix: WebUI bugs and cron scheduler bugs

v1.1.11 (2026-06-02)

v1.1.10 (2026-05-31)

v1.1.9 (2026-05-31)

v1.1.8 (2026-05-25)

  • ✨ Feature: LLM Gateway selector (OpenAI / Anthropic) in WebUI agent settings
  • ✨ Feature: Auto-bootstrap default agents from GitHub when workspace is empty
  • ✨ Feature: Auto-generate settings.json with defaults when missing
  • 🔧 Improvement: Increased default Unload Threshold from 80k to 156k

v1.1.7 (2026-05-21)

  • 🐛 Fix: Context unloading now only affects LLM input, messages.jsonl always keeps full history
  • 🐛 Fix: Message timestamps are no longer overwritten on every save
  • 🐛 Fix: CancelledError no longer triggers duplicate response generation
  • 🧪 Test: Added context unloading, sliding window, and timestamp preservation tests

License

GPL-3.0

Copyright (c) 2024-2026 xiefujin. All rights reserved.

Official Website

https://www.fastclaw.world/ | https://fastclaw-ai.com/

Acknowledgments

Inspired by OpenClaw. Special thanks to the open source community.


FastClaw is powerful, but its use depends entirely on the user - all responsibility lies with the user yourself.


Author:xiefujin email: 490021684@qq.com,welcome to contact me.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastclaw_ai-1.1.22.tar.gz (728.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastclaw_ai-1.1.22-py3-none-any.whl (752.7 kB view details)

Uploaded Python 3

File details

Details for the file fastclaw_ai-1.1.22.tar.gz.

File metadata

  • Download URL: fastclaw_ai-1.1.22.tar.gz
  • Upload date:
  • Size: 728.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for fastclaw_ai-1.1.22.tar.gz
Algorithm Hash digest
SHA256 f8de208ed8c72064e9d4a4332da98489dbc6794442d74fb5b220e56b518c9ff9
MD5 a4a9586f26ce61cb7659b4e25f4308aa
BLAKE2b-256 50b5b835bd715be9874faad35027c8534f1f2147a80138eff9ed24fb455dafb9

See more details on using hashes here.

File details

Details for the file fastclaw_ai-1.1.22-py3-none-any.whl.

File metadata

  • Download URL: fastclaw_ai-1.1.22-py3-none-any.whl
  • Upload date:
  • Size: 752.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for fastclaw_ai-1.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 93f1a06396c47667280abfddb487a90ff89efc64ce8819d73b17905255484563
MD5 96e95f9fe1f0a6b2770277485f1e1b8b
BLAKE2b-256 edad5e612581a0d420ddd02ea4356fae96c36598bfa69b8f59593573dd766048

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page