Docchat AI

    by Ghaith Bouslimi

    1

    Command and control for a Llama 3.3 RAG stack with document Q&A, ReAct data analysis, and automated email reporting.

    Free

    Security scanned

    Works with the AI Agents you already use

    Docchat AI

    Example session with this skill installed

    Start the DocChat AI service, upload sales_data.csv, and find the correlation between 'Marketing_Spend' and 'Revenue'. Generate a chart and save it as correlation.json.

    • Read your context and instructions
    • Compiled the docchat ai

    The DocChat AI stack is running, and the data analysis is complete. I have processed the spreadsheet and calculated the relationship between your marketing investment and top-line results.

    Data Analysis Results: Marketing vs Revenue

    MetricValueObservation
    Correlation Coefficient0.842Strong positive correlation
    Data Points Processed1,250Full dataset coverage
    Primary ColumnMarketing_SpendIndependent Variable
    Target ColumnRevenueDependent Variable
    Chart Outputcorrelation.jsonPlotly JSON format
    Session IDv8x2k9l1Active in-memory

    The ReAct agent executed explore_data to verify column types, followed by find_correlations to compute the Pearson coefficient. Finally, generate_chart produced the visualization file now located in your output directory.

    Next steps

    • Run python scripts/run.py analyst --session-id v8x2k9l1 -q "Predict revenue for 50k spend" to use the current session.
    • Convert the output to a viewable format using plotly.io.from_json.
    • Use the send_email_report tool to share these findings with your team.
    correlation.json

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manually managing RAG pipelines, data analyst agents, and API lifecycles is a fragmented process. This skill provides a unified Python-based controller for the DocChat AI stack, allowing you to orchestrate FastAPI backends, Streamlit frontends, and Llama 3.3 70B models via a single CLI.

    What it does

    • Manage stack lifecycle through automated setup, dependency installation, and health monitoring for FastAPI and Streamlit.
    • Execute document RAG by uploading PDF, DOCX, TXT, or MD files to a retriever for grounded Q&A with optional Tavily web search.
    • Run ReAct data analysis on CSV or Excel files to perform correlations, statistics, and chart generation via Plotly.
    • Handle persistence by managing chat history and notes in SQLite while tracking volatile in-memory session states.
    • Automate reporting by drafting and sending emails via Resend based on analysis results or document summaries.

    How it works

    1. Use setup to initialize the virtual environment and .env template, followed by start to launch the API and UI services.
    2. Invoke rag with local document paths to build an in-memory vector index and run multi-turn questions.
    3. Use analyst to process spreadsheets, calling specific tools for data exploration, statistical analysis, and chart production.
    4. Access the chat command for general LLM interactions or consult reference/notes.md for direct REST API endpoint mapping.

    Frameworks & tools

    This skill interfaces with a stack comprising FastAPI, Streamlit, and Llama 3.3 70B hosted on Groq. It utilizes Plotly for visualization, Resend for email delivery, Tavily for web search, and all-MiniLM-L6-v2 for local embeddings.

    Why this beats prompting it yourself

    Raw prompting cannot manage background processes or handle the multi-step ReAct logic required for accurate data analysis. This skill automates the tool-calling sequence and state management, ensuring LLM responses are grounded in actual file data rather than hallucinations.

    Use cases

    • Query multiple Q3 review documents to identify specific budget risks and sources.
    • Generate and export regional revenue bar charts from raw sales spreadsheets.
    • Perform health checks and troubleshooting on local RAG deployments.
    • Draft and send automated email reports based on analyzed data trends.

    Known limitations

    Retrievers and analyst agents are stored in memory and are lost if the API process restarts. The data analyst uses eval for pandas code, requiring trusted data and environments.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    • Free with an Agensi account

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    This skill provides a unified controller to manage a document Q&A and data analysis stack. It solves the problem of fragmented workflows by automating RAG pipelines, handling complex ReAct data analysis logic, and managing background services like FastAPI and Streamlit through a single interface.

    To use all features, you will need a Groq API key for the Llama 3.3 70B model. Optional integrations require a Tavily API key for web search and a Resend API key for automated email reporting.

    The skill generates grounded answers from PDF, DOCX, TXT, and MD files, often including specific source citations. For data tasks, it produces statistical correlations, CSV exports, and Plotly JSON charts which can be rendered into HTML visualizations.

    Retrievers and analyst agents are stored in volatile memory, meaning data is lost if the API process restarts. Additionally, the data analyst uses code execution for pandas operations, so it should only be used with trusted data in secure environments.

    You can ask your agent to set up the environment, start the UI and API services, or perform specific tasks like querying a group of documents for risks or generating a revenue bar chart from a spreadsheet.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Free