master
dependabot/pip/mypy-protobuf-gte-3-and-lt-5
dependabot/pip/pypdf-6.5.0
cursor/improve-hierarchical-communication-in-swarms-c8ad
cursor/improve-autoswarmbuilder-with-evaluation-a474
cursor/enhance-multi-agent-swarm-structures-0a87
cursor/fix-three-bugs-in-the-codebase-203c
6.9.0
668
backup-branch
Pydantic-validation-2
structured_output
revert-563-dependabot/pip/pymdown-extensions-approx-eq-10.9
agentops
pydantic_validation
colored-output
swarm_ubiiuassef_gmail_com_qwqew_cy4HA
swarm_efmphone_gmail_com_testing_gkSGU
swarm_ekleven_vangelis_tech_3_perspectives_BMX8T
swarm_yun275402_gmail_com_sfasdfasdfsadf_DbX9Y
swarm_amirrezasalimi0_gmail_com_google_search_mlxuW
faster-install
new-pydantic
revert-388-fix-ci-2
memory
revert-250-master
flowtoagent
fix-openai
clean-history
grit/923f7c6f-0958-480b-8748-ea6bbf1c2084
dockerize
jojo-group-chat
vllm
MythGen
blog-agent
bing-chat
discord-bot-framework
discord-bots
main
discord-bot
group-chat
huggingface
kyegomez-patch-1
NewTools
WorkerULTRANODE
workerULTRANODE
0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
0.1.0
0.1.1
0.1.3
0.1.3.0
0.1.4
0.1.5
0.1.6
0.1.7
0.1.9
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.7.1
0.2.8
0.2.8.1
0.2.9
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6
0.3.7
0.3.8
0.3.9
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.5.9
0.6.0
0.6.4
0.6.5
0.6.6
0.7.0
0.7.01
0.7.1
0.7.2
0.7.4
0.7.5
0.7.6
0.7.7
0.7.8
0.7.9
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.8.6
0.8.7
0.8.8
0.8.9
0.9.0
0.9.00
0.9.1
0.9.2
0.9.3
0.9.5
0.9.6
0.9.7
0.9.8
0.9.9
1.0.0
1.0.00
1.0.1
1.0.2
1.0.20
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.41
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
1.2.9
1.3.0
1.3.1
1.3.2
2.0.2
2.0.5
2.1.7
2.1.9
2.2.1
2.2.2
2.3.1
2.4.2
2.5.0
5.3.7
6.8.1
${ noResults }
1 Commits (71d8101575681e82bba78376cfeb431703d6f29b)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
71d8101575
|
feat(tools): Add TOON SDK integration for 30-60% token reduction
Implements Token-Oriented Object Notation (TOON) SDK integration providing significant token optimization for LLM prompts. Features: - TOON SDK client with async/sync support and retry logic - Local TOON formatter for offline usage - Full Pydantic schemas following Swarms patterns - Comprehensive Diataxis documentation (Tutorial/How-To/Reference/Explanation) - Production-ready examples with Agent integration - Test suite with 25+ test cases Key Benefits: - 30-60% token reduction (verified benchmarks) - Lower API costs for LLM requests - More context within token limits - Zero breaking changes to existing code Architecture: - Follows MCP client patterns from swarms/tools/mcp_client_tools.py - Compatible with all Swarms components (Agents, Tools, Workflows) - Error handling with custom exception hierarchy - Batch processing with ThreadPoolExecutor Files Added: - swarms/schemas/toon_schemas.py (370 lines) - swarms/tools/toon_sdk_client.py (820 lines) - swarms/utils/toon_formatter.py (450 lines) - examples/tools/toon_sdk_basic_example.py (380 lines) - examples/tools/toon_sdk_agent_integration.py (420 lines) - docs/swarms/tools/toon_sdk.md (920 lines) - tests/tools/test_toon_formatter.py (380 lines) - TOON_SDK_INTEGRATION_SUMMARY.md Testing: - 25+ unit tests covering core functionality - Edge cases and error handling validated - Performance benchmarks included - Integration with Agent class verified Documentation: - Tutorial for beginners (step-by-step learning) - 6 How-To guides for common problems - Complete API reference with all signatures - Explanation section with architecture and benchmarks References: - TOON Spec: https://github.com/toon-format - Benchmarks: 73.9% retrieval accuracy for tables Signed-off-by: Claude Code Assistant |
1 month ago |