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.2.0.tar.gz (287.8 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.2.0-py3-none-any.whl (168.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oclawma-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7e5200745681973432db59e04c9c1abb556e27b88cf8c3328e738880481b0f1d
MD5 b502e634d9b758ced9f70da825ba937d
BLAKE2b-256 71ce504f7435c2ff1f9ed787bc5be9e3d810cb4651ab2d03a125b50847320401

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oclawma-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 168.0 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61cd98bbb232aef099bbde6c876db399f077b8b5069f25dce934af49da4ec43f
MD5 d691ca25e3cad2c9e80c18db67ee21e0
BLAKE2b-256 45ca01e9e8d653b949a072a7fa1d4ee1d2742bda5debf75a194ae874c009ec18

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