AgentX and treg Integration

Demonstration of how apps are integrated in WEXTL workflow builder[4]

Build ai integration workflows between AgentX and treg applications in 3 simple steps. Pick an action inside AgentX, then subsequent action inside treg, map fields once and automation will run exactly how you set it in visual builder.

  • 3-day trial
  • Cancel anytime
  • Up to 10 minutes quick set up
  • GDPR
  • Data Encryption
  • 2FA
  • Local Data Region

Learn about AgentX and treg

Detailed info you need to know about AgentX and treg integrations in WEXTL. Explore which modules apps support and how you connect them.

  • AgentX

    • AI
    • 7 searches
    • 12 actions

    Hosted AI agents for starting conversations, sending messages and reading traces.[5]

  • treg

    • AI
    • 54 searches
    • 50 actions

    Agent tool gateway that calls thousands of data and AI tools with one token.[6]

How to connect AgentX to treg

Set up your AgentX and treg integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.

How does the integration between AgentX and treg work in WEXTL?

WEXTL exposes actions and triggers for AgentX and treg that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.

AgentX actionstreg actions

AgentX modules

  • Create a Conversation Opens a new conversation on one of your AgentX agents. Set Type to Chat, Search or Ecommerce to decide how the agent will handle it.
  • Create Speech Turns Text into spoken audio through the AgentX voice API. Set Language, Gender, Speed or Accent to shape the voice, and turn on Robot for a mechanical tone.
  • Create Speech Stream Synthesizes Text as a streamed audio response from the voice API, so playback can begin before the whole clip exists. Use Language, Gender, Speed or Accent to adjust the voice.
  • Delete a Conversation Context Clears the memory context stored for a conversation held with an agent in AgentX.
  • Get a Conversation Reads one conversation of an agent together with its messages. Create a Conversation or List Conversations gives you the conversation to read.
  • Get a Message Trace Looks up the prompt trace linked to a message by its Message ID. Pass the result to Get a Trace for the full detail.
  • Get a Trace Looks up the detailed prompt trace for a Trace ID, the record of how an agent built its answer. Get a Message Trace finds the ID for a given message.
  • Get an Agent Fetches the details and current configuration of a single agent in your AgentX account.
  • Get Your Profile Reads the profile of the user who owns the API key this credential uses, which shows which AgentX account a credential belongs to.
  • List Agents Finds every agent your API key is allowed to use in AgentX, each coming back as a separate result.
  • List Conversations Collects the conversations held with one agent, ready to read or continue in later steps.
  • Make an API Call Makes an authorized free-form request to the AgentX REST API with your saved credential.
  • Send a Message Posts a Message into an existing conversation and returns the Status and Response of the agent. Use Agent Mode to switch between Chat and Search, and Context to set how much history counts, with 0 meaning as much as possible.
  • Send a Message and Wait Sends a Message and holds until the agent finishes the whole reply, buffered up to 10 MiB or 180 seconds. Use Context to cap how much earlier conversation counts.
  • Send a Message and Wait for JSON Sends a Message, optionally with Attachments or Audio, and waits until the agent completes a JSON reply. Set Context to restrict the history the agent draws on.
  • Send a Message with an Attachment Uploads a File into a conversation for the agent to read. Add a Message to go along with the file, and use Context to control how much earlier chat is considered.
  • Send Speech Recognition Submits an audio Sample (Base64) for transcription under a Call ID and Seq ID. AgentX posts the recognized text to your Callback URL, and you can leave Language empty for auto detection.
  • Update a Conversation Context Seeds a conversation with earlier user and assistant Messages as memory, without triggering a chat turn.
  • Update a Message Vote Sets the Vote on a message, found by its Message ID. Use Agent and Trace ID to tie the vote to the exchange it rates.

treg modules

  • Accept an Invite Accepts an invitation by its Invite ID and joins the team that sent it.
  • Call Tool Calls any catalog tool by its ID, such as moz.web.url.metrics or the routed treg.web.search, and returns the provider answer with its cost. Calls are billed per use, and a server failure is not retried.
  • Clear a Capability Pin Removes the pin of one Capability, so routed calls go back to picking a provider by themselves.
  • Connect With a Token Links a provider account with a pasted Token instead of OAuth sign-in. The token is masked in logs.
  • Create a Deny Rule Blocks calls that match a Host, Path Prefix or Method, optionally for one user or project. Use Note to explain the rule later.
  • Create a Project Sets up a project under a team so that spend and tool access can be grouped there.
  • Create a Secret Stores a secret on treg so your registered tools can use it without you holding it. The secret is sent once and masked in logs.
  • Create a Team Creates a new team with your account as its owner. Fill Name with the team name, which also seeds the slug.
  • Create a Tool Registers your own API as a tool that treg calls with a saved secret, so agents can reach it by name. Fill Base URL with the API root, and Auth In and Auth Format with how the secret is attached.
  • Create an Agent Creates a machine user for a team with its own caps and tool access, so an agent can call treg without a person account. Its credentials appear in the output.
  • Create an API Key Issues a fresh API key for a team and labels it with Name. The full key appears once in the output, so store it before the run ends.
  • Create an Invite Invites someone by Email to join a team in the chosen Role. The invite lapses after Expires in Days. Use Tool Access to narrow what the member may call.
  • Delete a Bundle Deletes a bundle and detaches the tools and secrets that were grouped in it.
  • Delete a Deny Rule Removes one block rule by its Rule ID, so matching calls are allowed again.
  • Delete a Project Deletes one project by its Project ID. Spend recorded under it stays in the ledger.
  • Delete a Secret Deletes a stored secret. Tools that still rely on it stop authenticating.
  • Delete a Tag Budget Removes the override of one tag value, so it falls back to the dimension default.
  • Delete a Tool Unregisters a tool, after which agents that call it by name get a not found answer.
  • Disable an API Key Switches an API key off so calls made with it are refused. Enable an API Key turns it back on without issuing a new secret.
  • Enable an API Key Turns a disabled API key back on so it accepts calls again.
  • Find Catalog Tools Looks up catalog tools for a short phrase, optionally inside one Platform. It is the shelf-first companion to Search the Catalog.
  • Get a Bundle Loads a bundle through its Bundle ID, with the recipe and the tools it groups.
  • Get a Bundle by Name Finds a bundle by Bundle Name and returns the recipe and member tools.
  • Get a Call Shows one call: the tool that ran, what it cost and how it ended. Take the Call ID from the output of Call Tool.
  • Get a Call Result Fetches the stored answer of a finished catalog call, which recovers a lost response or reads the outcome of an asynchronous task.
  • Get a Catalog Endpoint Opens one catalog endpoint with its native parameters, the cost block and a ready call line.
  • Get a Catalog Platform Opens one platform shelf by its slug and lists its capabilities and endpoints with prices. Turn on Include Hidden to see unlisted endpoints.
  • Get a Catalog Provider Shows what one provider, such as DataForSEO or Moz, offers through treg and how its tools are priced.
  • Get a Hub Run Reads a hub run through its Run ID to see whether it finished and what it returned.
  • Get a Hub Tool Reads one hub tool by its ID: manifest, readme, price and listing state.
  • Get a Spend Report Reads spend over time, grouped by day, week or month and stacked by key or provider. Fill From and To to bound the window.
  • Get a Tag Usage Report Breaks spend down by the values of one Tag Key over the last Days. This is the figure that reconciles money.
  • Get a Tool by Name Looks up one registered tool by the Tool Name that agents call it with.
  • Get an Agent Connection Returns the settings an agent needs to connect with one of its keys. The output holds secrets, so treat it as private.
  • Get API Key Spend Reads what each API key of a team has spent so far, which tells you which key drives the cost before any caps are set.
  • Get Billing Reads the billing state of the active team: credit left and top-up settings.
  • Get Billing History Reads the payment and charge ledger a page at a time. The answer carries the cursor for the next page.
  • Get Catalog Totals Returns the headline numbers of the catalog, such as how many tools and providers it holds, plus the version of treg that answers.
  • Get My Usage Reads the call count and spend of the signed-in user, across all teams.
  • Get Team Settings Reads the spend caps, archive switch and budget dimensions that are configured for a team.
  • Get Team Usage Summarises what a team used over the last Days: calls, providers and totals.
  • Get the Activity Feed Reads the feed of what happened on the team, a page at a time. Use Before with the cursor of the last answer to read older entries.
  • Get the Hub Tool Health Reads the latest health check result of a hub tool, which shows whether its own check still passes.
  • Get the Provider Health Reports how treg currently sees each provider, which helps decide whether to skip one that is failing.
  • Get the Team Balance Reads the credit balance of a team and its latest ledger rows. Move Offset forward to page through older rows.
  • Get the Team First Call Checks whether the team has made a first call yet, and gives the call that did.
  • Hide an API Key Tucks an API key out of the dashboard list while it keeps working. List API Keys shows it again with Include Hidden.
  • Host Media Uploads a file and returns a public URL for it, which tools that need a link to an image or video can use. Give the File and its Content Type.
  • List Admins Lists only the members of a team who can administer it.
  • List Agents Lists the agent accounts of a team with their caps and state.

