Skip to main content

OpenPawlet console with embedded nanobot AI assistant framework

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 Bundled in this repo (src/nanobot); installed as part of open-pawlet
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 uninstall -y nanobot-ai  # if you still had the old PyPI package; otherwise skip
pip install -e ".[dev]"

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

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.2.1.tar.gz (540.2 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.2.1-py3-none-any.whl (649.2 kB view details)

Uploaded Python 3

File details

Details for the file open_pawlet-0.2.1.tar.gz.

File metadata

  • Download URL: open_pawlet-0.2.1.tar.gz
  • Upload date:
  • Size: 540.2 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.2.1.tar.gz
Algorithm Hash digest
SHA256 81ff82d0411a8b291badd2b7ec5166d6dd38028bf5041dc389f5e4accfd702b4
MD5 d4eb581a21142b73952e238ecbf0e376
BLAKE2b-256 423384e3222817e98c133a94d485393eaf8178191922799f440a92b8dfdafc7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_pawlet-0.2.1.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: open_pawlet-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 649.2 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34064e5e6acc2814ecccd2005e6daaf4c9dddc52b57d82e43ebf90333c1db3cb
MD5 76b2271ad2b5131d7be8e285c3cd91d3
BLAKE2b-256 0b512f31dc8a358a7fd8efb514fd4dcf6f1603b1b20b54cc0e9937eb89c50b5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_pawlet-0.2.1-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