npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

daedalus-sdk

v1.0.2

Published

Daedalus SDK - Enterprise AI governance + reasoning layer with symbolic RL

Readme

🐉 Daedalus Systems — Explainable AI Infrastructure

Daedalus Systems is an enterprise platform for building, deploying, and governing symbolic + LLM hybrid AI systems. It enables organizations to codify their internal reasoning processes into secure, auditable logic — transforming opaque AI decisions into transparent, traceable outcomes.

Daedalus is built atop the Feather Agent Framework and uses Daedalus Cloud, Feather Runtime, and Daedalus Connectors to orchestrate symbolic reasoning, LLM comparison, and reinforcement learning in real-time.


🧠 Mission

Daedalus's mission is to make enterprise AI explainable, secure, and composable — where every decision can be audited, reasoned about, and improved.

Most AI pilots fail because they lack:

  • Explainability — Can't understand how decisions are made
  • Governance — No oversight or compliance controls
  • Integration — Doesn't work with existing systems

Daedalus solves this by combining symbolic AI (explicit logic) with LLM reasoning (pattern-based inference) inside a unified drag-and-drop environment.


⚙️ Core Components

| Component | Description | |------------|-------------| | Daedalus Cloud | SaaS control plane and visual builder (Next.js + ReactFlow) | | Feather Runtime | Customer-side execution engine (Node.js / Docker) | | Daedalus Connectors | Secure adapters for APIs, databases, and systems | | Symbolic Engine | JSONLogic-based interpreter with audit trace | | RL Evaluator | Compares LLM outputs vs. symbolic truth for reinforcement | | Audit Layer | Cryptographically signed trace logs for compliance |


🧩 Architecture Overview

graph TB
    A[User] --> B[Daedalus Cloud Frontend]
    B --> C[Visual Flow Builder]
    C --> D[Flow Specification]
    D --> E[Feather Runtime]
    E --> F[Symbolic Engine]
    F --> G[Daedalus Connectors]
    G --> H[Customer Systems]
    F --> I[Audit Logger]
    I --> J[Trace Viewer]
    J --> B
    E --> K[RL Evaluator]
    K --> L[Model Comparison]
    L --> B

Daedalus Cloud never handles raw customer data — only metadata and hashes of symbolic evaluations.


🧰 Quick Start

Prerequisites

  • Node.js ≥ 20
  • Docker & Docker Compose
  • pnpm (preferred) or npm/yarn
  • PostgreSQL (for audit logs)

Clone Repository

git clone https://github.com/Geddydukes/daedalus-sdk.git
cd daedalus-sdk
pnpm install

Run Local Development Stack

# Launch Daedalus Cloud
pnpm run dev

# Launch Feather Runtime (sandbox)
docker compose up feather-runtime

Visit http://localhost:3000 to access Daedalus Cloud.


🚀 SDK Documentation

New: The Daedalus SDK is now available for building symbolic AI agents!

📂 Complete Documentation

All comprehensive documentation is organized in the /docs folder:

Core Platform Documentation

Frontend Documentation

Framework Documentation

📖 View Complete Documentation Index


🔧 Example Workflow

  1. Create a Flow
flow:
  - fetch: crm.getCustomerData
  - rule: DSCR_MIN_1_20
  - if_pass: notify("Loan pre-approved")
  - if_fail: escalate("Manual review")
  1. Register a Connector
docker run Daedalus-connector --token=$Daedalus_TOKEN
  1. Execute a Test
curl -X POST localhost:8080/run \
  -H 'content-type: application/json' \
  -d '{"noi": 120000, "debt_service": 100000}'

Response:

{
  "verdict": "PASS",
  "dscr": 1.2,
  "trace": ["Rule DSCR_MIN_1_20 met threshold"],
  "timestamp": "2025-10-20T18:22Z"
}

🔒 Security Model

