Commit Graph
132 Commits
Author SHA1 Message Date
Jon Saad-FalconandGitHub 07d283f705 Merge pull request #10 from HazyResearch/composition
Add unified composition system
2026-03-04 21:29:27 -08:00
krypticmouse 2cd131847c Add unified composition system 2026-03-04 19:35:33 -08:00
Herumb ShandilyaandGitHub 83330183fb Merge pull request #9 from HazyResearch/rust-migration
Add Generics, reduce dynamic dispatch, python integration
2026-03-04 18:14:31 -08:00
krypticmouse 77026f6803 Add Generics, reduce dynamic dispatch, python integration 2026-03-04 18:13:45 -08:00
Jon Saad-FalconandGitHub c58bab27ec Merge pull request #8 from HazyResearch/feat/optimize
feat(optimize): trace-aware multi-objective optimization engine
2026-03-04 17:14:14 -08:00
Jon Saad-FalconandClaude Opus 4.6 3c39995476 feat(optimize): add trace-aware multi-objective optimization
Surface per-instance scores (SampleScore), structured feedback
(TrialFeedback), Pareto frontier tracking, pillar-targeted mutation,
and config merge strategies. Store migration adds new columns with
backward-compatible deserialization.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 01:04:30 +00:00
Jon Saad-FalconandClaude Opus 4.6 552ce4cba0 feat(optimize): add CLI commands, API routes, and config integration
- Add `jarvis optimize` CLI group (run, status, results, best, personal)
- Add `jarvis feedback` CLI group (score, thumbs, evaluate, stats)
- Add OptimizeConfig to JarvisConfig with TOML loading support
- Add optimization + feedback event types to EventType enum
- Add TraceStore.update_feedback() for recording trace scores
- Add /v1/feedback and /v1/optimize API routes
- Register optimize/feedback commands in cli/__init__.py
- Update optimize/__init__.py with all Phase 25 exports

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 00:01:52 +00:00
Jon Saad-FalconandClaude Opus 4.6 d234471c03 feat(optimize): add optimization engine, SQLite store, and config loader
Add the orchestration layer that ties together the LLM optimizer, trial
runner, and persistence into a propose-evaluate-analyze loop with early
stopping and recipe export. 36 new tests pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 23:56:30 +00:00
Jon Saad-FalconandClaude Opus 4.6 44dc78ff7a feat(optimize): add LLM optimizer for config tuning
Implement LLMOptimizer that uses a cloud LLM to propose and analyze
OpenJarvis configurations, inspired by DSPy's GEPA approach with
textual trace feedback rather than just scalar rewards. 46 tests pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 23:50:19 +00:00
Jon Saad-FalconandClaude Opus 4.6 9ef339f531 feat(optimize): add trial runner and feedback system
Add TrialRunner to bridge TrialConfig to the eval framework (EvalRunner),
TraceJudge for LLM-as-judge scoring of agent traces, and FeedbackCollector
for aggregating explicit, thumbs, and judge-driven feedback signals.
68 tests pass covering all three modules.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 23:49:23 +00:00
Jon Saad-FalconandClaude Opus 4.6 8437fccbb3 feat(optimize): add personal benchmark system for trace-driven eval
Synthesize reusable benchmarks from interaction traces with feedback
scores. Mines high-quality traces, groups by query class, picks the
best reference per class, and exposes results through DatasetProvider
and LLM-judge Scorer so EvalRunner can evaluate against personal
workflow patterns.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 23:46:53 +00:00
Jon Saad-FalconandClaude Opus 4.6 529cd77ccd feat(optimize): add foundation types and search space builder
Add the optimize module with core data types (SearchDimension, SearchSpace,
TrialConfig, TrialResult, OptimizationRun) and search space builder
(build_search_space, DEFAULT_SEARCH_SPACE) covering all 5 pillars. Includes
TrialConfig.to_recipe() mapping and SearchSpace.to_prompt_description()
for LLM-readable rendering. 66 tests pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 23:43:54 +00:00
Jon Saad-FalconandGitHub d1b68df3fc Merge pull request #7 from HazyResearch/rust-migration
Python to Rust Migration [WIP]
2026-03-04 11:27:56 -08:00
Orhun AkenginandClaude Opus 4.6 896404b4e0 Merge main into rust-migration, resolve conflicts
- .gitignore: keep both Rust target/ and Claude plan artifacts/Tauri schemas sections
- uv.lock: keep main's provides-extras with speech, eval-wandb, eval-sheets extras

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 18:56:04 +00:00
Jon Saad-FalconandGitHub 21870cfb37 Merge pull request #4 from HazyResearch/gabebo-ui
webapp + desktop app UI setup w/ working backend + pods
2026-03-03 22:08:43 -08:00
krypticmouse 4adfc84d11 First Migration crates 2026-03-03 19:54:00 -08:00
Gabriel Bo 4a7116ba0a aesthetic preview 2026-03-03 19:18:03 -08:00
Gabriel Bo 9ddebbfca9 removing unnecessary files 2026-03-03 19:12:37 -08:00
Gabriel Bo 494fc39c65 fixing ui + adding diff fonts + fixing merge conflicts 2026-03-03 18:54:35 -08:00
Gabriel Bo 9d7e9669b3 redesign w/ designated boxes 2026-03-03 18:44:39 -08:00
Gabriel Bo 75dc674e44 Merge origin/main into gabebo-ui
Integrate speech-to-text (Phase 24) and eval trackers features.
Resolve conflicts: add speech Tauri commands to lib.rs, merge
MicButton + useSpeech into InputArea, consolidate speech API
functions into lib/api.ts (removed old api/client.ts).

