MercuryAgent
What it is
- An
IntentAgentimplementation configured to provide general guidance about Mercury (banking/financial operations). - Ships with a system prompt and two simple RAW intents.
- No Mercury tools are configured (tools list is empty).
Public API
create_agent(agent_shared_state: Optional[AgentSharedState] = None, agent_configuration: Optional[AgentConfiguration] = None) -> IntentAgent- Factory that returns a configured
MercuryAgent. - Sets:
name:"Mercury"description:"Helps you interact with Mercury for banking and financial operations."chat_model: imported fromnaas_abi_marketplace.ai.chatgpt.models.gpt_4_1tools:[](none)intents: twoIntententries of typeIntentType.RAWconfiguration: defaults toAgentConfiguration(system_prompt=SYSTEM_PROMPT)if not providedstate: uses providedAgentSharedStateor creates a new onememory:None
- Factory that returns a configured
class MercuryAgent(IntentAgent)- Concrete agent class (no additional behavior; inherits everything from
IntentAgent).
- Concrete agent class (no additional behavior; inherits everything from
Configuration/Dependencies
- Depends on
naas_abi_core.services.agent.IntentAgentfor:AgentConfiguration,AgentSharedState,Intent,IntentAgent,IntentType
- Uses GPT model wrapper from:
naas_abi_marketplace.ai.chatgpt.models.gpt_4_1(importsmodeland passesmodel.model)
- Key constants:
SYSTEM_PROMPT: instructs the agent to provide guidance only and explicitly states tools are unavailable.SUGGESTIONS: defined as empty list (not used in this module).
Usage
from naas_abi_marketplace.applications.mercury.agents.MercuryAgent import create_agent
agent = create_agent()
# Interactions depend on the IntentAgent interface provided by naas_abi_core.
Caveats
- No tools are configured (
tools = []), so the agent cannot access Mercury accounts, balances, or execute operations; it can only provide general information and guidance as described inSYSTEM_PROMPT.