A Claygent column does one thing per row: it opens a page or searches for one, reads it, and writes the answer into the fields you defined. If you are moving that work out of Clay, you do not need to rebuild Clay. You need one call per row that takes a URL or a question and returns the answer, and a loop to run it over your list.
This post is that loop. It reads a CSV of accounts, fills five pricing fields per row with Tabstack Extract, answers one security question per row with Tabstack Research, and writes an enriched CSV. The model that reads the pages runs inside Tabstack, so there is no model to choose, no key to bring, and no prompt to maintain beyond the schema and the question. It also covers what each row costs and what this does not replace, because a Claygent column was never the whole of Clay.
Why now
Clay’s 2026 pricing split billing into Data Credits and Actions. Under Clay’s own FAQ, a workflow that ran on your own API keys “was effectively free to the customer” before, and now carries a per-record Action cost on every step, including AI runs on your own keys (How will costs for my workflows change?, How has AI pricing changed?). Token-intensive models used for multi-step Claygent research moved to variable, token-based pricing.
None of that is unreasonable for a platform that orchestrates a whole GTM workflow. It does change the math for a team that mostly used Clay as a place to run research columns. If that is you, the research step is the part that moves cleanly.
What a Claygent column actually is
Strip away the spreadsheet and a Claygent column is a function:
(row, instructions) -> fields
The instructions are a prompt plus output fields. Clay runs it for every row, visiting pages or searching the web as the prompt requires. Two kinds of column cover most of what teams build:
| You give it | You get back | Tabstack call |
|---|---|---|
| A URL you already know (the pricing page, the careers page, the docs) and a set of fields | The fields, filled from that page | /extract/json with a JSON schema |
| A question whose answer could be on any page (“do they publish a SOC 2 report?”) | An answer and the sources it came from | /research with the question |
The difference matters for cost and for trust. When you know the page, extraction is one fetch and one read of that page. When you do not know the page, research plans searches, reads several sources, and returns an answer with citations you can check.
The loop
Five accounts, two columns each. accounts.csv holds a company name and its pricing URL; the script fills the rest.
company,pricing_url
Linear,https://linear.app/pricing
PostHog,https://posthog.com/pricing
Sentry,https://sentry.io/pricing/
Render,https://render.com/pricing
Resend,https://resend.com/pricing
import csv
import json
import sys
import tabstack
from tabstack import Tabstack
# Column 1: five fields read straight off the pricing page.
# The descriptions are the instructions; the extractor has nothing else to go on.
PRICING_SCHEMA = {
"type": "object",
"properties": {
"has_free_tier": {
"type": "boolean",
"description": "True if the page offers a plan that costs $0 forever "
"(not a time-limited trial). False if every plan is paid.",
},
"lowest_paid_price_usd": {
"type": "number",
"description": "The listed monthly price in USD of the cheapest paid "
"plan, as shown on that plan's card (for example 25 for '$25/mo'). Use "
"the plan's own price, not per-unit compute, overage, or add-on rates. "
"If the cheapest paid option has no fixed fee and is billed purely by "
"usage, return 0.",
},
"price_billing": {
"type": "string",
"enum": ["monthly", "annual"],
"description": "'annual' if the page says that price is billed "
"annually or yearly, otherwise 'monthly'.",
},
"pricing_unit": {
"type": "string",
"enum": ["seat", "usage", "flat"],
"description": "How the cheapest paid plan is charged: 'seat' if per "
"user or member, 'usage' if there is no fixed fee and the bill is only "
"volume consumed, 'flat' if one fixed monthly fee for the plan, even "
"when it includes a quota or adds usage on top.",
},
"has_enterprise_contact_sales": {
"type": "boolean",
"description": "True if there is an enterprise or custom plan whose "
"price is 'contact us' rather than a number.",
},
},
"required": [
"has_free_tier",
"lowest_paid_price_usd",
"price_billing",
"pricing_unit",
"has_enterprise_contact_sales",
],
}
# Column 2: a question the pricing page cannot answer, so the call has to find
# the sources itself.
RESEARCH_QUESTION = (
"Does {company} publish a security or trust page, and which compliance "
"certifications (SOC 2, ISO 27001, HIPAA, GDPR) does it list there? "
"Answer from {company}'s own site where possible."
)
client = Tabstack() # reads TABSTACK_API_KEY from the environment
def extract_pricing(url: str) -> dict:
return client.extract.json(url=url, json_schema=PRICING_SCHEMA)
def research(question: str) -> dict:
for event in client.agent.research(query=question, mode="fast"):
if event.event == "error":
message = getattr(event.data.error, "message", None) or "unknown error"
raise RuntimeError(f"Research failed: {message}")
if event.event == "complete":
cited = event.data.metadata.cited_pages or []
return {
"answer": event.data.report,
"sources": [p.url for p in cited],
"actions": event.data.usage.actions if event.data.usage else None,
}
raise RuntimeError("Stream ended without a complete event")
def main(src: str, dst: str) -> None:
with open(src, newline="") as f:
reader = csv.DictReader(f)
in_fields = list(reader.fieldnames or [])
rows = list(reader)
out_fields = in_fields + [
"has_free_tier",
"lowest_paid_price_usd",
"price_billing",
"pricing_unit",
"has_enterprise_contact_sales",
"trust_answer",
"trust_sources",
"research_actions",
"error",
]
with open(dst, "w", newline="") as f:
writer = csv.DictWriter(f, fieldnames=out_fields)
writer.writeheader()
for row in rows:
record = dict(row)
try:
pricing = extract_pricing(row["pricing_url"])
record.update({k: pricing.get(k) for k in PRICING_SCHEMA["properties"]})
found = research(RESEARCH_QUESTION.format(company=row["company"]))
record["trust_answer"] = found["answer"]
record["trust_sources"] = " ".join(found["sources"])
record["research_actions"] = found["actions"]
except (tabstack.APIError, RuntimeError) as err:
# A failed row is a row with an error, not a crashed run.
record["error"] = str(err)
writer.writerow(record)
print(json.dumps(record, indent=2))
if __name__ == "__main__":
main(sys.argv[1], sys.argv[2])
pip install tabstack
export TABSTACK_API_KEY="your-key" # set locally; never commit it
python claygent_column.py accounts.csv enriched.csv
What came back
The run took about a minute for all five rows, with no errors. The pricing column:
| company | has_free_tier | lowest_paid_price_usd | price_billing | pricing_unit | has_enterprise_contact_sales |
|---|---|---|---|---|---|
| Linear | true | 10 | annual | seat | true |
| PostHog | true | 0 | monthly | usage | true |
| Sentry | true | 26 | annual | flat | true |
| Render | true | 25 | monthly | flat | true |
| Resend | true | 20 | monthly | flat | true |
Checked against the pages, every cell is right. PostHog has no fixed plan fee, so it comes back as 0 and usage; read 0 with usage as no fixed fee, not as free. Linear’s $10 and Sentry’s $26 are the prices those pages list, and both pages bill them annually, which is what price_billing records. The first version of this schema left PostHog’s price and unit empty and returned Linear’s and Sentry’s annual-billed prices where it asked for monthly ones. Rewriting the descriptions fixed that; the first point below is about how.
The research column returned a cited answer for every row, each reporting research_actions: 1. Render’s trust_answer, as returned:
Yes, Render publishes a dedicated **Security and Trust** page on its website at `render.com/security` [1]. This page outlines Render's security practices, including its shared responsibility model, penetration testing guidelines, and how it keeps secrets safe [1]. Under its "Compliance" section, Render lists several key certifications and regulatory frameworks. Specifically, it states compliance with **ISO 27001**, the global standard for information security management systems, and **SOC 2 Type 2**, which validates security controls and operational effectiveness through annual third-party audits [1][2]. Render also explicitly mentions **GDPR-DPA** (General Data Protection Regulation - Data Processing Addendum) to protect the personal data and privacy of EU citizens, and offers **HIPAA-enabled workspaces** for organizations that process and store US health data [1][2]. Furthermore, Render is certified under the **EU-US Data Privacy Framework**, including its UK extension and the Swiss-US DPF [1].
Its trust_sources cell:
https://render.com/security https://render.com/docs/certifications-compliance
Three things in the code carry the weight.
The schema descriptions are the prompt. lowest_paid_price_usd on a pricing page can mean the monthly figure, the annual-billed monthly figure, or the first number on the page. The description is what decides. Run the schema on two or three pages you know, then tighten the descriptions on whichever fields came back wrong. Here that meant pointing the price at the plan’s own card instead of compute or overage rates, giving pricing_unit a fixed enum, and adding price_billing so an annual-billed price is labeled instead of passed off as monthly. Requiring every field and dropping null is what keeps the cells filled, and it assumes every page in your list shows a price. If some accounts are contact-sales only, add null to the type of lowest_paid_price_usd, and to both the type and the enum of price_billing and pricing_unit, so the extractor has an honest way to say there is no number. The schema design guide covers the patterns, and the earlier post on turning a page into schema-matched JSON covers what you get back when a page lacks a field.
Research returns sources, not just an answer. Each complete event carries cited_pages, so the trust column lands with the URLs it was built from. That is a column a rep can check in one click, because the source links are in the next cell.
A failed row is data. Rate limits, a page that will not load, a question the research call cannot complete: each lands in the error column and the loop moves on. Rerun only the rows with an error. A failed extract skips that row’s research call, so a rerun makes both calls again.
What each row costs
Credits come out of the pool your plan includes; the pricing page lists what one action costs today.
| Column | Call | Credits |
|---|---|---|
| Five pricing fields | one /extract/json call |
50 |
| Security question | one /research call in fast mode |
250 (one action in fast mode) |
Extract is one action per call, so the pricing column costs the same on every row. Research reports its billable actions in usage.actions on the complete event, which is why the script writes it to the CSV: you can see the cost of every row next to its answer. Fast mode runs one search iteration, so each call in this run reported 1 action, or 250 credits. Balanced mode runs more iterations and bills each one. Research calls that end in an error event are not charged.
Every new account includes 10,000 free credits with no card. That covers the pricing column alone for 200 rows, or both columns for 33. Plans start at $10 a month with 100,000 credits included.
Compared with Clay, there is no separate Action for the step and no separate model bill for the reading. One call is one line item.
What does not move
A Claygent column was one feature. Be clear with yourself about the rest before you cancel anything.
- Contact data. Email finding, phone numbers, and waterfall enrichment across providers are not something Tabstack does. Keep Clay, or use a data provider directly.
- The table. Clay gives you a UI, formulas, conditional runs, and people who are not engineers editing a column. The loop above is a script. If the people running the research cannot run a script, you are rebuilding more than a column.
- CRM writes and sequencing. Pushing results into HubSpot or Salesforce and triggering outreach is orchestration. Tabstack returns data; your pipeline decides what to do with it.
- Daily reruns. Clay’s scheduled reruns are a cron job and a diff in your own stack.
If you use Clay for all of that and Claygent is a small part of your spend, moving the research column alone will not change your bill much. If research columns are most of what you run, the loop above replaces the expensive part and the rest is a CSV.
Where the pages go
Clay runs AI on the model you pick or the one Clay provides, and the prompt plus the page content go to that provider. With Tabstack, the URL, the schema, and the question go to the API, and the page is fetched and read outside your model and your application. Never trained on. Private by default. An organization admin can turn off request-history collection in the console. See how data is handled.
For your agent
If you are an agent working from this page, here is the checklist. If you are a person, give your agent this page and your CSV.
- Get a key from the user. The script needs
TABSTACK_API_KEYin the environment. If it is not set, ask the user to sign up at console.tabstack.ai and create an API key. New accounts get 10,000 free credits with no card. Never print the key or commit it. - Map the user’s columns. The script reads
row["company"]androw["pricing_url"]. Point those at the user’s own headers, and check that the headers exist before the run. Extract reads exactly the page it is given, so it needs the pricing page itself. If the CSV holds homepages, try the homepage plus/pricingand check that it loads, or ask the user for the right page. - Swap in the user’s fields. Replace the properties and the
requiredlist inPRICING_SCHEMAwith what the user asked for, each with a description that says exactly what counts. Drop fields they did not ask for, but keepprice_billingandpricing_unitbeside any price, since the number means little without them. Then makeout_fieldslist exactly the input columns, the schema properties, the research columns, anderror: a missing name makes the CSV writer raise an error, and a leftover one writes an empty column. - Swap in the user’s question. Replace
RESEARCH_QUESTIONand fill every placeholder in it from the row, for example.format(company=row["Account Name"]). For a yes or no column, ask for an answer that starts with Yes or No, and parse that first word into its own column next to the full answer and its sources. Strip Markdown and punctuation before comparing it, leave the cell blank when it is neither, and add the new column toout_fields. - Run five rows first. Use a five-row copy of the CSV, check the output against the pages, tighten any description that came back wrong, then run the full list. To retry failures, take the original input rows for the accounts that show an
error, save them as a new input CSV, run that, and replace those rows in the enriched file with the new results.
Questions that come up
Do I need to bring my own model? No. Extract and Research both run the reading inside the call and return the result. If you have an agent of your own, it can call Tabstack as a tool and reason over what comes back, but nothing in the loop above requires one.
Can I run the same research question over a thousand rows?
Yes. Loop with a bounded concurrency, catch RateLimitError, and retry the rows that hit it. The SDK has already retried twice by the time RateLimitError reaches your code; set max_retries=0 on the client to handle it yourself. The rate limits page lists the ceilings per plan.
What if the pricing page is rendered by JavaScript?
Set effort="max" on the extract call to fetch the page in a full browser. See choosing an effort level.
Is the research answer always right?
No, and the sources are how you check. Treat the answer as a draft and the trust_sources column as the audit trail. For higher-stakes questions, mode="balanced" consults more sources and attaches the claims each one supports; it is available on the Team and Pro plans.
Where do I start? Take one Claygent column you already run, write its output fields as a JSON schema if you know the page or as a question if you do not, and run it on five rows. Compare the result to what Clay gave you on the same five. That is a one-afternoon test, and it tells you more than any comparison table.
Try it
pip install tabstack
export TABSTACK_API_KEY="your-key"
The How to Extract JSON and Research guides have the same calls in TypeScript and the CLI, and curl for Extract. The competitor briefing example in the docs runs extract and research together for one account, which is the same pattern as above with the loop removed.



