Agent ID • AI Agent SDK

agent_id: Lazily generate agent ID when first accessed.

agent_id

Method

</div>

This is a method of the Agent class in the agent module.

Lazily generate agent ID when first accessed.

Diagram

Input Data

Agent: agent_id

Output Result

Signature

python
def agent_id() -> str

Returns

ResponseField str

The result of the operation.

Uses

  • uuid.uuid4

Source

View on GitHub

praisonaiagents/agent/agent.py at line 4158


Related Documentation