Nutrition OS & RBAC Authorization Engine

Nutrition Intelligence,
Guided by Multi-Agent Reasoning.

Continuous cognitive loops designed to optimize your

macros & micros

Platform Core Capabilities

Smarter Core Features

Engineered for high performance, maximum security, and sub-second execution speeds. Discover the blocks powering ForkFit.

Safety Guard Agent

Continuous safety audits protecting against food allergies, medical counter-indications, and diet-specific restriction violations in real-time.

Granular Auth & RBAC

Built-in OAuth 2.0 (Google/GitHub), robust token authentication, rate limits, and customizable Role-Based Access Control policies.

Calendar Synchronizer

Align meal frequencies, nutrition timings, and hydration plans directly alongside workout regimes and sleep schedules.

Grocery Budget Costing

Calculate optimal weekly shopping lists that match your target nutrition. Swaps ingredients based on real-time pantry inventory and spending bounds.

LangGraph Orchestration

LangGraph Cognitive State Machine

ForkFit runs a cyclic state graph that routes tasks across specialized agents in parallel. The Judge audits outputs, triggering dynamic replanning loops on constraint violations.

1. User Entry

Prompt parsed & contextualized

2. Cognitive Planner

Decomposes and dispatches specialist tasks

Parallel Specialists Running...

Safety Audit Agent
Nutrition & Macros Agent
Budget & Swaps Agent
Culture & Dietary Agent
Recipe & Pantry Agent
Workout & Schedule Agent
Shopping List Agent

3. Consensus Layer

Merges agent answers into cohesive meal plan

4. Judge Verification

Audits final plan against constraints (triggers replan if violated)

5. UI Composer

Generates charts and timeline visuals

6. Structured OS Payload

Delivers complete response payload to user device

Learning & Knowledge Loops

Dynamic Feedback & Knowledge Graphs

ForkFit doesn't just calculate macros. Every meal logged feeds into our hybrid RAG database via pgvector, traversing your allergen history, kitchen inventory, and budget limits to continuously calibrate recommendations.

pgvector Vector Search

Sub-second HNSW indexing for instant historical context lookup.

Continuous Reflection Loops

Extracts subtle preference rules to fine-tune active memory vectors.

forkfit-core-agent-logger
LIVE TRACING

User Authenticated

Just now

Session verified (OAuth GitHub). Session TTL: 30 days.

Quick Integration

Deploy Your Nutrition Intelligence Instance

Set up your database urls, run automated migrations, and connect Google or GitHub OAuth integrations in under five minutes.

Allergy Safety Audited
pgvector Search-Ready
Granular RBAC Mapped
Active Session Control