# agents-flex

> Agents-flex is A Lightweight Java AI Application Development Framework.

- **URL**: https://www.freshcrate.ai/projects/agents-flex
- **Author**: agents-flex
- **Category**: Frameworks
- **Latest version**: `v2.1.3` (2026-05-26)
- **License**: Apache-2.0
- **Source**: https://github.com/agents-flex/agents-flex
- **Homepage**: https://agentsflex.com
- **Language**: Java
- **GitHub**: 1,120 stars, 117 forks
- **Registry**: github
- **Tags**: `agent`, `ai`, `chatbot`, `chatgpt`, `gpt`, `java`, `langchain4j`, `llama3`, `llm`

## Description

Agents-flex is A Lightweight Java AI Application Development Framework.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v2.1.3` | 2026-05-26 | High | - feat(test): add Bailian search integration and provider tool enhancements - feat(chat): add provider tool support and enhance tool serialization - refactor(tool): update MethodTool parameter resolution and add override annotation - refactor(docs): update document module documentation structure - refactor(OpenAIChatRequestSpecBuilder): update tool choice condition logic - fix(chat): handle null responses and improve content extraction logic |
| `v2.1.2` | 2026-05-15 | High | - fix(prompt): correct failOnMissingVariable logic in template processing - feat(prompt): add keep expression on missing variable option - feat(prompt): add failOnMissingVariable option to PromptTemplate - docs(homepage): update homepage features and navigation links - docs(nav): add model router and LLM wiki documentation - feat(router): add model routing infrastructure with load balancing and circuit breaking - feat(embedding): add EmbeddingOptions class for embedding model configuration |
| `v2.1.0` | 2026-04-22 | High | - refactor(chat): rename needReasoningContentForToolMessage to preserveThinkingEnable - feat(wiki): add method to build XML representation of wikis - feat(wiki): add wiki module with Wiki entity and tool integration - refactor(skills): simplify stream mapping in SkillsTool |
| `v2.0.9` | 2026-04-17 | High | - feat(chat): add weather tool integration with location parameter enhancement - refactor(tool): refactor method tool parameter handling with improved array and object type support - feat(milvus): add configurable primary key type support - refactor(store): change document store methods visibility to protected - fix(milvus): correct primary key type handling in vector store |
| `v2.0.8` | 2026-04-17 | High | - test(file2text): add file to text utility test cases - feat(image): add MIME type detection from file extension - refactor(extractor): remove duplicate file extension extraction method - feat(extractor): enhance DOC and DOCX extractors with image support - feat(image): add Bailian image model support and enhance size handling - fix(image): correct image data URI format - refactor(config): update package structure for chat model auto configurations - fix: support num/uuid point id parsin |
| `v2.0.7` | 2026-03-30 | Medium | - feat(milvus): add support for custom extension fields in vector store - refactor(milvus): rename dimension field to defaultDimension for clarity - feat(milvus): add expression adaptor support for vector store filtering - refactor(milvus): improve search request building and add comprehensive tests - fix(milvus): correct partition names condition check in search builder - chore(deps): update milvus-sdk-java dependency version - refactor(milvus): rename collectionName to defaultCollectionN |
| `v2.0.6` | 2026-03-25 | Medium | - fix(chat): handle null metadata in ChatOptions builder - refactor(core): replace addMetadata with putMetadata in document operations - feat(chat): add metadata support to ChatOptions - refactor(config): update package structure and configuration imports - refactor(model): move chat model classes from llm package to model.chat package - refactor(chat): extend ChatOptions from Metadata class |
| `v2.0.5` | 2026-03-18 | Low | - test(milvus): update test collection name and add document metadata - test(file2text): add test case for http xlsx to text conversion - feat(extractor): add Excel file extraction support - refactor(core): change vector data type from double to float and update setVector method - refactor(store): change score type from Double to Float across vector stores - refactor(store): optimize Milvus vector store connection management - feat(demo): enhance skills demo with logging and output improve |
| `v2.0.4` | 2026-03-12 | Low | - feat(text2sql): optimize table building logic for JDBC data sources - refactor(core): optimize OpenAI chat message serializer parameter handling - feat(openai): add location-based weather tool functionality - feat(tools): enhance method tool parameter handling with JSON Schema mapping - feat(tool): enhance MethodTool with proper JSON Schema type mapping - feat: Search engines support element data filtering - feat(parser): Support latest vllm output format with multiple possible reasoning |
| `v2.0.2` | 2026-03-06 | Low | - feat(file2text): add encoding detection utility for file extraction - fix(template): update ChartConfigTool markdown template format - feat(text2sql): add chart configuration tool for data visualization - refactor(text2sql): enhance tool descriptions and parameter validation for SQL query tools - refactor(core): simplify tool calls check in AiMessageResponse |

## Dependency audit

- **Score**: 100/100
- **Total deps**: 0
- **Resolved**: 0
- **Unresolved**: 0
- **License conflicts**: 0
- **Warnings**: 0
- **Scanned**: 2026-05-18

## Citation

- HTML: https://www.freshcrate.ai/projects/agents-flex
- Markdown: https://www.freshcrate.ai/projects/agents-flex.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/agents-flex/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
