AI Agent Chat Assistant

Your tactical AI co-pilot — converse naturally with your map, query spatial data, and execute commands through an intelligent chat interface powered by on-device LLMs.

Natural Language Map Interaction

The AI Agent transforms how you interact with ATAK. Instead of navigating complex menus and learning query syntax, simply describe what you need in natural language. The agent understands your intent, executes the appropriate tools, and delivers actionable results.

🤖 Conversational Intelligence

Ask questions like "What friendly units are within 2km of my location?" or "Create a route to the nearest resupply point avoiding restricted areas." The AI Agent maintains conversation context, so you can ask follow-up questions and refine queries naturally.

Tool-Calling Architecture

The AI Agent uses a tool-calling system that enables the LLM to execute actions beyond text generation. When you make a request, the agent determines which tools to use, executes them, and incorporates the results into its response.

Tool Description Key Parameters
spatial_query Execute SQL queries against DuckDB spatial database query, limit, format
map_manipulation Create, modify, and delete map objects action, type, data
location_context Get user location and nearby context radius, include_markers

Spatial Query Tool

The spatial query tool provides direct access to the DuckDB spatial database. Query placemarks, routes, AOIs, and any imported geospatial data using natural language that the LLM translates to SQL.

Example Spatial Queries

Location Context Awareness

The agent maintains continuous awareness of your position, heading, speed, and surroundings. This context enables intelligent, location-aware responses without explicitly stating coordinates in every query.

Context Element Source Usage
User Location GPS / GNSS Distance calculations, nearby queries
Map Center MapView state Visible area queries
Active Layers Layer manager Contextual data availability
Team Members CoT tracking Team situational queries

Map Manipulation Capabilities

Create and modify map objects through conversational commands. The agent handles coordinate parsing, marker creation, route generation, and AOI definition through natural language instructions.

🗺 Hands-Free Map Operations

During dismounted operations or while driving, use voice input with the AI Agent to drop markers, create routes, and update AOIs without touching the screen. Say "Mark my current location as Observation Post Alpha" and the agent creates the marker with proper attribution.

Streaming Responses

Responses stream in real-time, providing immediate feedback as the LLM generates content. This creates a fluid conversational experience and allows you to begin reading results before the complete response is generated.

Chat Interface Features

Privacy & Security

All AI Agent processing happens on-device. No queries, map data, or conversation history leaves your device. This makes the AI Agent suitable for classified operations, denied environments, and any scenario where data sovereignty is critical.

Gemma 3N Phi-4 MiniCPM MediaPipe GenAI DuckDB Spatial Tool Calling Streaming
← On-Device AI Next: Geospatial Analytics →