Skip to main content

OpenClaw Workflow Management Agent

Project description

OCLAWMA

OpenClaw Workflow Management Agent

CI PyPI Python 3.9+ License: MIT Code style: black

A powerful, extensible AI agent framework with lazy-loaded skills, multi-provider LLM support, and intelligent context management.

๐Ÿš€ Quick Start

Installation

# Install from PyPI
pip install oclawma

# Or install with development dependencies
pip install oclawma[dev]

Start an Interactive Session

# Start with default local model (requires Ollama)
oclawma run

# Use a specific model
oclawma run --model llama3.2:latest

# Use Kimi cloud provider
export KIMI_API_KEY="your-api-key"
oclawma run --provider kimi --model k2.5

# Auto provider (local with cloud fallback)
oclawma run --provider auto

First Conversation

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘           ๐Ÿฆ€ Welcome to OCLAWMA v0.2.0                   โ•‘
โ•‘       OpenClaw Workflow Management Agent                 โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

You: Hello! Can you help me with my project?

Assistant: Hello! I'd be happy to help you with your project. What would you like to work on?

You: exit

โœจ Features

  • ๐Ÿง  Multi-Provider LLM Support: Ollama (local), Kimi (cloud), and auto-fallback
  • ๐Ÿ”ง Lazy-Loaded Skills: Skills load on-demand for fast startup
  • ๐Ÿ“ฆ Pip-Installable Skills: Distribute skills via PyPI
  • ๐Ÿ’ฌ Interactive Sessions: REPL-style conversation with tool calling
  • ๐Ÿ“Š Context Budget: Token usage tracking with proactive management
  • ๐Ÿ—œ๏ธ Context Compression: Automatic summarization when approaching limits
  • ๐Ÿ›ก๏ธ Safety Controls: Configurable safety levels for tool execution
  • ๐Ÿ”Œ Extensible: Easy to add new providers, tools, and skills

๐Ÿ“– Documentation

๐Ÿ› ๏ธ Built-in Tools

Tool Description
read Read file contents
write Write content to files
exec Execute shell commands

๐Ÿงฉ Available Skills

Install additional skills via pip:

# Docker skill
pip install oclawma-skill-docker

# Kubernetes skill
pip install oclawma-skill-kubernetes

# GitHub skill
pip install oclawma-skill-github

๐Ÿ’ป Interactive Commands

During a session, use these commands:

Command Description
exit, quit End the session
/clear Clear conversation history
/compact Summarize conversation to save tokens
/status Show session status and token budget
/help Show available commands

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        CLI Layer                            โ”‚
โ”‚                    (Click commands)                         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ–ผ                     โ–ผ                     โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   Session    โ”‚    โ”‚    Providers    โ”‚    โ”‚    Skills    โ”‚
โ”‚   Runner     โ”‚โ—„โ”€โ”€โ–บโ”‚  (Ollama/Kimi)  โ”‚    โ”‚   Registry   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
        โ”‚                                           โ”‚
        โ–ผ                                           โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚Context Budgetโ”‚                         โ”‚  Lazy Loading   โ”‚
โ”‚  Tracker     โ”‚                         โ”‚   System        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿค Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

๐Ÿ“„ License

MIT License - see LICENSE file for details.

๐Ÿ”— Links

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

oclawma-0.4.2.tar.gz (616.6 kB view details)

Uploaded Source

Built Distribution

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

oclawma-0.4.2-py3-none-any.whl (399.9 kB view details)

Uploaded Python 3

File details

Details for the file oclawma-0.4.2.tar.gz.

File metadata

  • Download URL: oclawma-0.4.2.tar.gz
  • Upload date:
  • Size: 616.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for oclawma-0.4.2.tar.gz
Algorithm Hash digest
SHA256 a205d0147cad76e0428a8b879e2192b85a8d06848259246c9b6dbad96689f25f
MD5 d89865283f39c702e3a8bdd2714d688d
BLAKE2b-256 20e8493f5494669002a91fa5e6ea093ea5a2188b0b77bb959b20cb73d5aebdb0

See more details on using hashes here.

File details

Details for the file oclawma-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: oclawma-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 399.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for oclawma-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37266420ebcae5781e166809f0560a3b52d04aa0debcb09bc196fcce03ba5b50
MD5 13bebbc812cdb18588deb711dada81d2
BLAKE2b-256 93dd30d9bce494c72a28b8f1211145722963dce67d2a4a1e9edbbeca2d98efb5

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