ai-core

TypeScript runtime library for AI agent execution loops, evaluation and scoring

AI Core: Autonomous Agent Runtime & Execution Loops

Modular TypeScript runtime library providing standardized abstraction layers, evaluation heuristics, scoring pipelines, and execution loops for autonomous AI agents.

graph TD
    Trigger[Agent Ingestion Event] --> Runtime[Agent Runtime Loop]
    Runtime --> Workflow[Workflow Step Orchestrator]
    Workflow --> ToolExec[Tool Invocation Engine]
    ToolExec --> Scoring[Result Scoring & Heuristic Verification]
    Scoring -->|Score >= Threshold| Output[Verified Agent Result]
    Scoring -->|Score < Threshold| Retry[Refinement & Self-Correction]
    Retry --> Runtime

Architecture & Module Organization

AI Core acts as the centralized engine behind agentic workflows, enforcing strict data boundaries, monotonic execution tracking, and mistake-proofing contracts across microservices.

Core Modules

Technology Stack

Getting Started

# Install dependencies
npm install

# Build TypeScript sources
npm run build

# Run test suite
npm test