Code Interpreter

Run Python and analyze data on live calls with Code Interpreter from AgentCalls.

Connect Code Interpreter and your agent can run Python during a call. It can calculate totals, clean up a small dataset, run a quick forecast, or produce a chart from a file you uploaded. Your agent can also send the result back to the caller or save the output for you to review later.

What your agent can do with Code Interpreter

  • Run Python code on demand while a caller waits, such as totals, discounts, or tax calculations
  • Upload a CSV or spreadsheet and ask questions about it during the call
  • Generate a chart or table as a file and send it to the caller by text or email
  • Read output files and report back specific numbers, dates, or rows
  • Run quick data checks, like finding duplicate invoices or missing order records

Code Interpreter exposes 5 actions. You choose which ones the agent may use and whether each runs during or after the call.

Example calls

Quoting a bulk order

  1. Caller

    I need pricing for 240 units of the blue kits, and I want to know the total after the volume discount.

  2. Agent

    Sure. Give me one moment while I run the calculation. Is the volume discount the 12 percent tier for orders over 200?

  3. Caller

    Yes, that's the one.

  4. Agent

    The total comes to 2,956 dollars and 80 cents after the 12 percent discount, plus 8 percent sales tax. I can text you the itemized quote right now.

Checking last month's sales file

  1. Caller

    Hi, this is Tom Reyes. Can you tell me our best-selling product last month?

  2. Agent

    Hello Tom. I'll check the sales file you uploaded. Give me a second.

  3. Agent

    Your best seller last month was the 500 ml water bottle, with 1,184 units sold and 9,472 dollars in revenue.

  4. Caller

    Great, send me a chart of the top five products.

  5. Agent

    Done. I've made the chart and sent it to your email now.

Following up on a delivery schedule

  1. Agent

    Hi Leila, this is calling from Harbor Logistics. I'm following up on the route schedule for next Tuesday.

  2. Caller

    Oh good, I was wondering if the Dubai west route still has 14 stops.

  3. Agent

    I just checked the schedule file. It shows 11 stops, because three were moved to Thursday. Would you like the updated list sent to you?

  4. Caller

    Yes, please send it over.

How to connect Code Interpreter

  1. 1

    Create your agent

    Sign up to AgentCalls, pick an English or Arabic voice and write what the agent should know and do in plain language.

  2. 2

    Enable Code Interpreter

    From Integrations in the dashboard, enable Code Interpreter. No sign-in is needed.

  3. 3

    Choose the actions

    In the agent editor, enable the Code Interpreter actions the agent may use and set each to run during the call or afterwards. Then test it from your browser.

Questions, answered.

Does it work during the call or after it?

Both. Your agent can run code and read files while the caller is on the line, and it can also run longer analysis after the call and follow up with the result.

What do I need to connect Code Interpreter?

Nothing beyond your AgentCalls account. Code Interpreter is a public service, so there is no sign-in to set up. Just add it from the AgentCalls dashboard.

Which plan includes this integration?

Code Interpreter is included from the Growth plan and above.

Page drafted from the tool's public description and reviewed automatically for accuracy of claims

Put your agent to work with Code Interpreter.

Connect in minutes, test from your browser, go live on a number in the US, UK or Gulf. Free to start, no card needed.