Overview
Have OpenHands build a small calculator, in a Docker sandbox, that estimates your own tax refund from your income and deduction figures, with tests checked against your tax authority's published worked examples.
Problem or Objective
- Which agents help with taxes and personal finances?
- Which agents turn a plain-language brief into a working app or prototype?
More in Finance and Admin
AI Agents and Models
Tools and Integrations
- Tools
- OpenHands · Docker
- Prerequisites
- Docker Desktop or Docker Engine, OpenHands installed with the Docker sandbox option, an API key for a language model, and your tax authority's official rates and worked examples.
How It Works
Install OpenHands with the Docker sandbox option, so the agent works inside a container rather than with full access to your files, and connect the language model you want to use. Open the canvas in your browser and start a new project. Give OpenHands the tax year, your filing status and the rules you want covered, copied from your tax authority's official guidance: rates, bands, allowances and the deductions you use. Ask it to write a small command-line or spreadsheet-style calculator that takes income, tax already paid and deductions, and prints the estimated refund or amount owed with each step shown. Ask it to add tests built from the worked examples your tax authority publishes, and to run them. Review the code and the test results yourself, then enter your own figures locally. Treat the number as an estimate to compare with your official return, not as the return itself.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up OpenHands.
- Connect the toolsConnect the tools this workflow relies on: OpenHands, Docker.
- Check the prerequisitesDocker Desktop or Docker Engine, OpenHands installed with the Docker sandbox option, an API key for a language model, and your tax authority's official rates and worked examples.
- Gather your detailsCollect what the prompt asks for: Tax year, Country or tax jurisdiction, Filing status, Rules copied from official guidance, Official worked examples to test against.
- Run the starter promptPaste the starter prompt below into OpenHands and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at github.com before you rely on it.
Practical Starter Prompt: Build a personal tax refund estimator
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Build a small calculator that estimates a personal tax refund or amount owed for the [Tax year] tax year in [Country or tax jurisdiction], for the filing status [Filing status]. Use only these rules, which I copied from the official guidance: [Rules copied from official guidance]. Inputs: income, tax already paid and the deductions listed. Print every step of the calculation. Write tests from these official worked examples: [Official worked examples to test against], run them and show me the results. Do not fetch rules from elsewhere or guess missing ones; list anything unclear as a question for me.Run this in OpenHands with the Docker sandbox. Review the code and tests yourself, then enter your real figures only into the finished calculator on your own machine. Compare the estimate with your official return or an adviser before acting on it.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The OpenHands README documents a coding agent that can run locally or in a Docker sandbox and work with any LLM. No cited page covers tax rules, so whether the calculator matches your real return depends entirely on the rules you supply and the tests you check, and is untested here.
Limitations and Considerations
This is not tax or financial advice; check any estimate against your official return or a qualified adviser before acting on it. Tax rules change each year, so update the figures before reusing the calculator. The OpenHands README warns that running without a sandbox gives the agent full access to your filesystem, so prefer the Docker option. Keep your real income figures out of the prompt and enter them only into the finished calculator on your own machine. Model calls are billed by your model provider. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About OpenHands/OpenHands
Setting up a CVE Remediation Factory with OpenHands (opens in a new tab)
Walkthrough of OpenHands by OpenHands: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About OpenHands/OpenHands
One AI Agent, Multiple LLMs: Automatic Model Routing in OpenHands (opens in a new tab)
Published by the project’s official channel.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- OpenHands/OpenHands README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- OpenHands runs locally on your machine by default, but can connect to agent backends such as Docker containers or VMs.
- Without a sandbox, the agent-server runs directly on the machine and the agent will have full access to your filesystem.
- Option 2 runs it with a Docker sandbox, opened at http://localhost:8000/canvas.
- Bring your own model: use with any LLM.

