Using Gemini 3 and Antigravity for simple tools at Office with minimal efforts
Author : CA Vijay Srinivas Kothapalli
Author : CA Vijay Srinivas Kothapalli
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
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]
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).
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>
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.
Task: > 1. Generatea professional, clean UI-style tablecomparing the Old Regime vs. New Regime.
To make the presentation "professional class," your Antigravity agentshould output the results in a structured table similar to this:
| Particulars | Old 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
Regime, the agent should automatically check for MarginalRelief to ensure the tax doesn't exceed the income over ₹12 Lakh.
…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]
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]
After you paste, clickthe marked arrow mark I have circled
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
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.”
| https://drive.google.com/file/d/1YPILlmB0BHeiNwxGszjU-mZCSBaFt7Y_/view?usp=drive_link | Final output file saved inthe below link |
Final output