Skip to main content

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

open_pawlet-0.1.0.tar.gz (225.3 kB view details)

Uploaded Source

Built Distribution

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

open_pawlet-0.1.0-py3-none-any.whl (270.7 kB view details)

Uploaded Python 3

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

Hashes for open_pawlet-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7bfc088e9be36ebc492cc5bae5370330131ddd0030fe1c8dc665bf4f3dd17f6b
MD5 2c93f844794ef81ceb78444d482ec61d
BLAKE2b-256 00b0a325a123c6a35eef0ff35a57f834f1c667d6660867fe87e3fcaff5bbed70

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_pawlet-0.1.0.tar.gz:

Publisher: publish.workflow.yml on JackLuguibin/OpenPawlet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for open_pawlet-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3215ab2d11400abd1256de0b65ff33f87b5b2261df857f4714f247e4c9fff84a
MD5 f229334a88219832f066448ec5a7dcbd
BLAKE2b-256 c83d47d673787754ae7f49e60f1a7fdba31edb3703834f51cfa2c0f1ba10c8dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_pawlet-0.1.0-py3-none-any.whl:

Publisher: publish.workflow.yml on JackLuguibin/OpenPawlet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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