Skip to content
Cjay-Cyber-2Public

About

AI agent orchestration infrastructure with semantic capability discovery, execution graphs, persistent context, and MCP integration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

245 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syniq (Flowfex)

AI agent orchestration, capability discovery, and execution infrastructure.

Website · SDK Documentation · MCP Integration

Overview

Syniq is an AI-native orchestration platform designed to connect AI agents with relevant tools, skills, and execution workflows.

Rather than requiring agents to independently discover every capability, Syniq provides an orchestration layer that interprets task intent, retrieves relevant capabilities, constructs execution graphs, and coordinates execution through a structured runtime.

The project explores how intelligent agents can become more context-aware, interoperable, observable, and controllable.

The Problem

AI agents frequently operate with fragmented capabilities, inconsistent context, limited execution visibility, and tightly coupled integrations.

Syniq addresses these challenges through:

  • Context-aware capability discovery.
  • Structured task planning.
  • Execution graph construction.
  • Persistent workspace state.
  • Human-in-the-loop execution controls.
  • Standardized agent connectivity.

Architecture

flowchart TD
    A[AI Agent or User] --> B[Connection Layer]
    B --> C[Task Intent Planner]
    C --> D[Capability Retriever]
    D --> E[Execution Plan Selector]
    E --> F[Execution Graph Builder]
    F --> G[Execution Runner]
    G --> H[Tools and Skills]
    G --> I[Session State Store]
    G --> J[Execution Events]
    J --> K[Visual Dashboard]
    L[Human Approval] --> G
    M[Capability Index] --> D
Loading

Core Engineering Components

Component Responsibility
TaskIntentPlanner Converts natural-language tasks into validated, structured execution intent
CapabilityRetriever Retrieves and ranks relevant tools and skills
ExecutionPlanSelector Selects capabilities for the planned execution
ExecutionGraphBuilder Constructs executable workflow graphs
ExecutionRunner Coordinates execution, branching, approvals, and runtime state
SessionStateStore Manages execution snapshots, outputs, errors, and progress
OrchestrationEventBridge Publishes execution events to connected clients
ToolRegistry Registers, discovers, and executes available capabilities

The orchestration engine is implemented in TypeScript under backend/src/orchestration-engine-src/.

Capability Retrieval

Syniq implements lightweight vector-based capability retrieval without requiring an external vector database.

The retrieval pipeline uses:

  • Deterministic feature hashing.
  • Normalized token representations.
  • Synonym expansion.
  • Bigram features.
  • 1,024-dimensional vectors.
  • Cosine similarity ranking.
  • Category-aware and catalog-wide retrieval.
  • Deterministic fallback strategies.

This approach provides a computationally lightweight mechanism for discovering relevant capabilities while reducing external infrastructure dependencies.

The current retrieval implementation uses feature hashing rather than a trained neural embedding model.

Agent Connectivity

Syniq supports multiple agent connection mechanisms:

Mode Purpose
Prompt Connect through agent instructions
SDK Programmatic integration
Link Session-based connection
Live Real-time connectivity
MCP Standardized tool integration

JavaScript/TypeScript and Python SDKs provide interfaces for connecting agents, submitting tasks, subscribing to execution events, and controlling workflows.

The MCP server allows compatible AI environments to integrate Syniq capabilities through standardized tools.

See the SDK documentation and MCP documentation.

Execution Control

The orchestration runtime supports:

  • Structured planning with schema validation.
  • Conditional execution paths.
  • Tool and skill invocation.
  • Human approval and rejection.
  • Pause and resume controls.
  • Execution traces and error tracking.
  • Real-time graph and node updates.

Invalid model-generated planning responses can fall back to deterministic planning.

Model Integration

Syniq provides a unified LLM interface supporting:

  • Groq
  • OpenAI
  • Anthropic
  • Custom provider adapters
  • Structured mock execution for development

The model integration layer is separated from the orchestration logic, allowing providers to be configured without redesigning the execution engine.

Technology Stack

Layer Technologies
Orchestration Engine TypeScript
Backend Runtime Node.js
AI Integration Groq, OpenAI, Anthropic
Capability Retrieval Feature hashing, cosine similarity, in-memory vector index
Frontend React, Vite, D3.js, Zustand
Real-Time Communication Socket.IO
Database PostgreSQL, Neon, Drizzle ORM
Authentication Better Auth, JWT
Validation Zod
Agent Integration MCP, Python SDK, JavaScript SDK
Deployment Vercel, Render

Repository Structure

Flowfex/
├── backend/          # Orchestration engine and backend services
├── frontend/         # Visual orchestration dashboard
├── sdk/
│   ├── js/           # JavaScript and TypeScript SDK
│   └── python/       # Python SDK
├── mcp/
│   └── syniq-mcp/    # MCP server
├── packages/         # Shared packages and types
├── shared/           # Shared application resources
├── skills-md/        # Markdown-based skill resources
├── docs/             # Technical documentation
└── .github/          # GitHub workflows

Getting Started

Prerequisites

  • A current Node.js LTS release
  • npm
  • PostgreSQL or Neon database
  • An API key for a supported LLM provider for live model execution

Clone the Repository

git clone https://github.com/Cjay-Cyber-2/Flowfex.git
cd Flowfex

Environment Configuration

Copy .env.example to .env and configure the required database, authentication, application URLs, and model-provider credentials.

Never commit real API keys or authentication secrets.

Start the Backend

cd backend
npm install
npm start

The local backend is configured around port 4000.

Start the Frontend

In a separate terminal:

cd frontend
npm install
npm run dev

Open http://localhost:3000.

Additional configuration may be required for database initialization, authentication, and live agent connections.

Testing

Run the orchestration engine tests:

cd backend
npm test

Run application state tests:

npm run test:app-state

Check orchestration engine types:

npm run typecheck:orchestration

Build the frontend:

cd frontend
npm run build

Engineering Principles

  • Separate model reasoning from execution infrastructure.
  • Validate structured model outputs before execution.
  • Make execution observable and controllable.
  • Preserve relevant workspace and session context.
  • Prefer interoperable agent interfaces.
  • Provide deterministic fallbacks where appropriate.
  • Maintain human oversight for approval-sensitive actions.

Project Status

Syniq is under active development.

The repository contains an orchestration engine, capability retrieval system, visual dashboard, agent SDKs, MCP integration, session management, and automated test suites.

See Product State Documentation for workspace lifecycle, authentication boundaries, routing, and usage constraints.

Author

Chijioke Joseph

AI-Native Engineer — Agentic AI, Applied Machine Learning, and Intelligent Automation.

GitHub · Portfolio · LinkedIn

About

AI agent orchestration infrastructure with semantic capability discovery, execution graphs, persistent context, and MCP integration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages