OpenPawlet

作者 JackLuguibin已验证

OpenPawlet (PyPI package name open-pawlet) is a single-process web console for the OpenPawlet ecosystem. It exposes an HTTP API, a browser UI, an OpenAI-compatible /v1/* surface and the embedded agent runtime

104
Stars
37
Forks
Python
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/JackLuguibin/OpenPawlet

快速入门

使用 OpenPawlet 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

OpenPawlet

Languages: 中文说明

What it is

OpenPawlet (PyPI package name open-pawlet) is a single-process web console for the OpenPawlet ecosystem. It exposes an HTTP API, a browser UI, an OpenAI-compatible /v1/* surface and the embedded agent runtime (agent loop, channels, cron, heartbeat) over a single FastAPI port so you can manage bot-related resources locally or in deployment.

Stack: FastAPI backend (consistent error envelope and OpenAPI; Swagger/ReDoc/openapi.json are served by default at /docs, /redoc, /openapi.json — set each *_url to empty to hide) and a Vite frontend under src/console/web (HMR in development, production build supported).

Feature areas

The console roughly covers the areas below (see the UI and OpenAPI for the exact surface):

AreaCapabilities
Bots & agentsInspect and manage bots and agents
Chat & channelsSessions, chat, channels; debug with gateway WebSocket and realtime events
Config & envConsole and bot configuration, environment variables, bot file access (e.g. bot_files)
Tools & extensionsTools, MCP servers, skills, memory
AutomationCron jobs
Ops & observabilityStatus, health, health audit, usage, alerts, activity; control endpoints where applicable
WorkspaceWorkspace browsing and management
Session transcriptsOptional append-only JSONL logs (OpenPawlet) under workspace transcripts/ when agents.defaults.persistSessionTranscript is true; transcriptIncludeFullToolResults controls full tool payloads in the log

Typical use: run open-pawlet start; the embedded OpenPawlet runtime comes up in the same process so you can immediately inspect status, debug sessions, and manage these resources from the console without supervising a separate gateway.

Screenshots

The OpenPawlet web UI (branded “OpenPawlet · AI Assistant” in the console) provides a sidebar for Chat, Control, Agent, and Management areas, plus a top bar for workspace selection, language, theme, and gateway status.

Dashboard overview

The overview page surfaces key metrics (status, uptime, active sessions, messages, tokens, cost), the current model, and charts such as daily token usage and usage by model—useful for at-a-glance monitoring in local or deployed setups.

OpenPawlet dashboard overview

Chat

The chat view supports multiple sessions (list with message counts and last activity), streaming-style replies with optional thinking / progress indicators, and an input area with token budget hints. Navigation to channels, MCP, memory, workspace, agents, skills, and related tools stays one click away in the sidebar.

OpenPawlet chat

Channels

Channels lists integrations for your bot (for example WebSocket, Weixin, DingTalk, Discord, Email, Feishu, Matrix, MoChat, Microsoft Teams, QQ, Slack, Telegram, WeCom, and WhatsApp). You can enable or edit each channel from the grid; the UI notes that changes are saved to config.json and that you should restart the bot for them to take effect.

OpenPawlet channels management

Architecture notes

  • Backend: FastAPI-based OpenPawlet service with a consistent error envelope and OpenAPI documentation.
  • Frontend: Vite app under src/console/web, with HMR in development and a production build path.

Tech stack

LayerTechnology
RuntimePython ≥ 3.11
BackendFastAPI, Uvicorn, Pydantic v2, Loguru
OpenPawlet agent frameworkBundled in this repo (src/openpawlet); installed as part of open-pawlet
FrontendNode.js + npm (see src/console/web)
Single-process entrypointopen-pawlet start (unified FastAPI service)

Quick start

1. Virtual environment and install

A project-local .venv is recommended:

python3.11 -m venv .venv
source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install --upgrade pip
pip install -e ".[dev]"

The openpawlet Python package ships inside this repository; pip install -e ".[dev]" installs the console and agent framework together.

2. Frontend dependencies

cd src/console/web && npm install && cd ../../..

3. Run

All workflows use the open-pawlet command (openpawlet.cli.commands:app): e.g. open-pawlet start, open-pawlet agent, open-pawlet onboard.

Since 0.3.x all services are collapsed into a single FastAPI process: REST API, SPA, OpenAI-compatible /v1/*, queues admin /queues/*, WebSocket /openpawlet-ws/* and the embedded OpenPawlet runtime (AgentLoop, Channels, Cron, Heartbeat) share the same event loop and expose one HTTP port. The legacy standalone gateway / serve commands, open-pawlet-queue-manager, Procfile and honcho entrypoints have all been removed.

Single-command production (recommended for local use)

npm --prefix src/console/web run build
open-pawlet start   # open http://localhost:8000

open-pawlet start runs the unified FastAPI server, mounts the prebuilt SPA from src/console/web/dist (so the UI and /api/v1/* share a single origin and port) and starts the OpenPawlet runtime in the same event loop (no subprocess fork; no ZeroMQ broker). All WebSocket / channel / cron tasks live inside the FastAPI lifespan. On first launch run open-pawlet onboard once if ~/.openpawlet/config.json is missing. Press Ctrl+C to gracefully stop the process.

Flags:

  • --no-spa — skip mounting the prebuilt SPA. Useful for headless API-only deployments where the UI is hosted elsewhere.

Re-run npm run build (or open-pawlet web build) after frontend changes.

Frontend dev mode (hot reload)

Run the unified server and the Vite dev server in two terminals:

open-pawlet start         # single process: FastAPI + embedded OpenPawlet, on http://localhost:8000
open-pawlet web dev       # Vite dev server on http://localhost:3000 (open this for the UI)

Open the Vite URL (http://localhost:3000); Vite proxies /api/*, /v1/*, /queues/* and /openpawlet-ws/* to :8000. You no longer need a separate gateway or queue-manager process.

Cross-platform notes

  • The single-process layout runs unchanged on Windows and Linux; the CLI flips to WindowsSelectorEventLoopPolicy automatically on Windows.
  • Signal handling lives in console.server.signals: Linux uses loop.add_signal_handler, Windows falls back to signal.signal.
  • pytest -q passes on both platforms (only one ExecTool case unrelated to this repository is skipped on Windows because sleep is not on PATH).

Configuration

Settings are resolved with the following priority (highest first):

  1. Environment variables prefixed with OPENPAWLET_SERVER_ (e.g. OPENPAWLET_SERVER_PORT=9000)
  2. Optional .env file in the working directory
  3. ~/.openpawlet/openpawlet_web.json under the top-level server key
  4. Built-in defaults (see console.server.config.schema.ServerSettings)

The JSON file is opt-in: it is no longer written automatically on first boot. Create a starter file with open-pawlet init-config when you want to persist non-default values to disk.

Version history (timeline)

Major releases for the open-pawlet PyPI package (matches [project] version in the root pyproject.toml). The console is built for the OpenPawlet stack; the agent framework lives under src/openpawlet and ships with each install. Newest at the top; older entries below. Add new rows at the top when you cut a release.

2026-04-26 ──●── 0.3.0  Unified single-process FastAPI: console + OpenPawlet OpenAI API + queues admin + gateway collapsed into one entrypoint; ZMQ broker / Procfile / honcho removed; in-process MessageBus; cross-platform Win/Linux hardening; new unified-app end-to-end tests
              │
2026-04-20 ──●── 0.2.2  OpenPawlet WebSocket (session lifecycle, delta stream, busy state); tests/docs; UI & dashboard
              │
2026-04-19 ──●── 0.2.1  Aligned versions (pyproject, API schema, web); OpenPawlet framework + console version metadata
              │
2026-04-19 ──●── 0.2.0  Deps & packaging; README; bundled OpenPawlet framework; WhatsApp bridge under bridge/
              │
2026-04-19 ──●── 0.1.0  First release: FastAPI console for the OpenPawlet agent, CLI, workspace, README / Procfile
DateVersionSummary
2026-04-260.3.0Architecture collapse: all services (REST / SPA / OpenAI-compatible /v1/* / queues admin / WebSocket / OpenPawlet runtime) merged into a single FastAPI process; removed legacy standalone gateway / serve, open-pawlet-queue-manager, Procfile and the ZeroMQ broker; in-process MessageBus replaces ZMQ; unified Win/Linux event-loop policy and signal handling; introduced EmbeddedOpenPawlet runtime and unified-app end-to-end tests.
2026-04-200.2.2OpenPawlet: WebSocket session lifecycle, delta streaming, and busy-state handling in gateway and UI; broader framework test coverage and channel docs. Console: dashboard/charts, activity filters, workspace and bot-profile flows, ErrorBoundary, layout and control tweaks; CI and Vitest hardening.
2026-04-190.2.1Single source of truth for version strings (Python package, server API version, frontend package.json) so OpenPawlet installs report consistent versions end-to-end.
2026-04-190.2.0Dependency and optional extras cleanup, install docs; OpenPawlet framework bundled in-repo; bridge/ (including WhatsApp-related pieces).
2026-04-190.1.0Initial OpenPawlet web console: FastAPI backend, console CLI, workspace features, docs, and Honcho/Procfile entry points.

License

MIT — see LICENSE in the repository root.

常见问题

What is OpenPawlet?

OpenPawlet is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by JackLuguibin. OpenPawlet (PyPI package name open-pawlet) is a single-process web console for the OpenPawlet ecosystem. It exposes an HTTP API, a browser UI, an OpenAI-compatible /v1/* surface and the embedded agent runtime. It has 104 GitHub stars.

Is OpenPawlet safe to use?

Yes. OpenPawlet passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install OpenPawlet?

Clone the repository with "git clone https://github.com/JackLuguibin/OpenPawlet" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is OpenPawlet written in?

OpenPawlet is primarily written in Python. It is open-source under JackLuguibin on GitHub, so you can review or fork the full source.

Are there alternatives to OpenPawlet?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh OpenPawlet against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情