deer-workflow
An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.
A Java 17 and Spring Boot reference implementation for financial calculation and regulatory reporting with versioned configuration-driven rules, full audit trails, and XML compliance file generation with XSD validation.
5
No data
1
0
No data
2026-07-29
It directly addresses three common failures in financial platforms (hard-coded rules, unexplainable figures, schema-welded reports) with a clean hexagonal architecture and domain purity.
A Java 17 and Spring Boot service for financial calculation and regulatory reporting, built the way an enterprise platform has to be built: rules that change without code changes, results that are auditable, and an architecture that survives a decade of amendments.
Financial and tax-compliance platforms fail in a predictable way. Calculation rules are hard-coded, so every rate change or new jurisdiction means a release. Results can't be explained after the fact, so nobody can answer why a figure came out the way it did. Report formats are welded to the domain model, so a new schema version rewrites half the system.
spring-tax-calc-service is a reference implementation that avoids all three. It takes financial
transactions, applies a versioned, configuration-driven rule set to compute liabilities, keeps
a full audit trail of how every figure was derived, and emits both a financial report and a
structured XML compliance file validated against its schema.
Scope note: a generic, jurisdiction-neutral reference implementation for calculation and regulatory reporting. It demonstrates the architecture and the engineering practice, not any one country's filing product.
Hexagonal (ports and adapters), so the domain has no idea what a database or an XML schema is.
flowchart LR
API[REST API\nSpring Web] --> APP[Application services]
APP --> DOM[Domain core\ncalculation engine]
DOM --> RULES[(Versioned rule sets\nconfiguration)]
APP --> REPO[(PostgreSQL\nJPA adapter)]
APP --> RPT[Report adapter\nfinancial summary]
APP --> XML[Compliance adapter\nXML + XSD validation]
DOM --> AUDIT[Audit trail\nper-figure derivation]
BigDecimal with explicit
rounding, immutable value objects, records and sealed types for the transaction model.Hexagonal Spring Boot tax calculation service where rules are configuration, every figure carries its derivation, and the compliance XML is validated before it leaves the process.
Similar projects matched by category, topics, and programming language.
An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.
Deltafin is a research project that runs the 2.8-trillion-parameter Mixture-of-Experts model Kimi K3 on a single Apple Silicon Mac (e.g., M1 Max with 64 GB) at about 16 seconds per token, using exact, reproducible inference with local or streaming expert loading.

A collection of notes on building coding agents, derived from the production development of the desktop agent Reina, with each mechanism simplified into a zero-dependency, single-file Node.js demo.