aumontzey8765

TypeScript DDD framework (Domain-Driven Design) for AI agents — aggregates, value objects, event sourcing (SQLite), REST API.

20
0
100% credibility
Found Apr 18, 2026 at 20 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A TypeScript library that applies domain-driven design principles to build reliable agents and automations for business workflows, demonstrated with an example order management web service using event tracking.

How It Works

1
🔍 Find the tool

You hear about this handy kit for handling business tasks like orders in a structured, reliable way that keeps everything organized.

2
🚀 Get it running

You download it to your computer and start it up quickly, so a simple web service is ready to use right away.

3
Create an order

You send details like customer info and amount to make a new order, and it safely records it with built-in rules.

4
Handle the order
Approve it

You give approval, and the order moves to ready status securely.

Mark payment failed

You note a payment problem, and it updates to failed with the reason logged.

5
🔍 Check progress

You look up any order to instantly see its current status and full history of changes.

🎉 Workflow works great

Your business processes now run smoothly, always following rules with a complete record of everything that happened.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 20 to 20 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is domain-driven-agent?

This TypeScript DDD framework brings domain-driven design to AI agents, modeling workflows as commands that trigger aggregates, domain events, and optional event sourcing for replayable state. Clone the repo, run `npm install` and `npm run dev`, and you get a ready REST API for handling orders—create with customer details, approve, fail payments, or query state via curl on localhost:3000. It enforces invariants like "only approve pending orders" with type-safe value objects, solving the mess of prompt-only agents in complex automation.

Why is it gaining traction?

Unlike loose AI agent tools, it delivers structured TypeScript DDD entities and value objects for consistent rules, plus SQLite event sourcing for audits without extra setup. Devs dig the instant API (health checks, POST /orders/:id/commands/create), Docker compose for persistence, and hooks for sagas or read models—perfect TypeScript DDD example on GitHub for agentic AI. Low boilerplate hooks developers prototyping domain driven design AI agents fast.

Who should use this?

Backend engineers building enterprise flows like order processing, approvals, or ticketing where state consistency matters. Teams in finance or compliance needing event trails for audits, or TypeScript devs exploring domain driven design agent skills beyond simple prompts. Ideal for domain driven design for agentic AI in Node.js apps with REST endpoints.

Verdict

Solid TypeScript DDD skeleton for AI agents with strong docs, tests, and a working order example, but 20 stars and 1.0% credibility signal early maturity—use as a learning tool or starter, not production yet. Fork and extend if domain driven agents fit your stack.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.