Angel Claw personal AI agent framework
Project description
🪽 Angel Claw
A personal AI agent framework inspired by OpenClaw, using angel-recall for memory and litellm for LLM interactions.
Features
- FastAPI Gateway: HTTP interface for interacting with the agent.
- Multi-Channel Bridge: Connect and pair your agent with Telegram for mobile access.
- Agent-Native Memory: Powered by
angel-recall, providing long-term, evolvable memory for each session. - Proactive Tasks: Built-in background worker for
at,every, andcronschedules. - Multi-Model Support: Uses
litellmto connect to various providers (OpenAI, Anthropic, Ollama, etc.).
Setup
-
Install dependencies:
pip install angel-claw
-
Run the CLI chat:
angel-claw chatNote: On your first run, Angel Claw will automatically create a
.envfile from.env.example. Make sure to edit it and add your API keys. -
Configure environment: Edit the
.envfile and fill in your API keys.MODEL_KEY: Your LLM API key.TELEGRAM_TOKEN: (Optional) Your bot token from @BotFather.
-
Run the gateway (optional):
angel-claw
Usage
For detailed instructions on how to use Angel Claw and its skills system, see the Documentation.
Out-of-the-Box Capabilities
Angel Claw comes pre-loaded with several powerful features. Here are some examples of what you can do:
1. Long-Term Memory
The agent automatically stores and retrieves facts about you.
- Prompt: "Remember that I'm allergic to peanuts."
- Prompt (Later): "What should I avoid at the Thai restaurant?"
- Result: Angel Claw will retrieve your allergy fact and advise you accordingly.
2. Proactive Messaging & Scheduling
Schedule tasks or reminders that the agent will trigger on its own.
- Prompt: "Remind me to check the oven in 20 minutes."
- Prompt: "Every day at 9 AM, check the weather in London and message me if it's raining."
- Prompt: "Schedule a task named 'daily-report' to run
0 18 * * *that summarizes my day."
3. Web Search & Browser Automation
The agent can browse the web to find information or interact with sites.
- Prompt: "Search for the latest news about SpaceX and summarize it."
- Prompt: "Go to https://news.ycombinator.com and tell me the top story."
4. Custom Skill Generation
If Angel Claw doesn't have a tool, it can write one for itself.
- Prompt: "Create a skill called 'currency_converter' that uses an API to convert USD to EUR."
5. ClawHub Skills
Angel Claw can search for and install community-contributed skills from ClawHub.ai.
- Search: "Search ClawHub for frontend skills."
- Install: "Install the 'slopwork-marketplace' skill from ClawHub."
- Note: Installed skills provide instructions (SKILL.md) that the agent will follow immediately.
⚠️ Security Warning: ClawHub skills are community-contributed and unvetted. Always review skills before use, as malicious skills may attempt to steal API keys or sensitive data.
Telegram Bridge
You can interact with Angel Claw from your phone using Telegram:
- Get a Bot Token: Create a bot using @BotFather and add
TELEGRAM_TOKENto your.env. - Start your bot on Telegram and press "Start".
- Pair your chat: Use the
/paircommand with your session ID (e.g.,/pair cli-default). - Angel Claw will now respond to your Telegram messages using that session's memory and skills.
WhatsApp Bridge
Angel Claw supports WhatsApp via a "Link Device" (QR code) method:
- Enable WhatsApp: Add
WHATSAPP_ENABLED=Trueto your.env. - Link Your Device: Run the dedicated login command:
angel-claw login-whatsapp - Scan QR Code: Scan the QR code that appears in your terminal using your phone (WhatsApp > Linked Devices).
- Start Angel Claw: Once linked, you can run
angel-claw chatas normal. - Pair your chat: On WhatsApp, send
/pair <session-id>(e.g.,/pair cli-default) to yourself or the bot's number. - Angel Claw is now connected to your WhatsApp!
Basic Chat
Send a POST request to /chat:
curl -X POST http://localhost:8000/chat \
-H "Content-Type: application/json" \
-d '{"session_id": "user-123", "message": "Hi, I am Alex. Remember that I like Python.", "user_id": "alex"}'
Testing
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file angel_claw-0.5.0.tar.gz.
File metadata
- Download URL: angel_claw-0.5.0.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.1","id":"xia","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b170c53c2d686602daa9cc1c9369eb9c0a9c29834a661b691d633df2b25e4d6d
|
|
| MD5 |
567a04ea3f577d2fbc0a6647b53c9029
|
|
| BLAKE2b-256 |
fb41f32d8a73c90ec784c6e8e2a33fcf3cc802edbc20d55c2a9299fc8a657213
|
File details
Details for the file angel_claw-0.5.0-py3-none-any.whl.
File metadata
- Download URL: angel_claw-0.5.0-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.1","id":"xia","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
353ccfd37d6d8b30febd26a208ab96a938ed731de9eeb6978176b595169e883c
|
|
| MD5 |
d0ffd66472531b89942f47ce37dad12a
|
|
| BLAKE2b-256 |
90e40c33f24be40872d4757183dde8df64b702a7d80051ba35097f279613d9de
|