TheDocumentation Index
Fetch the complete documentation index at: https://docs.ubik-agent.com/llms.txt
Use this file to discover all available pages before exploring further.
information_analysis tool is a powerful engine for deep-dive research, synthesis, and content transformation. Unlike standard search tools that retrieve snippets, this tool processes documents in their entirety, allowing for comprehensive analysis that bypasses the context window limitations of standard Large Language Models (LLMs).
It employs a recursive summarization and synthesis pipeline to digest large volumes of text and produce a cohesive output tailored to a specific user intent.
When to Use This Tool
Useinformation_analysis when you need to:
- Synthesize information from multiple large documents (e.g., “Summarize these 5 quarterly reports”).
- Transform content into a specific format (e.g., “Turn this technical whitepaper into a blog post”).
- Analyze trends across a dataset (e.g., “What are the common themes in these customer feedback logs?”).
- Create comprehensive reports that require reading every page of the source material.
Input Parameters
The tool accepts the following parameters:| Parameter | Type | Required | Description |
|---|---|---|---|
intent | string | Yes | The specific goal or question guiding the analysis. Be detailed! This instruction is used at every step of the recursive process to decide what information to keep and what to discard. |
document_ids | array<uuid> | No* | A list of Document UUIDs to analyze. |
text | string | No* | Raw text to analyze directly, as an alternative to providing document IDs. |
document_ids or text must be provided.
Output Structure
The tool returns a structured object containing the synthesized response and metadata about the sources.| Field | Description |
|---|---|
response | The final synthesized text, tailored to the intent. Includes inline citations. |
sources | A list of the documents that were actually used in the analysis, including their metadata. |
sources_used | A list of indices (ranks) corresponding to the sources that were explicitly cited in the response. |
execution_id | The unique identifier for this tool execution. |
Example Usage
Scenario: Creating a Pitch Deck Script
Input:intent. The final output will be a coherent script that weaves together technical details and market data, citing the original documents.
How It Works
- Dynamic Instruction Generation: The tool first analyzes your
intentand the document sample to automatically generate specialized instructions for its sub-agents. This ensures that every step of the summarization is tailored to extract exactly what you’re looking for, making it far more effective than generic summarization. - Chunking: The tool splits the input documents into manageable chunks.
- Recursive Summarization: It processes these chunks in parallel waves. Each chunk is summarized based on the custom instructions generated in step 1.
- Aggregation: The summaries are combined and summarized again (and again) until they fit within the context window.
- Final Synthesis: The final set of concentrated summaries is used to generate the response, ensuring it flows logically and directly addresses your prompt.

