Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
24494dc
add structured telemetry event definitions
ashum9 Jun 24, 2026
6d3e667
implement async metrics collector
ashum9 Jun 24, 2026
43ae6e5
add OpenTelemetry span fields for distributed tracing to envelope
ashum9 Jun 24, 2026
5680e76
chore: update Cargo.lock for mofa-observability
ashum9 Jun 24, 2026
1a9d07a
add prometheus text exposition renderer
ashum9 Jun 27, 2026
d09b64d
add privacy contract test, fix memory gauge drift via eviction reconc…
ashum9 Jun 27, 2026
2c72585
add Grafana dashboard definitions for engine overview, memory lifecyc…
ashum9 Jun 27, 2026
006ccc1
add mock event harness and Docker compose stack for local observabili…
ashum9 Jun 27, 2026
6c32e24
update cargo.lock for mofa-obseravbility
ashum9 Jun 27, 2026
f947d37
prevent memory leak by evicting stale metric labels
ashum9 Jun 30, 2026
e5113bd
introduce send_critical to prevent dropping key events under backpres…
ashum9 Jun 30, 2026
858c8da
add ObservabilityConfig struct
ashum9 Jul 8, 2026
12f8325
add OpenTelemetry workspace dependencies
ashum9 Jul 8, 2026
56e2611
wire observability pipeline and OTLP tracer
ashum9 Jul 8, 2026
c669133
add GET /metrics Prometheus endpoint
ashum9 Jul 8, 2026
0fe9c0c
observability bridge with startup gauge seeding
ashum9 Jul 8, 2026
f6fa0b4
add ObservabilityConfig default to test configs
ashum9 Jul 8, 2026
a17f015
collector tracing and mock harness memory budget
ashum9 Jul 8, 2026
0448d95
add engine scrape target to Prometheus
ashum9 Jul 8, 2026
abfab9f
add test config and dockerignore
ashum9 Jul 8, 2026
b2a11a9
fix: update core engine memory tracking and routing endpoints
ashum9 Jul 16, 2026
e381461
fix: make collector set method pub
ashum9 Jul 16, 2026
311d6ef
merge core engine tweaks and memory fixes into observability
ashum9 Jul 16, 2026
0f982f6
kokoro local TTS bridge and hybrid production config
ashum9 Jul 8, 2026
cf59fbd
add misaki chinese phonemizer and voice mapping
ashum9 Jul 16, 2026
a4dec8d
address CI fmt check and copilot review feedback
ashum9 Jul 17, 2026
4cff2dc
handle invalid JSON with proper 400 response
ashum9 Jul 17, 2026
8b39b2c
setup base react vite and tailwind configuration
ashum9 Jul 16, 2026
d28d617
add shared ui components and styling utilities
ashum9 Jul 16, 2026
5cfa985
implement rust engine sdk and sse connection hooks
ashum9 Jul 16, 2026
fbecebc
build real time observability and metrics dashboard
ashum9 Jul 16, 2026
2d53058
create podcast studio interface and audio waveform player
ashum9 Jul 16, 2026
a713a6a
add app shell error boundaries and local storage history
ashum9 Jul 16, 2026
aeef1d9
wire up main react application entry points
ashum9 Jul 16, 2026
97ae2e3
fix(frontend): normalize enum case matching for backend compatibility
ashum9 Jul 21, 2026
0e75e13
add empirically verified event, request, and metrics specifications
ashum9 Jul 21, 2026
547c223
implement vendor pricing engine and USD cost accumulator
ashum9 Jul 21, 2026
32954e5
add DualTrackView side-by-side telemetry comparison panel
ashum9 Jul 21, 2026
d690f14
style: cargo fmt formatting fixes
ashum9 Jul 21, 2026
04fba36
Merge pull request #8 from ashum9/clean-contracts
ashum9 Jul 22, 2026
b2c6ad7
Merge pull request #5 from ashum9/kokoro-tts
ashum9 Jul 22, 2026
80077c7
Merge pull request #6 from ashum9/observability
ashum9 Jul 22, 2026
df3c195
Merge branch 'platform' into frontend
ashum9 Jul 22, 2026
09f9e31
Merge pull request #7 from ashum9/frontend
ashum9 Jul 22, 2026
b1a0bce
add 5-label metric tagging and stale label eviction
ashum9 Jul 28, 2026
2b35ef3
expose estimated_cost_usd as counter for Prometheus rate parsing
ashum9 Jul 28, 2026
cfcdc10
add Grafana dual-track cost dashboard with PromQL vector fallbacks
ashum9 Jul 28, 2026
7548b5b
add dual-track observability dashboards, telemetry widgets, and UI ha…
ashum9 Jul 31, 2026
08a4002
add S7 Provider Race, S4 Explainer Video, and S6 Podcast Matrix runners
ashum9 Jul 31, 2026
23518db
Merge origin/engine into platform: integrate Aayan's 6 backends, pref…
ashum9 Aug 1, 2026
ecb7778
add SDK methods
ashum9 Aug 1, 2026
220b440
add S2 code review, S3 doc AI, S1 meeting brief scenario scripts with…
ashum9 Aug 1, 2026
c2fc02c
add data flow privacy audit panel (S5) PRD ref: Section 4.5 Data Flow…
ashum9 Aug 2, 2026
6814e78
add thought chain reasoning trace viewer (S2) PRD ref: Section 3.4 De…
ashum9 Aug 2, 2026
0e19ae3
Merge latest engine updates from Aayan
ashum9 Aug 2, 2026
ca260dd
Resolve test compilation blockers B1, cargo fmt B2, and consolidate o…
ashum9 Aug 5, 2026
5d4ad67
Wire observability bridge into server, merge metrics, and update loca…
ashum9 Aug 5, 2026
7591f5c
Enable VLM model discovery for Ollama and fix SDK understand schema
ashum9 Aug 5, 2026
50290fd
Add observability guide documentation
ashum9 Aug 6, 2026
34352e0
Resolve frontend lint errors, refactor Python test discovery, and har…
ashum9 Aug 8, 2026
f911886
Update scenario runners and add performance baseline with MCP server
ashum9 Aug 9, 2026
70c330c
update local model pipelines , server file streaming and standalone s…
ashum9 Aug 10, 2026
c9c9f8f
add benchmark suite, docker-compose full stack, and studio scenario p…
ashum9 Aug 14, 2026
49bb548
wire preflight, eviction, and locality events through bridge
ashum9 Aug 16, 2026
13cf2b7
enhance backends, router, and dependencies
ashum9 Aug 16, 2026
e604341
fix metric eviction in collector, harden dashboard promql, and add sd…
ashum9 Aug 17, 2026
fbfebcc
add interactive audio selector to S1 and clean terminal outputs acros…
ashum9 Aug 17, 2026
97e086b
add scenario integration test suite and update quickstart runner
ashum9 Aug 17, 2026
27e73d4
add mofa doctor diagnostic, unified cli entrypoint, and quickstart mu…
ashum9 Aug 20, 2026
615aa92
add response helper methods and fluent pipeline builder to python sdk
ashum9 Aug 20, 2026
845fc12
rewrite scenario scripts as thin sdk consumers and remove all mock cl…
ashum9 Aug 21, 2026
13e006d
add embed method, async mofa engine client, and gemini tts adapter to…
ashum9 Aug 21, 2026
9bd8119
enhance mcp server with reasoning effort, embed tool, and add mofa do…
ashum9 Aug 21, 2026
d3a019d
add 5-label metric tagging to request duration and implement gemini p…
ashum9 Aug 21, 2026
7303784
add artifacts gallery tab with media preview to web studio frontend
ashum9 Aug 22, 2026
418453c
add memory tracking on model discovery, SSE timestamps, and dual env …
ashum9 Aug 23, 2026
737c934
add 7 flagship scenario presets, waveform audio player, and data flow…
ashum9 Aug 23, 2026
2a62d9b
add observability dashboards, pricing rates, and python sdk tooling
ashum9 Aug 23, 2026
df0746c
add quickstart guide, model catalog, and comprehensive scenario walkt…
ashum9 Aug 23, 2026
b5d1047
add automated setup mode, cloud keys wizard, and quickstart documenta…
ashum9 Aug 24, 2026
0ffba46
merge updates from origin/main
ashum9 Aug 24, 2026
5afdaca
format workspace and resolve clippy warnings
ashum9 Aug 28, 2026
95f1a26
address review feedback, harden docker ports, and clean paths
ashum9 Aug 30, 2026
1f18e05
add dynamic resources, prompts, pipeline runner, session memory & med…
ashum9 Aug 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target/
.git/
.env
50 changes: 33 additions & 17 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,21 +1,37 @@
# Example environment for mofa-studio (and any app using the Agnes / Ark backends).
# ==============================================================================
# MoFA Engine — Environment Variables & Cloud Provider Keys
# ==============================================================================
# Copy this file to .env and fill in your keys:
# cp .env.example .env
#
# Copy this to `.env.local` (gitignored), fill in your key, then:
# source .env.local && cargo run -p mofa-studio
#
# `.env.local` is NOT auto-loaded by the app — you `source` it so the values land
# in the process environment, where the engine resolves `api_key = "env:VAR"`.
# Or run the interactive key configurator:
# bash quickstart.sh keys
# ==============================================================================

