vantura 0.1.0 copy "vantura: ^0.1.0" to clipboard
vantura: ^0.1.0 copied to clipboard

An AI Agentic Framework for Flutter. Build LLM-powered agents that reason, use tools, remember conversations, and stream responses in real-time. Works with any OpenAI-compatible API.

Changelog #

All notable changes to the Vantura SDK will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


0.1.0 - 2026-02-22 #

Added #

  • Core Agent Loop: VanturaAgent with ReAct-style reasoning (up to 10 iterations), supporting both run() (blocking) and runStreaming() (SSE token-by-token).
  • HTTP Client: VanturaClient with connection pooling, 3-retry exponential backoff, and automatic HTTP 429 rate-limit handling.
  • Memory System: VanturaMemory with short-term (recent messages) and long-term (LLM-summarized) memory, plus automatic pruning.
  • Persistence Interface: Abstract VanturaPersistence — plug in any storage backend (SQLite, Hive, Firestore, etc.) without SDK modification.
  • Tool Framework: Generic VanturaTool<T> base class with type-safe argument parsing, JSON Schema definitions via SchemaHelper, and human-in-the-loop confirmation support.
  • Built-in Tools: CalculatorTool, NetworkConnectivityTool, DeviceInfoTool, ApiTestTool.
  • Multi-Agent Coordination: AgentCoordinator class for routing conversations between specialist agents with automatic transfer_to_agent tool injection.
  • Request Cancellation: CancellationToken for aborting generation mid-request at both the HTTP and reasoning-loop levels.
  • Token Usage Tracking: TokenUsage object returned in VanturaResponse with promptTokens, completionTokens, and totalTokens.
  • Error Callbacks: onToolError, onAgentFailure, and onWarning hooks on VanturaAgent for structured error reporting and telemetry.
  • UI State Management: VanturaState (ChangeNotifier) for syncing agent status (isRunning, currentStep, errorMessage) with Flutter UI.
  • Markdown Renderer: Zero-dependency MarkdownText Flutter widget supporting headers, bold, italic, inline code, bullet lists, and horizontal rules.
  • Logger Interface: Abstract VanturaLogger with a default SimpleVanturaLogger (colored console output).

Notes #

  • First public release as an extracted, standalone Flutter package.
  • Compatible with any OpenAI-compatible API provider (Groq, OpenAI, Ollama, Together AI, etc.).
4
likes
0
points
301
downloads

Publisher

verified publisherdatadaur.com

Weekly Downloads

An AI Agentic Framework for Flutter. Build LLM-powered agents that reason, use tools, remember conversations, and stream responses in real-time. Works with any OpenAI-compatible API.

Repository (GitHub)
View/report issues

Topics

#ai #llm #agent #flutter #openai

License

unknown (license)

Dependencies

connectivity_plus, device_info_plus, flutter, google_fonts, http

More

Packages that depend on vantura