dart_agent_core 1.0.3
dart_agent_core: ^1.0.3 copied to clipboard
A mobile-first, local-first Dart library for building stateful, tool-using AI agents with multi-provider LLM support (OpenAI, Gemini, AWS Bedrock).
1.0.3 #
- Add
maxTurnsprotection toStatefulAgentto prevent potential infinite loops. - Add internal retry limit for empty model responses/stop reasons in
runStream.
1.0.2 #
- Add standard entry-point
example/main.dartto fix pub.dev example discovery. - Add comprehensive API documentation comments (
///) to core library members. - Fix library-level documentation in
lib/dart_agent_core.dart.
1.0.1 #
- Add
ClaudeClientfor direct Anthropic Messages API support (no AWS Bedrock required). - Add examples for Ollama and OpenRouter usage via
OpenAIClient. - Add Claude example with
ClaudeClient. - Rename
docs/todoc/andexamples/toexample/to follow pub.dev conventions.
1.0.0 #
- Initial release.
- Multi-provider LLM support: OpenAI (Chat Completions & Responses API), Google Gemini, AWS Bedrock (Claude).
- StatefulAgent with autonomous tool-calling loop.
- Multimodal message support (text, image, audio, video, document).
- Streaming via
runStream()with fine-grainedStreamingEvents. - Dynamic Skill system with runtime activation/deactivation.
- Sub-agent delegation with
cloneand named sub-agents. - Planning via
write_todostool withPlanMode. - Context compression with
LLMBasedContextCompressorand episodic memory. - Loop detection (tool signature tracking + LLM-based diagnosis).
- AgentController with Pub/Sub and Request/Response lifecycle hooks.
systemCallbackfor per-call request modification.- FileStateStorage for JSON-based state persistence.