Skip to content
View Trappist-1st's full-sized avatar

Highlights

  • Pro

Block or report Trappist-1st

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Trappist-1st/README.md


┌─ SYSTEM IDENTITY ────────────────────────────────────────────────────┐
│  Focus      : Distributed Systems · Backend Engineering · AI Agents  │
│  Stack Core : Java · Python · TypeScript                             │
│  Current    : Building intelligent agent infrastructure              │
│  Pursuing   : Graduate research in LLMs and scalable systems         │
│  Contact    : trappist.1st@gmail.com                                 │
└──────────────────────────────────────────────────────────────────────┘

A systems engineer building robust distributed backends — while preparing the infrastructure for the next generation of intelligent systems. Interested in the intersection of large language models, autonomous agents, and the architecture required to run them at scale.



Featured Systems

Selected projects — architecture, decisions, and outcomes.


A production-grade lightweight distributed task scheduling platform for small-to-medium teams. Benchmarked against XXL-Job, Kubernetes Job Scheduler, and Apache Airflow — designed to be leaner and easier to operate than all three.

Architecture highlights:

  • Multi-instance Scheduler layer with Redis-based distributed lock for automatic leader election — zero single-point-of-failure
  • DAG workflow engine for complex task dependency resolution
  • Resource-aware scheduling: CPU/GPU/memory quotas enforced at dispatch time, preventing task starvation under load
  • Multi-tenant resource isolation with per-tenant quota management
  • Pluggable executor model: Shell / Python / Docker / HTTP

Engineering decisions:

  • Optimistic locking + idempotency keys on all state transitions ensure exactly-once execution semantics
  • Async processing pipeline with Redis task queue decouples scheduling decisions from executor availability
  • Spring Cloud Gateway as API surface — rate limiting, circuit breaking, and distributed tracing from the start

Java Spring Redis MySQL Docker

High Availability  ████████████████  HA
Resource-Aware     ████████████████  ✓
DAG Support        ██████████████░░  ✓
Multi-tenant       ████████████████  ✓

Repo


An AI-powered astronomy knowledge platform backend. Combines RAG, tool-calling, and real-time streaming to deliver expert-level responses on undergraduate astronomy content.

Architecture highlights:

  • RAG pipeline: knowledge vectorized and stored in Qdrant; retrieved at query time and injected into prompt context
  • SSE (Server-Sent Events) streaming endpoint for real-time AI response delivery with sub-second first-token latency
  • Tool-calling layer integrates Wikipedia search, vector knowledge base queries, and concept card lookups — model selects tools autonomously or via explicit user directives (@wiki:, @kb:, @card:)
  • Configurable advisor chain: Memory + RAG + Wikipedia advisors compose in runtime, each independently toggleable

Engineering decisions:

  • OpenAI-compatible API abstraction layer allows hot-swapping between DeepSeek, SiliconFlow, and other providers without code changes
  • Per-tool disable flag on explicit invocations prevents duplicate calls when the user prefetches a tool result manually
  • Session-scoped conversation history enables coherent multi-turn dialogue without client-side state management

Java Spring MySQL Qdrant Docker

RAG Pipeline       ████████████████  ✓
SSE Streaming      ████████████████  ✓
Tool Calling       ██████████████░░  ✓
Session Memory     ████████████████  ✓

Repo


An autonomous AI agent that conducts deep multi-source research and generates structured reports. Given a query, it plans, crawls, analyses, and writes — without human intervention at any step.

Architecture highlights:

  • Four-stage pipeline: planner.pycrawler.pyanalyzer.pyreport.py — each stage is independently testable and replaceable
  • Parallelized web crawling with Selenium headless Chrome; automatic quality filtering rejects low-signal pages before analysis
  • Multi-modal analysis: text via o3-mini for summarization; screenshot capture + vision model for tables and figures that can't be parsed as text
  • Outline-first report generation: LLM builds a hierarchical section structure with weighted priorities before writing any prose

Engineering decisions:

  • Separating planning from execution (distinct planner.py / research_agent.py) keeps the agent loop auditable — every search decision is traceable back to an explicit plan step
  • Source citation embedded throughout generation, not appended at the end — ensures claims remain grounded even during iterative rewrites

