The Formalizer Agent is an AI Co-Worker designed for the Telex.im platform. It utilizes the Mastra framework and the Agent-to-Agent (A2A) protocol to transform any casual, informal, or conversational text into highly professional, formal, and corporate-ready prose.
This agent is built to demonstrate robust integration between a custom backend (Mastra) and the Telex platform's workflow system.
Given a casual message, the agent returns only the sophisticated, formalized version, adhering to strict rules:
- Input: Casual/Colloquial Text.
- Output: Highly Formal Text.
- Constraint: No introductory or concluding remarks.
- Framework: Mastra (TypeScript)
- Model: Gemini 2.5 Flash
- Protocol: Agent-to-Agent (A2A) JSON-RPC 2.0
- Deployment: Mastra Cloud
You must have Node.js, npm/pnpm, and the Mastra CLI configured locally.
To run the agent locally for development:
pnpm install/npm install
pnpm run dev/npm run dev
The agent is deployed via the Mastra CLI, which handles the build, bundling, and cloud deployment:
pnpm run deploy/npm run deploy
After successful deployment, the agent is accessible via the following public A2A endpoint. This URL is used in the Telex Workflow JSON
Once the workflow is active in your Telex workspace,chat with it