Using Gemini 3 and Antigravity for simple tools at Office with minimal effortsRecord inserted or updated successfully.
AI & Data Science

Using Gemini 3 and Antigravity for simple tools at Office with minimal efforts

Author : CA Vijay Srinivas Kothapalli

Watch on Youtube

No matter what ever the capabilities of AI may be, it is still an Artificial Intelligence which is in its early stages, without much guard rails and security.

Users must exerciseutmost caution and never share the personaldata, client data and any confidential data. Only after sanitizing the data, use it for the purpose of any AI use

Using Gemini 3 and Antigravity for simple tools at Office with minimalefforts

Sample use case illustration for Non AI literate participants and seniors

  1. Go to https://antigravity.google/downloadand download Antigravity. Follow the default steps for installation.
  2. Now go to https://gemini.google.comwebsite and connect your Non-personal gmail account. If required, it is suggested to create one exclusively for practicing on AI.
  3. In the window where you can find “Ask Gemini 3” paste the following prompt (You may further modify:


Gemini 3 Prompt

I want to prepare a simple and professional IncomeTax computation for an Individual assessee for Assessment Year 2026-27 under both Old Regime and New Regimeas per Indian Income- tax Act. The assessee has salary income, capital gains from sale of shares, interest from fixed deposits, and income from teaching / tuition classes,along with commonsavings like children’s tuition fees and insurance premiums. The tool should ask only minimumand essential details, compute income head-wise, allow deductions as per law, automatically restrict deductions under the New Regime,apply correct slab rates, cess and rebateswhere applicable, and clearly show taxable income and tax payable under both regimeswith a simple comparison indicating the more beneficial option. The interface should be clean, professional, and easy to explain to a client, and the output should resemble a Chartered Accountant’s tax computation working paper suitable for client demonstration. Use Antigravity for implementation and start by asking for only the mandatory inputs

[I humbly requestsenior citizens and members with less visibility to zoom the pdf file to view the images and text with clarity]


…Contd in next page

For me, it has given the following output (yours’s mightslightly differ, but almost the purpose will be met)

To create a professional-grade Income Tax computation for Assessment Year 2026-27, you need an AI agent that is grounded in the latestFinance Act amendments. Since you are using Antigravity, we will structure this as a specialized "Tax Consultant Agent" workflow.

Below are the System Rules (to definethe agent's logic and persona)and the User-Level Prompt (to initiate the computation).




  1. System Rules Prompt (The Agent's DNA)

Copy and paste this into the System Prompt orAgent Configuration section of Antigravity. XML

<system_rules>

 <role>

       You are a Senior Tax Consultant specialized in Indian Income Tax Laws for AY 2026-27. Your goal is to provide a side-by-side comparative analysis between the Old and New Tax Regimes for an Individual Assessee.

 </role>



 <knowledge_base_AY_2026_27>

       <new_regime_default>

           -Slabs: 0-4L: Nil | 4-8L: 5% | 8-12L: 10% | 12-16L:15% | 16-20L: 20% | 20-24L: 25% | >24L: 30%.

           -Standard Deduction: ₹75,000.

           -Rebate u/s 87A: Up to ₹12,00,000 taxableincome (Net tax Nil up to ₹12.75Lfor salaried).

       </new_regime_default>

       <old_regime>

           -Slabs: 0-2.5L: Nil | 2.5-5L: 5% | 5-10L: 20% | >10L: 30%.

           -Standard Deduction: ₹50,000.

           -Deductions: Chapter VI-A allowed (80C, 80D, etc.).

       </old_regime>

       <capital_gains>

           -LTCG (Listed Shares):12.5% on gains exceeding ₹1.25 Lakh.


           -STCG (Listed Shares):20%.

       </capital_gains>

       <professional_income>

           -Teaching Income: Eligiblefor Presumptive Taxationu/s 44ADA (50% of Gross Receipts as taxable profit).

       </professional_income>

 </knowledge_base_AY_2026_27>



 <gui_structure_logic>

       - Inputs must be categorized by: Salary, PGBP (Teaching), CapitalGains, Other Sources (FD), and Deductions.

       - Output must be a Markdown tablefor professional readability.

       - Always providea "Recommendation" on whichregime is more beneficial.

 </gui_structure_logic>



 <operational_constraints>

       - Do not guess figures; if a mandatory field is missing, ask the user specifically.

       - Apply 4% Health and Education Cess on final tax.

       - Use precisefinancial terminology (e.g.,Gross Total Income,Total Taxable Income).

 </operational_constraints>

</system_rules>




  1. User Level Prompt (The Action Trigger)

Use this prompt to start the computation. You can replacethe placeholders with your client'sactual data.

"Vijay, pleaseact as my Tax Strategist. I need to demonstrate a tax computation for a client for AY 2026-27.

Client Income Profile:

  1. Salary: [Insert Amount] (Include HRA if applicable for Old Regime).
  2. Teaching Classes:Gross receipts of [InsertAmount] (Apply Sec 44ADA).
  3. Share Trading: LTCG of [Insert Amount]and STCG of [Insert Amount].
  4. Fixed Deposits: Interest incomeof [Insert Amount].


Deductions (For Old Regime):

  1. 80C: Children's Tuition Fees [Amount], Life Insurance [Amount].
  2. 80D: [Insert if any].

Task: > 1. Generatea professional, clean UI-style tablecomparing the Old Regime vs. New Regime.

  1. Clearly show the computation of Total Incomeunder all 5 heads.
  2. Highlightthe specific tax savings and give a final recommendation on which regimethe client should opt for."



Professional UI Logic (For your Client Demo)

To make the presentation "professional class," your Antigravity agentshould output the results in a structured table similar to this:

Income Tax Comparison: AY 2026-27


ParticularsOld Regime(₹)New Regime(₹)
I. Income from Salary[Amount][Amount]
(-) Standard Deduction(50,000)(75,000)
II. Income from Profession (Teaching)[50% of Receipts][50% of Receipts]
III. Capital Gains (Shares)[Special Rates][Special Rates]
IV. Income from OtherSources (FD)[Amount][Amount]
Gross TotalIncome (GTI)[Total][Total]
(-) Deductions (u/cVI-A: 80C, etc.)[Up to 1.5L]NIL
Total Taxable Income[A][B]
Total TaxPayable (incl. Cess)[Tax A][Tax B]
Net Tax Savings-[Difference]



Key Technical Details for AY 2026-27

  1. Marginal Relief:If the client's incomeis slightly above ₹12 Lakh in the New

Regime, the agent should automatically check for MarginalRelief to ensure the tax doesn't exceed the income over ₹12 Lakh.

  1. Capital Gains:Ensure the agentapplies the 12.5% flat rate forLTCG on shares after the ₹1.25 Lakh exemption, as per the latest 2025-26 budget updates.

Would you like me to simulatea specific calculation with sample figures(e.g., ₹15 Lakh total income) to see how the table looks?



…Contd in next page


Before you start create a local folder in C or D drivewith some name like “Testing”


Now open the Antigravity. The first screenwill look like this. Selectthe folder “Testing” which you have created


After you open look forthree dots (“…”) on the right side of the window with title as “Agent”. Click those three dots and select Customization





Then click on the Workspace:



A window like this open



Give any name to the agent.The name should be small lettersand only - ” (hyphen) and no other special characters are allowed. ( I have given name as tax-calculator).

After you click entera .md file with the name you have given will be created and the following window will be displayed




Copy the entire point no. 1 (i.e., System Rules Prompt) in page no. 2 above from the output given by Gemini earlier for our prompt [I have marked in Yellow above]


Contd in next page

Now click on the Open Agent Managerat the top


It will open the following window



Copy and paste the entire point no. 3 (i.e., User Level Prompt) inpage no. 2 above from the output given by Gemini earlier for our prompt [I have marked in Blue above]

Don’t copy the content after the line. This is only for our information what Gemini has given to us. Ignore that part.


After you paste, clickthe marked arrow mark I have circled



…Contd in next page


After you click the run (Arrow button), it will take few secondstime to understand the task and will display what it has understood like below:



Carefully read and understand what it is asking. For the first time you can 100% help of Antigravity to guide you.

Like for example I have mentioned as “Proceed”



For which it didn’tunderstand what my intention is, so there for it has further elaborated



…Contd in next page


That means it is askingwhether you will provide data or you want Antigravity agent to use

synthetic data to create and test the tool. Beingthe first tool you may use Antigravity to create the data. After much practice, then you can start customizing with your own data.


Here carefully read the implementation_plan.md file. Because unless you guide properly the tools quality will not be up to your expectations. Again for the first time you may click on Proceed just to get the understanding on how Antigravity is working, because it will display it’s thought process transparently.


As much patience you exercise and as much cleanly you provide the support, the output will be of that quality

At the end providethe following prompt in the window as below:

“Now please provide me with html script with name IncomeTax Computer.html that I want to use in my local system as download file.”



…Contd in next page

https://drive.google.com/file/d/1YPILlmB0BHeiNwxGszjU-mZCSBaFt7Y_/view?usp=drive_link Final output file saved inthe below link 

Final output