Python OpenAI Selenium Google

Autonomy           ████████████████  Full
Multi-modal        ██████████████░░  ✓
Source-grounded    ████████████████  ✓
Parallelised       ████████████████  ✓

Repo


A real-time voice conversation system with speech-to-text, LLM inference, and text-to-speech in a single low-latency pipeline. Supports multiple languages with minimal perceptible delay.

Architecture highlights:

  • WebSocket-based full-duplex audio stream between browser and Node.js backend — no HTTP polling, no round-trip overhead
  • audioWorklet.js runs in the browser's audio thread for Voice Activity Detection (VAD), sending only speech segments — reduces upstream bandwidth and LLM prompt noise
  • LLaMA inference integrated server-side; response text piped directly into TTS synthesis before the full reply is complete (streaming TTS)

Engineering decisions:

  • Decoupling VAD into the AudioWorklet (off main thread) prevents UI jank during continuous recording
  • Next.js frontend with Tailwind CSS keeps the interface latency-free; no heavy state management framework needed for a single-session voice app
  • Real-time latency monitoring logged per-session — latency data used to tune VAD silence threshold and chunk sizes

TypeScript Node.js Next.js Tailwind

Latency            ██████████████░░  Low
Streaming TTS      ████████████████  ✓
VAD (off-thread)   ████████████████  ✓
Multilingual       ████████████████  ✓

Repo


More Projects

Message Broker — A self-built publish/subscribe message middleware from scratch in Java using raw sockets. No frameworks — pure protocol design, Broker server, and a client SDK. Includes throughput/latency/fanout benchmarks. A systems-fundamentals exercise in network programming and concurrent state management.

Java Raw Sockets Pub/Sub Maven


Halo CE TCG — Game Engine — A TCP-networked trading card game engine built in Java. Implements a full event bus + listener pipeline, damage resolution with a modifier stack, DAG-like phase state machine (DRAW → DEPLOY → SKIRMISH → ENDSTEP), multi-room server with JSON-over-TCP command protocol, and a client SDK. A game rules engine is a strict distributed state synchronisation problem in disguise.

Java TCP Networking Event Bus State Machine Maven



Technical Infrastructure

Languages

Python  Java  TypeScript  JavaScript  C++

Backend & Infrastructure

FastAPI  Spring Boot  Docker  Kubernetes  AWS  Nginx  Kafka  RabbitMQ  Jenkins  Grafana

AI / Machine Learning

PyTorch  TensorFlow  scikit-learn  OpenCV  LangChain  HuggingFace  NumPy

Data Layer

PostgreSQL  MySQL  MongoDB  Redis  Elasticsearch  SQLite

Frontend & Tooling

Vue.js  Tailwind  Git  Linux  Postman  Jupyter



Command Telemetry

GitHub Stats Top Languages
Streak Stats

Contribution Graph


Transmission

GitHub   Email



footer

Pinned Loading

  1. Distributed-Lite-Scheduler Distributed-Lite-Scheduler Public

    面向中小团队的生产级轻量分布式调度平台

    Java

  2. AstroGuide----An-Intelligent-Astronomy-Knowledge-Platform-backend- AstroGuide----An-Intelligent-Astronomy-Knowledge-Platform-backend- Public

    A program for Enthusiast Level astronomy enthusiasts: -Driven by AI as the core -Having a deep understanding of undergraduate astronomy knowledge -Support in-depth Q&A, knowledge exploration, and l…

    Java 1

  3. message-broker message-broker Public

    Forked from 2023111432/message-broker

    一个自主实现的简易消息中间件

    Java

  4. Halo-Combat-Evolved-TCG Halo-Combat-Evolved-TCG Public

    A prototype TCG card game with Halo series background.

    Java

  5. Academic-Paper-to-Slides Academic-Paper-to-Slides Public

    Transform academic papers into engaging presentation slides with AI assistance. This tool uses a multi-agent system to extract content, analyze key points, process figures, and generate polished s…

    Python

  6. Deep-Research-Agent Deep-Research-Agent Public

    Autonomous AI agent for conducting in-depth research through multi-modal analysis and iterative report generation.

    Python