Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

JARVIS / FRIDAY

Production-ready architecture blueprint and project scaffold for the AI Desktop Assistant.

Project Structure

  • core/: Application lifecycle, DI container, state definitions, event bus, orchestrator.
  • config/: Configuration schemas, logging interfaces, constants.
  • utils/: Custom exception hierarchies, validation and helper signatures, decorators.
  • speech/: Audio IO, recording, text-to-speech, speech-to-text.
  • wakeword/: Wake word detector loop and custom ONNX model signatures.
  • llm/: Base LLM, NVIDIA NIM, mock LLM, prompt library, response envelope.
  • intelligence/: Intent detection, planner, task router, response parser, task model.
  • skills/: Extensible skill base, registry, manager + builtin/ (ChatSkill, SkillHelpSkill).
  • tests/: Module tests.

Phase Roadmap

  • Phase 0 – Foundation & Architecture (DONE)
  • Phase 1 – Voice Interaction Pipeline (in progress)
  • Phase 2 – Intent & Planning (DONE)
    • IntentDetector classifies utterances via the LLM.
    • Planner decomposes intents into a task DAG (single-step intents shortcut).
    • TaskRouter executes the DAG in dependency order, injecting results of prior tasks via ${{task_id.field}} placeholders.
    • Built-in ChatSkill (conversational fallback) and SkillHelpSkill (skill discovery) ship with Phase 2 so the pipeline runs end-to-end.
    • The Orchestrator wires the pipeline, emits UserInputEvent, IntentDetectedEvent, PlanReadyEvent, TaskCompletedEvent, ResponseReadyEvent on the shared EventBus, and records conversation turns on AssistantRuntimeState.

Developer Instructions

  1. This is a modular monolithic scaffold.
  2. All concrete logic must be implemented inside the respective packages.
  3. No method implementations are provided.
  4. Developers must start from the method signatures and define the implementation details.

Running Phase 2 (offline)

pip install -e ".[dev]"
python -m pytest -q
python -c "import asyncio; from config.settings import Settings; from core.container import ServiceContainer; \
async def main(): \
    c = ServiceContainer(Settings.load(debug=True)); await c.initialise(); \
    print(await c.assistant.handle_text_input('what skills do you have')); \
    await c.shutdown(); \
asyncio.run(main())"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages