Python: Code + Upload + Visualization

Written By Stanislas

Last updated 2 days ago

Overview

The Python tool in Swiftask lets you analyze data, create charts, and process files directly in Chat. We've made significant improvements to make it faster, more reliable, and more cost-effective.

This tool is available as a skill you can add to your agents or use directly in Chat conversations.


Where to find and add the Python tool

In your agent

To use this tool in a custom agent, add it to your agent's skills.

Steps to add:

  1. Open your agent configuration

  2. Go to the Skills section

  3. Click Add skill

  4. Search for "Python: Code + Upload + Visualization"

  5. Click to select and add it to your agent

Once added, your agent can analyze data, create visualizations, and process files when you ask it to.

Python: Code + Upload + Visualization tool in agent skills
Adding Python tool to agent via Skills dialog

In Chat

The Python tool isn't automatically active in Chat. You need to add it as a skill first.

Steps to add the Python tool in Chat:

  1. Open Chat and look at the input toolbar at the bottom

  2. Click the skills icon (the icon next to the book icon on the left side of the toolbar)

  3. A Chat Skills panel opens on the left side showing available skills

  4. Scroll down and click "Browse more skills" at the bottom of the panel

  5. Search for "Python: Code + Upload + Visualization"

  6. Click to enable the skill and add it to your chat

Once enabled, the Python tool is ready to use. You can now ask the AI to analyze data, create visualizations, or process files.

Chat Skills panel showing how to access and add the Python tool

What's improved

Faster execution

Code now runs more quickly. When you ask the AI to analyze a file or create a chart, you'll see results in seconds instead of waiting longer.

Reduced credit usage

Your analyses now cost less to run.

  • When the AI encounters an error, it fixes just what's wrong instead of redoing the entire analysis—saving you credits.

  • Plus, the tool is smarter about setting up, so there's less overhead overall.

Easier file downloads

When your analysis generates files (charts, processed data, etc.), download links appear clearly in the chat. No more hunting for results—just click and download.

More reliable file processing

Uploaded files are now handled more smoothly. Whether you upload a CSV, Excel file, or image, the tool processes it consistently and reliably every time.


How it works now

  1. You describe what you want: "Analyze this sales data and create a bar chart"

  2. The AI writes and runs code: Python code executes instantly

  3. If there's an error: Only the problem is fixed and re-run—saving credits

  4. You download results: Download links for any generated files appear in chat


What you can do

  • Upload CSV, Excel, image, or text files for analysis

  • Ask for calculations, summaries, and insights

  • Generate charts and visualizations

  • Process and transform data

  • Export and download results


Tips for best results

  • Be clear about what you want: "Create a pie chart showing sales by region" is better than "analyze my file"

  • Ask for downloads: If you want to save results, say "provide a download link"

  • Check your data: Make sure your file doesn't have obvious errors before uploading


Related features


Try it now: Open Chat, upload your data file, and ask the AI to analyze it or create a visualization.