Highlights
- 🚀 LLM provider streamlining and updates:
- OpenAI package now optional (
pip install ag2[openai]
) - Cohere updated to support their Chat V2 API
- Gemini support for system_instruction parameter and async
- Mistral AI fixes for use with LM Studio
- Anthropic improved support for tool calling
- OpenAI package now optional (
- 📔
DocAgent
- DocumentAgent is now DocAgent and has reliability refinements (with more to come), check out the video - 🔍
ReasoningAgent
is now able to do code execution! - 📚🔧 Want to build your own agents or tools for AG2? Get under the hood with new documentation that dives deep into AG2:
- Fixes, fixes, and more fixes!
Thanks to all the contributors on 0.7.6!
New Contributors
- @NeoByteXx made their first contribution in #1072
- @comfsrt made their first contribution in #1116
- @marufaytekin made their first contribution in #1101
- @Fallengirl made their first contribution in #1136
- @liminma made their first contribution in #1090
- @futreall made their first contribution in #1150
- @ghoto made their first contribution in #1155
What's Changed
- Manually notify codecov to make PR comment with coverge percentage by @kumaranvpl in #1063
- Support for loading response format as a pydantic model from configuration files by @sternakt in #1023
- Update PR comments automatically after 30 reports by @kumaranvpl in #1066
- Fix LLM parameter propagation and refactor BrowserUseTool by @rjambrecic in #1033
- Fix typing for RAG and Graph RAG by @davorrunje in #1065
- Refactor query engine interface by @AgentGenie in #1058
- Remove after_n_builds param by @kumaranvpl in #1071
- Crawl4ai tool refactoring by @rjambrecic in #1070
- Grammar and Clarity Fixes by @NeoByteXx in #1072
- Remove accidentally committed RFC by @kumaranvpl in #1079
- [Docs] Add google analytics to the gh-pages domain by @harishmohanraj in #1082
- Require permit-tests environment approval for non llm tests by @kumaranvpl in #1084
- Reduce LFS usage in CI by @davorrunje in #1081
- Update a_generate_reply function call with correct params in a_receive by @kumaranvpl in #1076
- Fix Mistral running in LM Studio by @rjambrecic in #1086
- Remove merge_group check from unnecessary workflows by @kumaranvpl in #1085
- [Docs] Fix broken links by @harishmohanraj in #1046
- Preserve chat history when using 'agent.run' by @rjambrecic in #1087
- [Docs] Fix broken image path by @harishmohanraj in #1089
- DocAgent rename and demonstration documentation by @marklysze in #1059
- Further improvements to DocAgent and demo by @marklysze in #1093
- Correct hook processing order on ConversableAgent.a_generate_reply by @marklysze in #1096
- Disable workflow runs for all branches except on main branch on schedule by @kumaranvpl in #1104
- Enhance typing and docs in oai client by @CAROLZXYZXY in #1106
- Fix failing core llm tests because of missing websockets dependency by @kumaranvpl in #1100
- [Docs] Generate initial mkdocs site with static pages by @harishmohanraj in #1108
- Pin browser-use version to specific version by @kumaranvpl in #1109
- [Docs] Fix favicon and mkdocs cleanup by @harishmohanraj in #1112
- Add interoperability user guides by @rjambrecic in #1113
- Update dependency versions by @kumaranvpl in #1111
- Fix typos and improve documentation formatting by @kilavvy in #1117
- [CI/CD] Only check tracked files in git pre-submit by @CAROLZXYZXY in #1107
- Filter out transfer messages in swarm by @yiranwu0 in #1119
- fix minor error transforms.py by @comfsrt in #1116
- Update Cohere client library to V2 with Structured Outputs by @marklysze in #370
- Fix serialization of TextMessage containing PIL image by @rjambrecic in #1126
- Add jsonl files and use it to initiate falkordb by @kumaranvpl in #1125
- Remove permission requirement for non llm tests by @kumaranvpl in #1128
- Fix path comparison for Windows compatibility by @harishmohanraj in #1130
- Fix check_termination_and_human_reply() when called with empty list as messages by @davorrunje in #1132
- Move PIL to optional import block by @kumaranvpl in #1134
- [Bug Fix] Tool signature error for Anthropic #1091 by @marufaytekin in #1101
- fix function errors by @Fallengirl in #1136
- Reasoning Agent can execute code now. by @BabyCNM in #545
- Swarm and Google Gemini client test fixes by @marklysze in #1139
- Fix agents and agents tests checks by @marklysze in #1141
- Pass system message as system_instruction to Gemini #1011. by @liminma in #1090
- rename
ysaml
toyaml
by @futreall in #1150 - Voice hooks fixes by @davorinrusevljan in #1154
- Solves issue with SwarmResult.agent AfterWorkOption -> str by @ghoto in #1155
- Remove detect-secrets from pre-commit by @davorrunje in #1158
- Add LiteLLM user guides by @rjambrecic in #1152
- [Infra] Remove openai dependency from base dependencies by @sternakt in #1149
- [Docs] Add API reference section by @harishmohanraj in #1144
- [Docs] Add docs versioning by @harishmohanraj in #1151
- Set default value for GroupChat messages by @rjambrecic in #1148
- Enable tool removal by name by @marklysze in #1143
- Update Discord/Slack/Telegram Agent inits by @marklysze in #1159
- Bump version to 0.7.6b1 by @davorrunje in #1160
- How AG2 Works documentation for agent and tool builders by @marklysze in #1098
- GPT Assistant tests - cater for openai dependency by @marklysze in #1162
- Further test updates to cater for openai dependency by @marklysze in #1163
- Further changes to accommodate openai as dependency (P3) by @marklysze in #1164
- OpenAI exception handling and httpx dependency by @marklysze in #1165
- Deepseek tests update for openai dependency by @marklysze in #1166
- Update to OnCondition, AfterWork, and UpdateSystemMessage in documentation by @marklysze in #1169
- Bump version to 0.7.6 by @marklysze in #1168
Full Changelog: v0.7.5...v0.7.6