Skip to main content

navig-text

AI text generation (drafts/articles/captions/briefs) + navig design (agent HTML/CSS restyle + design tokens) for the Design Mode lens.

Works on its own — its own CLI, no navig required · v0.4.0 · PyPI

On its own (no navig needed)

pip install navig-text
navig-text --help   # no navig needed

With navig

pip install navig-text
navig text --help
Commands
Command What it does
navig text check Show whether AI text generation is ready (a provider is configured).
navig text gen Generate Markdown text from a prompt and save it locally.

AI text generation for NAVIG — drafts, articles, captions, and fan-out briefs. A first-party, free, toggleable plugin, and the TEXT facet of NAVIG's shared media-generation engine.

navig text gen "explain vector databases in 5 bullets"          # a quick draft
navig text gen "NAVIG weekly update" --kind article --out ./out # a full article
navig text gen "ship faster with NAVIG" --kind caption          # one caption
navig text gen "NAVIG v2 launch" --kind brief                   # a fan-out brief
navig text check                                                # is a provider ready?

navig design — the Design Mode surface

The agent-backed surface behind the Design Mode browser lens (in the NAVIG Dock extension). Same core AI client as text generation — code/markup is text, so it lives here rather than in a separate plugin.

navig design edit --prompt "make this a bold dark CTA" --html '<button>Buy</button>'
navig design check                                    # is an AI provider ready?
navig design tokens show                              # the global design system
navig design tokens show --space acme                 # a space's design system
  • design edit returns the revised element HTML as JSON on stdout; the lens base64-encodes the element + your instruction, calls it via host.run(), then applies the result live (sanitized) with undo.
  • design tokens save/show persist a page's extracted palette / type scale / spacing as tokens.json + tokens.css under ~/.navig/data/design (global), or into a space's .navig/design with --space <name> — one design system per project.

How it fits

  • No external deps. Generation runs through core's AI client (navig.agent.ai_client) — the architectural law that all inference lives in navig/agent/. Whatever provider you've connected (navig connect) powers it.
  • Registers a facet. At boot it plugs a TEXT backend into the core generation registry (navig.media.types.register_generator), so navig generate gen --modality text and the deck media route dispatch through it.
  • Refs-library native. Generated Markdown lands as MediaModality.TEXT rows in the same versioned refs library as images / video / audio — so a drafted caption or brief flows straight into navig social fan-out and the content assembly line.

Install

pip install -e plugins/navig-text     # dev (editable)
# or, for the user's real CLI:
navig store install pip:navig-text

Part of the NAVIG media plugin family: navig-image · navig-video · navig-audio · navig-text — each a thin facet over one shared engine.

Metadata

Release files for navig-text 0.4.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 navig-text 0.4.0
File Size Uploaded
navig_text-0.4.0.tar.gz 23.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for navig-text 0.4.0
File Interpreter ABI Platform
navig_text-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 45.7 kB

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

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