Made-with: Cursor
2026-03-03 18:44:09 -08:00
Jon Saad-FalconandGitHub ceb8e6a47d Merge pull request #6 from HazyResearch/feat/eval-trackers
feat(evals): add W&B and Google Sheets result trackers
2026-03-03 17:05:02 -08:00
Jon Saad-FalconandClaude Opus 4.6 2606c283e9 feat(evals): add W&B and Google Sheets result trackers
Introduce ResultTracker ABC with pluggable experiment tracking for the
eval framework, enabling per-sample streaming to W&B and summary-row
appending to Google Sheets — critical for the NeurIPS paper sweep.

- ResultTracker ABC: on_run_start/on_result/on_summary/on_run_end
- WandbTracker: per-sample wandb.log with sample/ prefix, flattened
  MetricStats in run summary, reinit=True for suite mode
- SheetsTracker: summary-only (no per-sample API calls), 29-column
  canonical row, idempotent header, service account + ADC auth
- EvalRunner: trackers wired into lifecycle, all calls try/except
  wrapped so tracker failures never abort an eval run
- CLI: 7 new flags (--wandb-project/entity/tags/group,
  --sheets-id/worksheet/creds) on both jarvis eval run and
  python -m openjarvis.evals run
- Config: tracker fields parsed from TOML [run] section, propagated
  through expand_suite() for suite mode
