Scenario: How a Corporate Legal Team Uses AgenticHub to Build a Legal Assistant
1. Background
Corporate legal teams often handle contract review, compliance checks, regulation lookup, and risk assessment.
These tasks require analyzing large volumes of documents and performing precise information retrieval.
With AgenticHub, teams can quickly build a RAG (Retrieval-Augmented Generation)–powered Legal Assistant that automates document retrieval, clause association, regulation lookup, and legal opinion generation, significantly improving workflow efficiency.
2. Accessing AgenticHub
After logging into the Transn Community, navigate to “Apps → AgenticHub” from the top menu to open the workspace.

Upon entering, the interface displays Templates, Instances, and Tasks in the left panel, and the agent interaction area on the right.

3. Creating a Legal Assistant RAG Instance
AgenticHub provides a standard Legal Assistant Template that can be used as a foundation for creating a RAG-powered legal intelligence agent.
Steps:
- Open the Templates panel on the left
- Select the “Simple RAG” template
- Click Run
- Fill in the instance name and description
- The created instance will appear under Instances

4. Configuring the Legal Knowledge Base (RAG Document Source)
To enable accurate legal retrieval, the instance can be configured with enterprise-specific legal documents.
Recommended document types:
- Standard contract templates
- Historical contracts
- Corporate compliance policies
- National regulations (e.g., Labor Contract Law)
- Internal approval and governance documents
Steps:
- Open the instance
- Navigate to the knowledge base configuration section
- Upload documents
- The system automatically parses and vectorizes the content

5. Testing the Legal Assistant (RAG Behavior)
Once the knowledge base is configured, the legal assistant can be tested directly in the instance chat interface.
Example query:
Check whether this employment contract restricts part-time work and list the legal references.
The system will automatically:
- Identify intent
- Retrieve relevant contract and regulation segments
- Generate a legal analysis
- Provide citations for referenced laws

This dramatically reduces manual document lookup time and provides traceable, consistent legal reasoning.
6. Applying the Legal Assistant in Daily Legal Operations
Once configured, the legal assistant can support multiple legal workflows, including:
- Contract clause review and extraction
- Regulation lookup and citation
- Compliance rule comparison
- Risk identification
- Drafting legal opinions and summaries
- Long-term legal knowledge base management

The Legal Assistant becomes an essential tool in the legal team’s daily operations, reducing repetitive work and improving analytical efficiency.