GoogleSheetsAgent
What it is
- An
IntentAgentspecialized for providing general guidance about Google Sheets: spreadsheet management, formulas, and data analysis. - This agent is non-operational for real Sheet access: it defines no tools and explicitly states it cannot access spreadsheets.
Public API
-
create_agent(agent_shared_state: Optional[AgentSharedState] = None, agent_configuration: Optional[AgentConfiguration] = None) -> IntentAgent- Factory that constructs and returns a configured
GoogleSheetsAgent. - Sets:
name:"Google_Sheets"description: guidance-focused descriptionsystem_prompt:SYSTEM_PROMPTtools: empty list ([])intents: twoIntentType.RAWintents for feature info and spreadsheet/formula guidancechat_model:naas_abi_marketplace.ai.chatgpt.models.gpt_4_1.model.modelstate: providedAgentSharedStateor a new instancememory:None
- Factory that constructs and returns a configured
-
class GoogleSheetsAgent(IntentAgent)- No additional methods/overrides; inherits behavior from
IntentAgent.
- No additional methods/overrides; inherits behavior from
Configuration/Dependencies
- Depends on
naas_abi_core.services.agent.IntentAgentfor:IntentAgent,AgentConfiguration,AgentSharedState,Intent,IntentType
- Uses a ChatGPT model from:
naas_abi_marketplace.ai.chatgpt.models.gpt_4_1
- Key constants:
SYSTEM_PROMPT: instructs the agent to provide guidance only and acknowledge lack of tools.SUGGESTIONS: empty list (unused in this file).
Usage
from naas_abi_marketplace.applications.google_sheets.agents.GoogleSheetsAgent import create_agent
agent = create_agent()
# The agent is configured with no tools; it can provide general guidance only.
print(agent.name) # "Google_Sheets"
print(agent.description) # Helps you interact with Google Sheets...
Caveats
- No Google Sheets tools are configured (
tools = []), so the agent cannot:- access spreadsheets
- read/write data
- perform actions against Google Sheets APIs
- The intents are
RAWand return predefined guidance-style responses rather than executing operations.