| Layer | Responsibility | Mechanism | |-------|---------------|-----------| | Daedalus Cloud | Control plane only | TLS 1.3, OAuth2, RBAC | | Feather Runtime | Execution sandbox | Docker isolation, ephemeral volumes | | Connectors | Scoped data access | JWT auth, local logging | | Audit Layer | Trace integrity | SHA-256 signed hashes |

Sensitive data never leaves the customer's infrastructure.
Daedalus Cloud stores only job IDs, rule versions, and execution summaries.


🧠 Symbolic AI + LLM Reinforcement

Daedalus integrates LLM evaluation loops that compare symbolic outputs with generative model predictions:

  1. Symbolic reasoning executes ground-truth rules
  2. LLM predicts an outcome for the same case
  3. Disagreements logged as preference pairs
  4. Reinforcement Learning (RLAIF or DPO) fine-tunes the model
  5. Over time, LLM accuracy converges toward the symbolic baseline

This enables machine-verifiable reasoning that improves continuously.


📊 Observability

Daedalus emits OpenTelemetry-compatible structured logs:

{
  "job_id": "abc123",
  "rule_id": "DSCR_MIN_1_20", 
  "result": "PASS",
  "value": 1.23,
  "runtime": 45,
  "timestamp": "2025-10-20T10:45:12Z"
}

Supports exporters for:

  • Datadog
  • Grafana
  • ELK Stack
  • S3 / Glacier Archival

🧱 Repository Structure

daedalus-sdk/
├── apps/
│   ├── Daedalus-cloud/         # Next.js SaaS frontend
│   └── feather-runtime/     # Node.js runtime engine
├── packages/
│   ├── symbolic-engine/     # JSONLogic interpreter + DSL compiler
│   ├── connectors/          # SDKs for APIs & databases
│   └── shared/              # Utils, schema validators, types
├── docs/                    # Complete documentation
├── tests/                   # Test suites
├── docker-compose.yml
└── README.md

🧩 Deployment Options

| Mode | Description | Example Users | |------|-------------|---------------| | SaaS | Daedalus Cloud hosts control plane; runtime external | Startups, SMBs | | Hybrid | Cloud builder + on-prem Feather Runtime | Fintechs, Legaltech | | On-Prem | Full stack deployed internally | Healthcare, Banking |

Deployment managed via Docker, Kubernetes, or Terraform.


🧭 Roadmap

| Phase | Milestone | Target | |-------|-----------|--------| | Alpha (Q4 2025) | Symbolic engine + Cloud builder | ✅ Complete | | Beta (Q1 2026) | Hybrid deployment + audit system | In Progress | | v1.0 Launch (Q2 2026) | Marketplace + RL loop | Planned | | v2.0 (2027) | Multi-agent orchestration & self-optimizing rules | Planned |


🧩 Example Use Cases

  • Finance: Loan eligibility & credit risk engines
  • Legal: Contract clause validation
  • Healthcare: Treatment protocol compliance
  • Manufacturing: Safety check automation
  • GovTech: Policy audit and decision justification

📈 Market Context

  • MIT Tech Review (2025): "95% of GenAI pilots fail to deliver ROI."
  • S&P Global (2025): "42% of firms abandon AI within a year due to poor governance."
  • Gartner (2025): "60% of AI projects will be canceled without explainability."
  • McKinsey (2025): "80% of enterprises will require AI audit layers by 2027."

Daedalus directly addresses these pain points by delivering explainable AI infrastructure as a product.


🤝 Contributing

Daedalus welcomes contributions from the open-source community.

Development

pnpm run dev
pnpm run test

Guidelines

  • Use conventional commits (feat:, fix:, chore:)
  • PRs must include updated tests and documentation
  • Follow the Daedalus Code of Conduct

📜 License

Daedalus Systems © 2025 Geddy Dukes
Licensed under the Elastic License 2.0 (ELv2).
Commercial use available via Daedalus Cloud Enterprise.