Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

OVOS-Persona

PersonaPipeline adds multi-persona management to OpenVoiceOS (OVOS). Personas are configurable virtual assistants: each one assigns its own set of solver plugins to answer queries, so you can customize how OVOS handles a conversation.

See docs/set-up-personas.md for setups with measured runs, and docs/index.md for the architecture and API reference.


Quick Start

  1. Update the core and install the plugin:
    pip install --pre -U "ovos-core>=0.5.1" ovos-persona
    
  2. Install or update the plugins and skills a persona needs:
    pip install --pre -U skill-wolfie ovos-skill-wikipedia ovos-skill-wikihow skill-wordnet ovos-openai-plugin
    
  3. Uninstall the ChatGPT fallback skill, since ovos-persona replaces it:
    pip uninstall skill-ovos-fallback-chatgpt
    
  4. Edit mycroft.conf. The "..." below is a placeholder for your existing pipeline entries, not literal text.
    {
      "intents": {
          "persona": {
            "handle_fallback":  true,
            "default_persona": "Remote Llama"
          },
          "pipeline": [
              "stop_high",
              "converse",
              "ocp_high",
              "padatious_high",
              "adapt_high",
              "ovos-persona-pipeline-plugin-high",
              "ocp_medium",
              "...",
              "fallback_medium",
              "ovos-persona-pipeline-plugin-low",
              "fallback_low"
        ]
      }
    }
    
  5. Restart OVOS.
  6. Check the logs to confirm the persona loaded without errors:
    cat ~/.local/state/mycroft/skills.log | grep persona
    
  7. Read the Persona Intents section for the voice commands.

Features

  • Multiple personas: manage a list of personas, each with its own solver plugins.
  • Dynamic switching: activate a different persona at any time.
  • Per-session state: the active persona and conversation memory are tracked per session, so concurrent conversations stay isolated.
  • Short-term memory: a default short-term memory ships with ovos-persona and is always available. Swap it for any opm.agents.memory plugin through the memory_module config key. See docs/memory.md.
  • Conversational: personas can handle utterances directly, without a matching skill.
  • Personalize: create a persona with a simple .json file. See docs/defining-personas.md.

Installation

pip install --pre ovos-persona

Persona Intents

The persona service supports voice intents for managing persona interactions: listing personas, checking the active persona, activating a persona, asking a persona a single question, and stopping the conversation. Each intent corresponds to a messagebus event.

See the OVOS technical manual: Persona Pipeline for the full list of example utterances and bus events.


Pipeline Configuration

Where you place "ovos-persona-pipeline-plugin-high" in the pipeline decides whether the active persona gets full control of an utterance, or only handles it after high-confidence skills fail to match. "ovos-persona-pipeline-plugin-low" handles utterances as a fallback even when no persona is explicitly active, replacing OpenVoiceOS/ovos-skill-fallback-chatgpt.

See the OVOS technical manual: Persona Pipeline for the pipeline configuration strategies and example mycroft.conf snippets.


Creating a Persona

Personas are configured with JSON files. A persona can come from:

  1. a plugin (for example, the OpenVoiceOS/ovos-openai-plugin), or
  2. a user-defined JSON file in ~/.config/ovos_persona.

Personas rely on solver plugins, which try to answer a query in sequence until one succeeds.

Example: a persona using a local OpenAI-compatible server. Save this as ~/.config/ovos_persona/llm.json:

{
  "name": "My Local LLM",
  "solvers": [
    "ovos-chat-openai-plugin"
  ],
  "ovos-chat-openai-plugin": {
    "api_url": "https://llama.smartgic.io/v1",
    "key": "sk-xxxx",
    "system_prompt": "You are a helpful assistant who gives very short and factual answers in maximum twenty words and you don't use emojis",
    "model": "llama3.1:8b"
  }
}

A persona does not need an LLM. Simpler solvers work too, even without a GPU.

Example: OldSchoolBot, a persona built from non-LLM solvers.

{
  "name": "OldSchoolBot",
  "handlers": [
    "ovos-wikipedia-plugin",
    "ovos-ddg-plugin",
    "ovos-wolfram-alpha-plugin",
    "ovos-wordnet-plugin",
    "ovos-solver-rivescript-plugin",
    "ovos-solver-failure-plugin"
  ],
  "ovos-wolfram-alpha-plugin": {"appid": "Y7353-xxxxxx"}
}

Behavior:

  • Searches online sources such as Wikipedia and Wolfram Alpha.
  • Falls back to offline word lookups through WordNet.
  • Uses a local chatbot (RiveScript) for chitchat.
  • The "failure" solver catches errors so the persona always returns a response.

HiveMind Integration

This project includes a native hivemind-plugin-manager integration for interoperability with the HiveMind ecosystem.



Contributing

Found a bug or have an idea? Open an issue or submit a pull request.


Credits

Developed by TigreGótico for OpenVoiceOS.

NGI0 Commons Fund

This project was funded through the NGI0 Commons Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101135429.

Metadata

Release files for ovos-persona 0.9.0a36

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

Source distribution (sdist)

Source distribution for ovos-persona 0.9.0a36
File Size Uploaded Provenance Actions
ovos_persona-0.9.0a36.tar.gz 105.8 kB Without provenance Details for ovos_persona-0.9.0a36.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-persona 0.9.0a36
File Interpreter ABI Platform Actions
ovos_persona-0.9.0a36-py3-none-any.whl Python 3 none any Details for ovos_persona-0.9.0a36-py3-none-any.whl

Total release size: 251.5 kB

Release files / ovos_persona-0.9.0a36.tar.gz

Download URL ovos_persona-0.9.0a36.tar.gz
Size 105.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4bd390dbcaf7f583ed7e1919ab6fc417b9b7ab3a911b8e70fe00e5b5633e53b4
BLAKE2b-256 checksum
How to use checksums
9ead76d603ed76040e7ef7e022c69a138369b25cf72f3ce5ff7cdc561be86ad5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ovos_persona-0.9.0a36-py3-none-any.whl

Download URL ovos_persona-0.9.0a36-py3-none-any.whl
Size 145.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53edb305a1463b91db27f8d0502c6400c00afa77e9f62cc5918f9557536c4a18
BLAKE2b-256 checksum
How to use checksums
c693fc304984a85a0127909a0910d791b0992730b76b982414a3cd13061f7822
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ovos-persona 0.9.0a36

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
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