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.1.tar.gz (615.2 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.1-py3-none-any.whl (398.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oclawma-0.4.1.tar.gz
  • Upload date:
  • Size: 615.2 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.1.tar.gz
Algorithm Hash digest
SHA256 e7e9fd3285d6dfbbf19e0bc5651efe64b380fa7c580aed7e7f9d97c88997146f
MD5 6feab3f937feabdb82b41a8b84cfbd75
BLAKE2b-256 cb99c87247d41a55247899e7094b976185bb760bf9373cc8d8e979770d8f22e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oclawma-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 398.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 218c283d0d94d80f769200fa1356836d8b95075707b3dc287ac0967a316d3bb3
MD5 61c642aed949318827b2b4c12598c420
BLAKE2b-256 624cc025d47e5d256ea6d2a10dfd6ffb89303c51addafb191f06be28b6a338be

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