This release is a pre-release and may not be stable for production use.
🌉 inSetu: AI Developer OS
inSetu (from in situ, meaning "in position" or "on site", and Setu [सेतु], Sanskrit for "bridge") is a local-first AI Developer OS, Context Gatherer, and Kanban Tracker.
It bridges the gap between Large Language Models (LLMs) and your local file system by treating your codebase as the ultimate source of truth. Instead of pasting code snippets back and forth, inSetu compiles massive, repository-wide context payloads for your LLM, and uses a deterministic "Sync Bridge" to apply the LLM's structural patches directly to your disk.
(Watch the 60-second demo: Yomama Sync Bridge, AST Pre-Flight Bouncer, and Emergency Lifeboat OS)
✨ Core Substrate Engines & Extensions
⚙️ Core Substrate Modules (Tier 2)
- The Yomama Sync Bridge: A strict patching engine utilizing an in-memory Virtual File System. It parses
<<<<<<< SEARCHand>>>>>>> REPLACEblocks, safely applies diffs, runs native pre-flight syntax validation (Python/JS/JSON), and commits to disk atomically. - Context Gatherer: Scrapes mapped repositories to compile massive
.txtcontext payloads (RAG) for Large Language Models. - Virtual File System (VFS): Asynchronous commit pipeline, POSIX path sandbox resolution, and event ledger logging for zero-lock writes.
- Cartographer: Automatically maps repository topologies and generates a deterministic
CODE_INDEX.mdarchitectural blueprint to prevent logic drift.
🔌 Domain Extensions (Tier 3)
- Modular Extensions & Integrations: Pluggable tools including Markdown Kanban Tracker, Integrated Git Operations, Embedded Terminal, Workflows (Flow), Prompt Library, Notes, CSL-JSON Reference Library & Research Inbox, Skills Spaced-Repetition Tracker, Freshdesk Helpdesk Integration, Tailscale Zero-Trust Networking, and Semantic Release Automation.
🏗️ System Architecture
inSetu is built on a modular three-tier architecture:
┌─────────────────────────────────────────────────────────┐
│ Tier 3: Domain Extensions │
│ (Kanban Tracker, Citations, Git, Flow, Prompts, etc.) │
└────────────────────────────┬────────────────────────────┘
│
┌────────────────────────────▼────────────────────────────┐
│ Tier 2: Core Substrate Engines │
│ (Gather Compiler, Yomama Bridge, Cartographer, VFS) │
└────────────────────────────┬────────────────────────────┘
│
┌────────────────────────────▼────────────────────────────┐
│ Tier 1: Kernel & Micro-Kernel │
│ (inSetu Event Bus / VFS Queue + Sutram / yenVUI UI) │
└─────────────────────────────────────────────────────────┘
📋 Prerequisites
Core System Requirements
- Python 3.10+
- Git (Required for repository topology mapping, code indexing, diff generation, and release management)
Optional System Binaries
- Node.js (Optional: Enables pre-flight JavaScript/TypeScript AST syntax validation in the Yomama Sync Bridge)
- Pandoc & LaTeX (Optional: Enables document compilation to PDF/DOCX via the
formatextension) - Tailscale (Optional: Enables zero-trust HTTPS network binding over private Tailnets)
🚀 Installation
# Clone the repository
git clone https://github.com/Callosemic/insetu.git
cd insetu
# Install base OS dependencies
pip install -e .
# (Optional) Install full extension suite (includes Playwright, BeautifulSoup, Mistune, etc.)
pip install -e .[all]
💻 Usage & CLI Reference
Once installed, the insetu command is available anywhere on your system.
1. Boot the Developer OS (serve)
insetu serve
Executing insetu serve treats your current working directory (cwd) as the active workspace root, reading configuration from cwd/.insetu/config.json (and automatically scaffolding local .insetu/ configuration files if initialized in a fresh directory for the first time). The web daemon boots on http://127.0.0.1:5005.
2. Background Daemon Management (service)
On Linux systems, you can install and manage inSetu as an unprivileged systemd user service anchored to your workspace directory:
# Install, enable, and start the systemd user service anchored to cwd
insetu service install
# Inspect background daemon telemetry and systemd status
insetu service status
# Control background service execution
insetu service start
insetu service stop
insetu service restart
# Disable and uninstall the systemd user unit
insetu service uninstall
3. Scaffold Custom Extensions (create-extension)
Scaffold a new Tier 3 extension template directly inside insetu/extensions/:
insetu create-extension <extension_name>
This automatically generates the extension directory, Python engine (engine_<name>.py), Lit Web Component (ext_<name>.js), and vendor manifest (vendor.json).
⚙️ Configuration & Ports
Upon first boot in a workspace, inSetu silently scaffolds your local configuration into .insetu/ inside your current working directory.
By default, the daemon binds to port 5005. You can change this in two ways:
1. Environment Variable (Temporary)
INSETU_PORT=8080 insetu serve
2. Config File (Persistent)
Edit the scaffolded config file (.insetu/config.json inside your working directory) and update the "port" key:
{
"instance_title": "inSetu Developer OS",
"port": 8080
}
(Note: If you are running inSetu as a systemd service, restart it via insetu service restart after modifying the config).
🌍 Remote Access & Proxies
inSetu is designed to be a local-first tool, natively binding to 127.0.0.1:5005 to protect your filesystem. If you want to access your Developer OS remotely (e.g., from an iPad or a different workstation), we recommend using a secure tunneling service rather than opening router ports.
Using Tailscale (Recommended): Tailscale provides a zero-config VPN. You can securely serve the inSetu port over your private Tailnet using Tailscale Serve:
# Expose inSetu securely over your Tailnet
sudo tailscale serve --bg --https=443 http://127.0.0.1:5005
Using Ngrok: If you need temporary public access, you can use Ngrok to forward the port:
ngrok http 5005
(Note: If using Ngrok, ensure you trust the network or use Ngrok's basic auth features, as inSetu has direct write access to your local filesystem).
📚 Architectural Essays & Articles
Read the long-form essays exploring the philosophy, sociology, and zero-bundler architecture behind inSetu:
- The Habitus of the Machine: Why modern web frameworks are hostile to LLMs, and how to build a cognitive substrate that works.
- The Lost Joy of the Refresh Button: Escaping massive compilation chains and reclaiming visceral developer feedback loops.
- The UX of Resistance: Why friction is a feature in AI-assisted coding.
💬 Fractional Consulting & Advisory
Building deterministic AI pipelines, local developer environments, or custom Pydantic guardrails for hardware/software products?
- Book a 15-minute discovery call: Cal.com / Booking Link
- Direct Contact:
hello@insetu.dev
📄 License
Licensed under the Apache License, Version 2.0. See the LICENSE and NOTICE files for details.
Release files for insetu 0.16.1b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| insetu-0.16.1b1.tar.gz | 1.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| insetu-0.16.1b1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.6 MB
Release files / insetu-0.16.1b1.tar.gz
| Download URL | insetu-0.16.1b1.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85ed4f3872ad85ef5f17924878f1cd62e171dce6a5477d0059ea175179c62f3f
|
|
BLAKE2b-256 checksum How to use checksums |
bf0222716694becf14ee3d0f4c5a0872c3b6177507fbff7339de8eb05fdbf87a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / insetu-0.16.1b1-py3-none-any.whl
| Download URL | insetu-0.16.1b1-py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
002a0423302d42033640a4487929611b8ce6d27d51ff9a151bfb16bda45f07a9
|
|
BLAKE2b-256 checksum How to use checksums |
19b137bd63375e6f15ff45c0f194febc7ddf74277c463e5b0af1704b373f9fd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|