Agentic AI Kit provides a collection of specialized agents for conversational AI, reasoning, analytics, retrieval, structured outputs, and automated machine learning. All agents share a consistent interface while extending the capabilities of BaseAgent.
BaseAgent
File: agentic_ai/agents/base.py
The foundation of the framework. BaseAgent supports conversational AI with configurable Gemini models, memory management, streaming responses, and optional long-term fact extraction.
Persona and system prompts
Short-term conversation memory
Durable fact extraction
Streaming and non-streaming generation
Configurable Gemini models
File: agentic_ai/agents/tool_agent.py
Extends BaseAgent with Gemini function calling. Register Python functions and allow the model to invoke them automatically when appropriate.
Automatic tool selection
Gemini function calling
Python function registration
Parameter descriptions
Structured tool schemas
File: agentic_ai/agents/json_agent.py
Produces structured Python dictionaries instead of free-form text.
Ideal for:
information extraction
APIs
automation
structured workflows
File: agentic_ai/agents/reasoning_agent.py
Generates an explicit reasoning plan together with the final answer.
Returns:
reasoning
answer
context_for_next
Useful for planning, orchestration and multi-agent workflows.
File: agentic_ai/agents/analyst_agent.py
A dataframe-aware analytics specialist.
It combines local pandas analysis with Gemini-powered interpretation.
Data profiling
Numeric summaries
Categorical summaries
Grouped aggregations
Correlation analysis
Natural-language insights
File: agentic_ai/agents/mle_agent.py
Automates classical machine-learning workflows using scikit-learn.
Profile dataset
Summarize features
Detect leakage
Train baseline models
Compare performance
Select best pipeline
Optional Gemini interpretation
Classification
Logistic Regression
Random Forest Classifier
Regression
Linear Regression
Random Forest Regressor
File: agentic_ai/agents/auto_model_agent.py
Extends MLEAgent into a complete end-to-end modelling pipeline.
Profile data
Analyse target
Summarise features
Detect leakage
Generate modelling policy
Train models
Select best pipeline
Interpret results
File: agentic_ai/rag/rag_agent.py
Retrieval-Augmented Generation with built-in chunking, embeddings and vector search.
Text chunking
Gemini embeddings
In-memory vector database
Semantic retrieval
Context-grounded generation
Agent Best For
BaseAgent > Conversational AI
ToolAgent > Function calling
JsonAgent > Structured outputs
ReasoningAgent > Planning workflows
AnalystAgent > Data analysis
MLEAgent > Classical ML
AutoModelAgent > Automated modelling
RAGAgent > Retrieval-Augmented Generation