Skip to main content

LucidDreamer — Maritime Intelligence System

PyPI version Python License: MIT Tests

A thinking boat that learns its captain, tiles its knowledge, and compiles its intelligence.

What This Is

LucidDreamer is a modular AI system that starts with cloud intelligence and distills it down to edge-ready compiled code. It learns your voice, your commands, your fish, your waters. Every interaction creates a tile. Every tile makes the system smarter. Over time, the system compiles what it knows into deterministic code that needs no inference — zero tokens, zero latency, zero cloud.

The Big Idea

Most AI systems stay soft forever — they always need inference, always cost tokens, always depend on the cloud. LucidDreamer is different. It treats the soft model as a teacher, not a worker. The cloud API's job is to explore the space of possible commands, responses, and decisions. Then it compiles what it learns into hard code. The edge device just runs the compiled code.

Think of it like learning to drive. At first, every action requires conscious thought (inference). Over time, the actions become automatic (compiled). You don't "infer" how to turn the steering wheel — you just do it. LucidDreamer does the same thing for boat operations.

What Can It Do?

Autopilot Voice Control

Tell the autopilot what to do in natural language. The system learns your dialect, your command style, and your preferred responses. Starts with cloud API, ends up compiled on a Raspberry Pi.

Fish Sorting Vision

Camera watches the deck, classifies every fish, counts per species per hold. When uncertain, alerts the deck crew. Every fish gets a photo and an identity. Captain reviews low-confidence calls during transit. Buyer's count is the final anchor.

Chart Intelligence

Reads the navigation display (via screen capture or NMEA data), understands depth contours, predictor lines, radar overlays. The captain can ask "are we going to remain deep enough for the next 10 minutes?" and the system extrapolates from speed, heading, and bathymetric data.

Cocapn Standalone Chatbot

A chatbot that lives on the boat. Learns from every interaction. Tiles its knowledge. Can output mouse movements to the navigation computer (deliberate, visual, captain can stop if wrong). Understands the 5-minute predictor line, radar overlay, color-coded contours, and whatever else the captain teaches it.

Architecture

CLOUD (Starlink)          EDGE (Boat)              HUMAN (Captain)
┌──────────────┐    ┌──────────────────┐    ┌──────────────────┐
│ Heavy Model  │    │ Compiled Tiles   │    │ Voice + Review   │
│ (GPT-4 etc)  │───▶│ (regex+lookup)   │◀──▶│                  │
│              │    │ Gemma 1B fallback│    │ Ground Truth     │
│ Distills to  │    │ Audio tiles      │    │ Oracle           │
│ tiles        │    │ Vision classifier│    │                  │
└──────────────┘    │ Chart reader     │    └──────────────────┘
                    │ Cocapn chatbot   │
                    └──────────────────┘

Installation

pip install luciddreamer

Quick Start

See docs/GETTING-STARTED.md for the full walkthrough.

Documentation

Modules

Module Description
luciddreamer.tiles Tile types, storage, and retrieval
luciddreamer.compiler Rigid structure finder and compiler
luciddreamer.bathymetry Confidence mapping and coverage tracking
luciddreamer.router Route to compiled tiles vs fallback inference
luciddreamer.audio Audio tile management (pre-generated responses)
luciddreamer.chart Chart interpretation and depth prediction
luciddreamer.vision Fish sorting vision pipeline
luciddreamer.cocapn Standalone chatbot integration
luciddreamer.simulators Test simulators for all subsystems

Ecosystem Integration

LucidDreamer integrates with the SuperInstance ecosystem:

  • eisenstein-embed — Bitvector matching for fast tile lookup
  • tensor-spline — Compress tile data for edge storage
  • device-router — Route inference to right device
  • training-throttle — Manage cloud API usage
  • plato-core — Tile provenance and lifecycle
  • flux-lucid — Dream reconstruction and constraint compilation

License

MIT

Metadata

Release files for luciddreamer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for luciddreamer 0.1.0
File Size Uploaded Provenance Actions
luciddreamer-0.1.0.tar.gz 66.1 kB Without provenance Details for luciddreamer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for luciddreamer 0.1.0
File Interpreter ABI Platform Actions
luciddreamer-0.1.0-py3-none-any.whl Python 3 none any Details for luciddreamer-0.1.0-py3-none-any.whl

Total release size: 128.4 kB

Release files / luciddreamer-0.1.0.tar.gz

Download URL luciddreamer-0.1.0.tar.gz
Size 66.1 kB
Tags Source
SHA-256 checksum
How to use checksums
439857b61db75524707e6f3f1a1de158a41699246c87265d7643b92936fe7e14
BLAKE2b-256 checksum
How to use checksums
0939c823470ce24ea14989b65f0181e04d4f7396319fb7869e3851e70bb08185
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / luciddreamer-0.1.0-py3-none-any.whl

Download URL luciddreamer-0.1.0-py3-none-any.whl
Size 62.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ded12698a7ce1f59263307138417d0f01aed25d2a72b5ba0b42cd63231ed215d
BLAKE2b-256 checksum
How to use checksums
d61ff6652a48e2cd4d9d93ea005aee8bae0643ec1fda41ef014228de3121e4e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for luciddreamer 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page