How iflytek/astron-agent works
Project Type & Purpose
• Astron Agent is a full-stack, enterprise-grade AI Agent Development Platform.
• It comprises a React/TypeScript SPA (console frontend), a Java Spring Boot multi-module backend (console hub), and a set of microservices written in Python and Go (“core” services).
• Supports end-to-end: model hosting, workflow orchestration, RPA, data storage, caching, messaging, and object storage.
File Structure
• Top-level “console” directory:
• frontend – TS/React app served via Nginx, built with Vite.
• backend – Maven multi-module:
– commons (shared annotations, DTOs, services)
– toolkit (utility libraries)
– hub (Spring Boot application exposing REST/SSE APIs)
• “core” directory: independent microservices, each self-contained:
• core/agent (Python FastAPI)
• core/knowledge, core/memory, core/workflow (Python)
• core/plugin/aitools, link, rpa (Python)
• core/tenant (Go)
• core/common (shared Python libs)
• “docker/astronAgent” holds a Docker Compose stack orchestrating console + all core services plus MySQL, Redis, Kafka, MinIO.
README Insights
• Backend languages: Java 21/Spring Boot, Python 3.11, Go
• Frontend: React 18, TypeScript 5
• Datastores: MySQL 8, Redis
• Messaging: Apache Kafka
• Storage: MinIO
• Deployment: Docker Compose, one-click startup