- pyproject.toml: eval-wandb and eval-sheets optional dependency groups
- 9 new tests (lifecycle, crash resilience, mock W&B/Sheets)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 01:00:47 +00:00
Jon Saad-FalconandGitHub bb5f421b1b Merge pull request #5 from HazyResearch/feat/speech-to-text
feat: add speech-to-text subsystem with pluggable backends
2026-03-03 14:56:38 -08:00
Jon Saad-FalconandClaude Opus 4.6 81cde86638 fix(desktop): enable reqwest multipart feature for audio upload
The transcribe_audio command uses reqwest::multipart which requires
the "multipart" feature flag on the reqwest crate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 22:54:17 +00:00
Jon Saad-FalconandClaude Opus 4.6 304ff54eb1 chore: update uv.lock for speech optional dependencies
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 22:15:22 +00:00
Jon Saad-FalconandClaude Opus 4.6 694d7b00b9 fix: shorten SpeechConfig comment to pass line-length lint
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 22:13:08 +00:00
Gabriel Bo 62dd0ce6c9 quick start local on doc page + gh pg redesign setup 2026-03-03 14:03:26 -08:00
Jon Saad-FalconandClaude Opus 4.6 ba444bec0c docs: update CLAUDE.md for Phase 24 speech subsystem
Updates test count to ~3295, adds Speech subsystem section, API
endpoints, Phase 24 row, and speech extras to the docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:06:19 +00:00
Jon Saad-FalconandClaude Opus 4.6 8d9a830b70 feat(speech): add speech and speech-deepgram optional dependencies
Adds openjarvis[speech] (faster-whisper) and openjarvis[speech-deepgram]
(deepgram-sdk) extras to pyproject.toml.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:00:32 +00:00
Jon Saad-FalconandClaude Opus 4.6 e4ed38edd3 feat(speech): add Tauri transcribe_audio and speech_health commands
Proxies multipart audio upload and health check to the Python backend
for the desktop app's speech-to-text integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:00:27 +00:00
Gabriel Bo 917895a29f working doctor for cli 2026-03-03 11:59:33 -08:00
Jon Saad-FalconandClaude Opus 4.6 2dcd05227a feat(speech): add frontend speech API client and useSpeech hook
Adds transcribeAudio() and fetchSpeechHealth() to the API client,
and the useSpeech React hook for managing mic recording lifecycle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 19:57:57 +00:00
Gabriel Bo 1bc5be786f validate job w/ frontend stub for tauri generate context 2026-03-03 11:55:42 -08:00
Gabriel Bo c32c9b0d14 cargo check 2026-03-03 11:51:19 -08:00
Gabriel Bo 4cdf32a21a setup for tauri frontend w/ rust implementation for desktop app 2026-03-03 11:45:51 -08:00
krypticmouse 9772497b60 Convert classes to context handlers 2026-03-03 11:33:17 -08:00
krypticmouse 05f3dca77f single call profiling 2026-03-03 11:25:25 -08:00
Jon Saad-FalconandClaude Opus 4.6 a85db10cf2 feat(speech): add MicButton component and integrate into InputArea
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 19:12:35 +00:00
Jon Saad-FalconandClaude Opus 4.6 8e29f08832 feat(speech): add /v1/speech/transcribe and /health API endpoints
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 19:10:41 +00:00
Jon Saad-FalconandClaude Opus 4.6 3fffcc8cb4 feat(speech): wire speech backend into SystemBuilder and JarvisSystem
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 19:08:15 +00:00
Jon Saad-FalconandClaude Opus 4.6 6dc4ad1dbb feat(speech): add auto-discovery and wire speech package init
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 06:22:20 +00:00
Jon Saad-FalconandClaude Opus 4.6 16d793652b feat(speech): implement DeepgramSpeechBackend (cloud STT)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 06:19:00 +00:00
Jon Saad-FalconandClaude Opus 4.6 9bf5a4b466 feat(speech): implement OpenAIWhisperBackend (cloud STT)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 06:18:59 +00:00
Jon Saad-FalconandClaude Opus 4.6 cb28dd2ba9 feat(speech): implement FasterWhisperBackend (local STT)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 06:18:57 +00:00
Jon Saad-FalconandClaude Opus 4.6 002c63a205 feat(speech): add SpeechBackend ABC, TranscriptionResult, Segment
Define the abstract interface for the speech subsystem: SpeechBackend ABC
with transcribe/health/supported_formats methods, TranscriptionResult and
Segment dataclasses for structured transcription output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 06:13:44 +00:00
Jon Saad-FalconandClaude Opus 4.6 8b2bf136f1 feat(speech): add SpeechConfig to configuration system
Add SpeechConfig dataclass with backend, model, language, device, and
compute_type fields. Wire it into JarvisConfig and load_config() so
[speech] TOML sections are loaded automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 05:51:29 +00:00
Gabriel Bo dfecbb7047 working telemetry 2026-03-02 20:55:55 -08:00
Jon Saad-FalconandClaude Opus 4.6 4c76b93569 feat(speech): add SpeechRegistry to core registry module
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 04:33:15 +00:00
Jon Saad-FalconandClaude Opus 4.6 e417dd8efb docs: add speech-to-text implementation plan
15 TDD tasks covering SpeechRegistry, SpeechConfig, SpeechBackend ABC,
3 backends (Faster-Whisper, OpenAI, Deepgram), discovery, SystemBuilder
wiring, API endpoints, frontend MicButton, useSpeech hook, and Tauri
commands. ~1000 lines across ~20 files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 04:30:02 +00:00