No project description provided
Project description
OpenPawlet
Languages: 中文说明
What it is
OpenPawlet (PyPI package name open-pawlet) is a web console for the nanobot ecosystem. It exposes an HTTP API and a browser UI that works alongside the nanobot gateway over WebSocket so you can manage bot-related resources locally or in deployment.
Stack: FastAPI backend (consistent error envelope and OpenAPI; docs can be disabled in production via settings) 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):
| Area | Capabilities |
|---|---|
| Bots & agents | Inspect and manage bots and agents |
| Chat & channels | Sessions, chat, channels; debug with gateway WebSocket and realtime events |
| Config & env | Console and bot configuration, environment variables, bot file access (e.g. bot_files) |
| Tools & extensions | Tools, MCP servers, skills, memory |
| Automation | Cron jobs |
| Ops & observability | Status, health, health audit, usage, alerts, activity; control endpoints where applicable |
| Workspace | Workspace browsing and management |
Typical use: run next to nanobot gateway to inspect status, debug sessions, and manage these resources from the console.
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
| Layer | Technology |
|---|---|
| Runtime | Python ≥ 3.11 |
| Backend | FastAPI, Uvicorn, Pydantic v2, Loguru |
| nanobot integration | nanobot-ai from PyPI (see pyproject.toml; optional Git override for fork builds), websockets |
| Frontend | Node.js + npm (see src/console/web) |
| Multi-process (optional) | Honcho + Procfile |
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]"
nanobot-ai is installed from PyPI. To use the JackLuguibin/nanobot fork (e.g. feat/enhance_ws_event_main) instead, run:
pip install --upgrade "nanobot-ai @ git+https://github.com/JackLuguibin/nanobot@feat/enhance_ws_event_main"
2. Frontend dependencies
cd src/console/web && npm install && cd ../../..
3. Run
API only (defaults to 0.0.0.0:8000; tune with NANOBOT_SERVER_* env vars, see ServerSettings):
console server
Frontend dev (waits for the console API and nanobot WebSocket unless SKIP_GATEWAY_WAIT=1 or web dev --no-wait):
console web dev
All-in-one (requires honcho and a working nanobot CLI for the gateway):
honcho start
The default Procfile runs: nanobot gateway, console server, and console web dev.
License
MIT — see LICENSE in the repository root.
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
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 open_pawlet-0.1.0.tar.gz.
File metadata
- Download URL: open_pawlet-0.1.0.tar.gz
- Upload date:
- Size: 225.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bfc088e9be36ebc492cc5bae5370330131ddd0030fe1c8dc665bf4f3dd17f6b
|
|
| MD5 |
2c93f844794ef81ceb78444d482ec61d
|
|
| BLAKE2b-256 |
00b0a325a123c6a35eef0ff35a57f834f1c667d6660867fe87e3fcaff5bbed70
|
Provenance
The following attestation bundles were made for open_pawlet-0.1.0.tar.gz:
Publisher:
publish.workflow.yml on JackLuguibin/OpenPawlet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_pawlet-0.1.0.tar.gz -
Subject digest:
7bfc088e9be36ebc492cc5bae5370330131ddd0030fe1c8dc665bf4f3dd17f6b - Sigstore transparency entry: 1340155124
- Sigstore integration time:
-
Permalink:
JackLuguibin/OpenPawlet@b7ce9578147aff747df1a06c4922a18307b246cf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/JackLuguibin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.workflow.yml@b7ce9578147aff747df1a06c4922a18307b246cf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file open_pawlet-0.1.0-py3-none-any.whl.
File metadata
- Download URL: open_pawlet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 270.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3215ab2d11400abd1256de0b65ff33f87b5b2261df857f4714f247e4c9fff84a
|
|
| MD5 |
f229334a88219832f066448ec5a7dcbd
|
|
| BLAKE2b-256 |
c83d47d673787754ae7f49e60f1a7fdba31edb3703834f51cfa2c0f1ba10c8dc
|
Provenance
The following attestation bundles were made for open_pawlet-0.1.0-py3-none-any.whl:
Publisher:
publish.workflow.yml on JackLuguibin/OpenPawlet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_pawlet-0.1.0-py3-none-any.whl -
Subject digest:
3215ab2d11400abd1256de0b65ff33f87b5b2261df857f4714f247e4c9fff84a - Sigstore transparency entry: 1340155146
- Sigstore integration time:
-
Permalink:
JackLuguibin/OpenPawlet@b7ce9578147aff747df1a06c4922a18307b246cf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/JackLuguibin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.workflow.yml@b7ce9578147aff747df1a06c4922a18307b246cf -
Trigger Event:
workflow_dispatch
-
Statement type: