Skip to main content Switch to mobile version precursor-ai 2026.11.6 Per-topic AI chat interface for work follow-up, where each topic maps to a GitHub issue.
pip install precursor-ai==2026.11.6 Copy PIP instructions
Opinionated approach to work follow-up, built as an AI assistant.
Precursor is a small AI assistant, built with an opinionated approach to tracking work-in-progress conversations alongside the issues they belong to. Every chat is scoped to a topic that can be linked to (or create) a GitHub issue; the assistant uses the issue body, comments, and labels as live context so newer updates outweigh older ones.
One prerequisite, one command. uv brings its own Python, so it's the only thing to install first (instructions):
curl -fsSL https://raw.githubusercontent.com/lrivallain/precursor/main/scripts/install.sh | sh On Windows, in PowerShell:
irm https://raw.githubusercontent.com/lrivallain/precursor/main/scripts/install.ps1 | iex That installs Precursor, registers it to start when you log in, and starts it now. No clone, no Node.js, no build step, no database to create — the published package already carries the interface, and the schema is created on first start. Open the URL it prints (http://localhost:8000 by default) and you're in.
From then on it's managed rather than launched:
precursor service status # is it up, and on which port precursor service update # newest build + restart precursor tray # menu-bar control See Installation for the other ways to install (try it with uvx, no login item, stable channel), what differs on Windows, and Background app for the whole service surface.
GitHub credentials (optional). Precursor resolves a GitHub token in this order: (1) a token saved in Settings → GitHub, then (2) your GitHub CLI session (gh auth token) if you're signed in via gh auth login. So if you already use gh, you don't need to set anything. If several accounts are signed in, set PRECURSOR_GITHUB_CLI_USER= so the token doesn't depend on whoever last ran gh auth switch. A token needs the models:read fine-grained permission (or Copilot access) for real model responses. With no token at all, Precursor falls back to the MockProvider so the chat flow stays usable offline.
Collapsible, searchable, tree-organized topic sidebar
Each topic optionally linked to a GitHub issue; issue labels tag the chat
Multi-turn chat with SSE streaming and markdown rendering
Powered by GitHub Copilot (OpenAI-compatible) with a mock provider for offline development
Providers side by side: configure GitHub Copilot and Azure AI Foundry together, then choose provider/model presets per chat or topic, independently of the global default. Provider pickers show saved configuration status.
MCP both ways: Precursor exposes its conversations as an MCP server and attaches external MCP tool servers per topic
OpenAI-compatible endpoint (opt-in): point VS Code or any OpenAI client at Precursor to use the active provider's models, behind a generated API key
Agents mode (opt-in): hand long-running tasks to an autonomous Copilot SDK agent attached to a topic/chat, followed in a workflow-style tab. Nothing to install — the native runtime it drives is one click in Settings → Agents
Workflows (opt-in): chain agents into a reusable, named pipeline that a coordinator runs unattended — with quality gates, human approval checkpoints, and schedule/webhook triggers
Step by step: split a long ask (a customer email, a brief) into a tree of steps, work and validate each in its own chat, then consolidate one answer back into the topic
Single uvicorn process in production — FastAPI serves the API and mounts the built React SPA
Runs in the background: one-command install, a login item, a menu-bar icon showing whether it's up, and precursor service update to pull the newest build and restart
Plugin-ready: backend entry points + a frontend extension registry, designed for things like a future drawio preview/generator
A source checkout is the contributor path — it additionally needs Node.js for the frontend toolchain:
git clone https://github.com/lrivallain/precursor.git && cd precursor make sync # uv sync + npm --prefix frontend install cp .env.example .env uv run precursor --dev # uvicorn --reload + Vite HMR (Ctrl-C stops both) After a git pull, the next start rebuilds a stale frontend and runs the Alembic migrations on its own. See CONTRIBUTING.md for the quality gates and the rest of the dev stack.
precursor/ ├── precursor/backend/ │ ├── main.py # FastAPI app + SPA mount + lifespan │ ├── config.py # pydantic-settings │ ├── db.py # async SQLAlchemy engine + session │ ├── models/ # Topic, Message, AppSetting │ ├── schemas/ # Pydantic request/response models │ ├── routers/ # topics, chat (SSE), settings, github, mcp │ ├── services/ │ │ ├── llm/ # provider protocol + GH Models + mock │ │ ├── github_client.py │ │ └── mcp/ # server + client manager │ ├── plugins/ # entry-point loader + registry │ └── alembic/ # migrations ├── frontend/ │ ├── src/components/ # Sidebar, ChatPanel, SettingsPanel, MessageBubble │ ├── src/lib/ # api, sse, plugins, theme, types │ └── vite.config.ts # built to frontend/dist → bundled into the wheel ├── pyproject.toml # uv project: deps, build (hatch-vcs CalVer), tooling ├── uv.lock # uv-managed lockfile (committed) ├── Makefile # uv-based dev/build shortcuts └── alembic.ini Design principles
Streaming-first chat with tool-call visualization
Single process in production — no Node.js runtime required
Each topic is an independent conversation context, hydrated from its linked GitHub issue (newer comments preferred over older)
Extensible by design: see docs/plugins.md for the plugin contract — third parties can mount routers, contribute frontend panels, and register MCP tools without forking the core
Security & deployment model
Specific things to keep local:
The API and SPA have no auth — anyone who can reach the port has full access to your topics, settings, and stored tokens.
The optional command-runner MCP tool can execute shell/Python/Node. Keep the Docker "jail" enabled; disabling it grants full local-disk access.
The built-in MCP-over-HTTP transport is off by default and only binds to loopback — leave it that way unless you front it with auth.
Secrets (the GitHub token, LLM provider keys) live in the local DB (set via Settings) and are never echoed by the API. Don't commit .env. The one exception is the opt-in OpenAI-compatible endpoint's own key, shown in Settings so you can paste it into clients.
See SECURITY.md for vulnerability reporting.
Precursor uses CalVer (YYYY.M.MICRO, e.g. 2026.6.0). The version is a single source of truth derived from git tags by hatch-vcs at build time — there is no literal to edit. The running version is exposed at GET /api/version and shown in the Settings panel.
Every night at 01:17 UTC, GitHub Actions releases unreleased, CI-green changes from main under a new immutable v tag, with artifacts on GitHub and PyPI. No changes means no release; manual releases remain available. The rolling nightly prerelease follows main only after CI succeeds on the exact commit; website deployment remains independent. See RELEASING.md, release notes, and CHANGELOG.md.
📖 Website & full documentation — feature guides, installation, configuration, architecture, and contribution docs, published from website/ on every push.
Definition files — agents & workflows (work in progress) and live summary templates
Author: Precursor contributors
Both files in this release have provenance metadata.
agents kanban postgres tray
chat copilot fastapi github mcp
Development Status 3 - Alpha
License OSI Approved :: MIT License
Programming Language Python :: 3.12
Release files for precursor-ai 2026.11.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 92.0 MB
Release files / precursor_ai-2026.11.6.tar.gz
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.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Security for precursor-ai 2026.11.6
Both files in this release have been uploaded with provenance metadata.
With provenance precursor_ai-2026.11.6.tar.gz Nov 11, 2026
Attestation for precursor_ai-2026.11.6.tar.gz
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
Dec 2, 2026 2 release files Full provenance
Dec 1, 2026 2 release files Full provenance
Nov 28, 2026 2 release files Full provenance
Nov 27, 2026 2 release files Full provenance
Nov 26, 2026 2 release files Full provenance
Nov 25, 2026 2 release files Full provenance
Nov 24, 2026 2 release files Full provenance
Nov 22, 2026 2 release files Full provenance
Nov 20, 2026 2 release files Full provenance
Nov 19, 2026 2 release files Full provenance
Nov 18, 2026 2 release files Full provenance
Nov 17, 2026 2 release files Full provenance
Nov 13, 2026 2 release files Full provenance
Nov 11, 2026 2 release files Full provenance
Nov 10, 2026 2 release files Full provenance
Nov 7, 2026 2 release files Full provenance
Nov 6, 2026 2 release files Full provenance
Nov 5, 2026 2 release files Full provenance
Nov 4, 2026 2 release files Full provenance
Nov 3, 2026 2 release files Full provenance
Oct 31, 2026 2 release files Full provenance
Oct 30, 2026 2 release files Full provenance
Oct 29, 2026 2 release files Full provenance
Oct 24, 2026 2 release files Full provenance
Oct 23, 2026 2 release files Full provenance
Oct 20, 2026 2 release files Full provenance
Oct 17, 2026 2 release files Full provenance
Oct 16, 2026 2 release files Full provenance
Oct 15, 2026 2 release files Full provenance
Oct 13, 2026 2 release files Full provenance
Oct 10, 2026 2 release files Full provenance
Oct 9, 2026 2 release files Full provenance
Oct 8, 2026 2 release files Full provenance
Oct 7, 2026 2 release files Full provenance
Oct 6, 2026 2 release files Full provenance
Oct 2, 2026 2 release files Full provenance
Oct 1, 2026 2 release files Full provenance
Sep 30, 2026 2 release files Full provenance
Sep 29, 2026 2 release files Full provenance
Sep 28, 2026 2 release files Full provenance
Sep 27, 2026 2 release files Full provenance
Sep 25, 2026 2 release files Full provenance
Sep 24, 2026 2 release files Full provenance
Sep 21, 2026 2 release files Full provenance
Jul 19, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




