# Agents-Flex
**Repository Path**: null_187_9028/agents-flex
## Basic Information
- **Project Name**: Agents-Flex
- **Description**: 一个基于 Java 的 LLM 应用开发框架框架。
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: v2.x
- **Homepage**: https://agentsflex.com
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 907
- **Created**: 2026-02-26
- **Last Updated**: 2026-02-26
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Agents-Flex: A Lightweight Java AI Application Development Framework
## Basic Capabilities
- LLM access capabilities
- LLM Chat interceptor
- Prompt and Prompt Template definition loading capabilities
- Tool method definition, invocation, and execution capabilities
- Tool method execution interceptor
- MCP invocation, response interceptor, monitoring, and caching
- Memory capabilities
- Embedding
- Vector Store
- file2text document reading
- splitter document segmentation
- Observability (based on OpenTelemetry)
## Hello World
```java
public static void main(String[] args) {
OpenAIChatModel chatModel = OpenAIChatConfig.builder()
.provider("GiteeAI")
.endpoint("https://ai.gitee.com")
.requestPath("/v1/chat/completions")
.apiKey("P****QL7D12")
.model("Qwen3-32B")
.buildModel();
String output = chatModel.chat("How can I be more humorous?");
System.out.println(output);
}
```
## documents
https://agentsflex.com