Skip to main content

Project management operations CLI with a plan/apply workflow

Project description

oppie

A project-management operations CLI with a plan/apply workflow. Propose changes from natural-language prompts, review them as structured operations, then apply.

Install

oppie is distributed on PyPI. Core install:

pip install oppie

Optional features ship as extras:

Extra Enables
oppie[linear] Linear ticket provider
oppie[openai] OpenAI-compatible LLM backend (works with Ollama, llama.cpp, LM Studio for local models)
oppie[anthropic] Anthropic Claude backend
oppie[all] All of the above

An LLM backend is required for normal use. Most users want:

pip install 'oppie[openai,linear]'

For Anthropic Claude instead of local models:

pip install 'oppie[anthropic,linear]'

Quickstart

# 1. Initialize an instance in the current directory
oppie init

# 2. (optional) View or edit config
oppie config show

# 3. Ask a question or request a plan
oppie "what's the status of the migration work?"

oppie init walks through picking an instance type (local or Linear-backed), configuring an LLM backend, and optionally seeding context docs.

Usage example

End-to-end: ask for a plan, review it, then apply it.

$ oppie "update the priority of the auth-rewrite ticket to high"
● Classifying intent…
● Generating plan…
Plan plan-01HX… (1 operation)
  - update ticket TKT-42: priority = high

$ oppie apply plan-01HX…
✓ Applied 1 operation

Plans are content-addressed and stored under the instance home; re-running with the same prompt produces the same plan id when nothing has changed.

CLI flag reference

Root flags (apply to every subcommand):

Flag Description
--home PATH Override instance home auto-detection
--debug Enable debug logging (also via OPPIE_LOG_LEVEL)
--no-sync Skip auto-sync; use cached ticket data

Conversational CLI (oppie "<prompt>"):

Flag Description
--force Skip drift prompts when the intent resolves to an apply

Selected subcommand flags:

Command Flag Description
oppie apply <plan_id> --force Overwrite drift without prompting
oppie sync --full Ignore checkpoint, re-sync everything
oppie sync --no-flush Skip flushing the outbound queue

Run oppie --help or oppie <command> --help for the full list.

Exit codes

General contract for all commands:

Code Meaning
0 Success
1 Error

oppie sync returns a more granular code so CI scripts can distinguish retryable failures:

Code Meaning
0 Success
1 Generic error
2 Auth error
3 Rate limited
4 Network error
5 Provider API error

Development

# Install dev deps (all extras)
uv sync --all-extras

# Pre-commit
uv run pre-commit run --all-files

# Tests
uv run pytest

# Lint and format
uv run ruff check .
uv run ruff format .

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

oppie-0.0.1.tar.gz (177.5 kB view details)

Uploaded Source

Built Distribution

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

oppie-0.0.1-py3-none-any.whl (91.8 kB view details)

Uploaded Python 3

File details

Details for the file oppie-0.0.1.tar.gz.

File metadata

  • Download URL: oppie-0.0.1.tar.gz
  • Upload date:
  • Size: 177.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for oppie-0.0.1.tar.gz
Algorithm Hash digest
SHA256 842ee8157b710f057e7f4e56139b1abe6195bc3322f259168da48373df0f04a4
MD5 ed784288db30ebf0a3fdaaab129e74e7
BLAKE2b-256 54f46fae7fb4d2a72e86f0429c7bc01a03f43a7d7b10d629cc4b794e354968f6

See more details on using hashes here.

File details

Details for the file oppie-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: oppie-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 91.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for oppie-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b337f6ae1ac24768f15362e8cea1f3f61a2915df9a9409452d593f569c4d6dad
MD5 a2e9895dc2a87a51fb0bb778c8571c9f
BLAKE2b-256 60b5f23cf34a6992d8f5e6f858d804a2ac03e5f6eeab600518fef2eb2303a376

See more details on using hashes here.

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