Skip to content

Framework Usage

Welcome to the framework usage documentation! This section will help you understand how to use Astrsomn in your applications.

Overview

Astrsomn provides a comprehensive set of features for building AI-powered applications:

  1. Agent Management: Configure and manage intelligent agents with model, MCP, tool, prompt, and account settings
  2. Workflow Engine: Orchestrate complex business processes (coming soon)
  3. System Management: Manage users and system configurations

Quick Start Example

java
@Astro(name = "my-agent")
public class MyAgent {
    
    @AstroModel(provider = "DEEPSEEK", model = "deepseek-chat")
    private AstroClient client;
    
    @AstroPrompt("You are an intelligent assistant")
    public String chat(String message) {
        return client.chat(message);
    }
}

Table of Contents