open-source · since 2026-10-21
Overseas Tax Agent
weeast1521
Open-source prototype for Korean brokerage support: guarded text-to-SQL over overseas-stock trades, deterministic capital-gains calculations, local regulatory RAG, and human-review gating. SQL is AST-validated, customer-scoped, read-only, time-limited and row-capped.
No declared license; treat as source-visible rather than reusable OSS until licensing is clarified. On 2026-10-27 the repository added production-shaped SQL controls: sqlglot validation, allowlisted tables, customer-literal rejection, session-customer subquery wrapping, SQLite query_only/read-only mode, PostgreSQL tax_ro role, 5-second timeout, 500-row cap, one repair attempt, separate SQL-generation model, and phase/tool latency tracing. Commit reports 19 SQL-guard tests and 149 tests total. README also documents a synthetic 200-case agent evaluation; those are author-reported, not independently reproduced.