No ready-made AgentX and treg automation yet. Describe your own in the AI Workflow Builder.

Build a AgentX and treg workflow with AI

Describe your automation with AgentX and treg - and our AI Workflow Builder will make it done for you.

Explore alternative integrations

There are other apps[9] supported by WEXTL that can be paired with AgentX and treg integrations. Pick any from the list below if the current combination isn't the one you need.

Automate AgentX and treg on WEXTL®

Claim your 3-day trial to build AgentX with treg integration and access every WEXTL® feature.

Cancel anytime.

Frequently asked questions

Common questions about connecting AgentX and treg.

How do I connect AgentX and treg?

Connect your AgentX and treg accounts once, pick an action in one app and an action in the other, then map the fields so data flows automatically between them.[3]

What can I automate between AgentX and treg?

Example: use the AgentX "Create a Conversation" action to perform the treg "Accept an Invite" action. AgentX has 19 actions (including Create a Conversation, Create Speech, and Create Speech Stream). treg has 104 actions (including Accept an Invite, Call Tool, and Clear a Capability Pin). Add filters and transforms between steps when you need them.[1]

Can I use a AgentX action to perform a treg action?

Yes. Pick an action in either app, then an action in the other, and map the fields between them.[2]

Do I need to write code to integrate AgentX and treg?

No. AgentX-to-treg automations are built visually on the canvas. You can optionally add custom JavaScript with Functions when you need advanced logic.[4]

Does AgentX integrate with treg in real time?

Yes. Trigger-based automations start the moment AgentX (or treg) fires a new event. Webhook-backed apps run within seconds, and polling-only apps re-check on a schedule you control.[7]

How long does it take to set up a AgentX + treg integration?

A first automation typically takes 5–10 minutes: connect the credential of each app once, drop a trigger + action onto the canvas, map the fields, and turn the workflow on.

Do I need a paid plan to connect AgentX with treg?

You can build your AgentX + treg automation on a 3-day trial with every feature unlocked. Cancel anytime.[8]

References

List of sources used to gather information about the AgentX and treg integration.

  1. AgentX and treg integration source code, module specs and credentials implementation.
  2. Our AgentX and treg integration documentation, structured input and output parameters, scopes, and authentication methods.
  3. Official vendor API documentation for AgentX and treg, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
  4. WEXTL® visual workflow builder, anonymized data from our technical support team.
  5. AgentX integration information
  6. treg integration information
  7. WEXTL® Scheduling
  8. WEXTL® Pricing and Trial
  9. WEXTL® Apps Library

How we write our apps documentation

Explore how WEXTL® crafted AgentX and treg integration page documentation. Used sources, the role of AI, and how the team validates the result.