GoogleDriveAgent
What it is
A minimal IntentAgent wrapper configured to provide general guidance about Google Drive (features, file/folder management). It defines no tools, so it cannot access or modify Google Drive—only respond with informational guidance.
Public API
-
create_agent(agent_shared_state: Optional[AgentSharedState] = None, agent_configuration: Optional[AgentConfiguration] = None) -> IntentAgent- Factory that builds and returns a configured
GoogleDriveAgent. - Sets:
name:"Google_Drive"description: guidance-focused descriptionsystem_prompt: guidance-only constraintstools:[](none)intents: two RAW intents providing canned guidance responsesstate: provided or newAgentSharedState()configuration: provided orAgentConfiguration(system_prompt=SYSTEM_PROMPT)chat_model: imported fromnaas_abi_marketplace.ai.chatgpt.models.gpt_4_1
- Factory that builds and returns a configured
-
class GoogleDriveAgent(IntentAgent)- No additional behavior beyond
IntentAgent(empty subclass).
- No additional behavior beyond
Configuration/Dependencies
- Depends on
naas_abi_core.services.agent.IntentAgentfor:IntentAgent,AgentConfiguration,AgentSharedState,Intent,IntentType
- Uses chat model:
naas_abi_marketplace.ai.chatgpt.models.gpt_4_1(importsmodel, usesmodel.model)
- Key module constants:
SYSTEM_PROMPT: explicitly states no access to Google Drive tools and restricts actions to general guidance.SUGGESTIONS: empty list.
Usage
from naas_abi_marketplace.applications.google_drive.agents.GoogleDriveAgent import create_agent
agent = create_agent()
# The returned object is an IntentAgent (GoogleDriveAgent) configured with no tools.
print(agent.name) # "Google_Drive"
print(agent.description) # Helps you interact with Google Drive...
Caveats
- No tools are configured (
tools = []), so the agent cannot list/upload/download/manage real Drive files; it can only provide general information and guidance as defined inSYSTEM_PROMPT.