# 1. Google Gemini Cloud Provider (Chat + Reasoning + Native Audio TTS)
# Free Tier available at: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=""

# 2. OpenAI Cloud Provider (GPT-4o + Whisper ASR + DALL-E-3)
# Key available at: https://platform.openai.com/api-keys
OPENAI_API_KEY=""

# 3. DeepSeek Reasoning Provider (DeepSeek-R1 Deep Thinking)
# Key available at: https://platform.deepseek.com/api_keys
DEEPSEEK_API_KEY=""

# --- Agnes AI (free omni-modal gateway) — chat + image + video ---
# Get a free key at https://agnes-ai.com. This one key enables all three.
export AGNES_API_KEY=""
# 4. Fireworks AI Provider (Serverless Open Models)
# Key available at: https://fireworks.ai/api-keys
FIREWORKS_API_KEY=""

# Endpoint + model ids (defaults shown; override only if the docs change):
export AGNES_BASE_URL="https://apihub.agnes-ai.com/v1"
export AGNES_CHAT_MODEL="agnes-2.5-flash"
export AGNES_IMAGE_MODEL="agnes-image-2.1-flash"
export AGNES_VIDEO_MODEL="agnes-video-v2.0" # or "agnes-video-2.5"
# 5. MoFA Gateway Security (Optional Bearer Token)
# If set, all /v1 requests must pass Authorization: Bearer <token>
MOFA_API_TOKEN=""

# --- Seedance via Volcengine Ark (alternative video backend) ---
# Only needed if you use the Ark dialect instead of Agnes for video.
# export ARK_API_KEY=""
# --- Agnes AI (Omni-modal gateway: chat + image + video) ---
# Free key at https://agnes-ai.com
AGNES_API_KEY=""
AGNES_BASE_URL="https://apihub.agnes-ai.com/v1"
AGNES_CHAT_MODEL="agnes-2.5-flash"
AGNES_IMAGE_MODEL="agnes-image-2.1-flash"
AGNES_VIDEO_MODEL="agnes-video-v2.0"
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,25 @@ __pycache__/
node_modules/
e2e/test-results/
e2e/playwright-report/
.kokoro-models/
.kokoro-venv/
.venv/
.DS_Store
*.DS_Store
dist/
.ua/
mofa_hybrid.toml
test_obs_config.toml
*.mp3
*.png
*.mp4
*.pdf
output/
!examples/samples/*
!examples/samples/*.mp3
!examples/samples/*.png
!examples/samples/*.wav
mofa_asr_upload_*.txt
config.toml


Loading
Loading