NotionAgent
What it is
A thin IntentAgent wrapper configured as a “Notion” assistant that can only provide general guidance about Notion (no tools/actions are configured).
Public API
-
create_agent(agent_shared_state: Optional[AgentSharedState] = None, agent_configuration: Optional[AgentConfiguration] = None) -> IntentAgent- Factory that builds and returns a configured
NotionAgent. - Sets:
name:"Notion"description:"Helps you interact with Notion for workspace and knowledge management."system_prompt:SYSTEM_PROMPT(if no configuration provided)tools: empty list (no Notion integrations)intents: twoIntentType.RAWintents providing informational responsesmemory:None
- Factory that builds and returns a configured
-
class NotionAgent(IntentAgent)- No additional behavior beyond
IntentAgent(inherits everything;pass).
- No additional behavior beyond
Configuration/Dependencies
- Depends on
naas_abi_core.services.agent.IntentAgent:IntentAgent,AgentConfiguration,AgentSharedState,Intent,IntentType
- Loads chat model from:
naas_abi_marketplace.ai.chatgpt.models.gpt_4_1(model.modelis passed aschat_model)
- Constants:
SYSTEM_PROMPT: explicitly states no tool access; guidance-only operationSUGGESTIONS: empty list
Usage
from naas_abi_marketplace.applications.notion.agents.NotionAgent import create_agent
agent = create_agent()
# Use `agent` via the surrounding naas_abi framework's execution/runtime interfaces.
Caveats
- No tools are configured (
tools = []), so the agent cannot access Notion workspaces, pages, or databases. - Responses are limited to general information and guidance as described in
SYSTEM_PROMPT.