r/ClaudeAI • u/bitskrieg • 2d ago
Built with Claude Claude Code and Federal Programs
I'm the Chief of Staff at the Georgia Department of Human Services. We're the agency responsible for the administration of many social benefit programs in Georgia such as Child Protective Services, Child Support, SNAP/TANF/Medicaid, Adult Protective Services, and more. We distribute billions in federal aid every year. We have many complex IT systems that help us administer these programs. They are generally not great.
Typically in the US, social programs are federally funded and regulated, but state administered. The federal government sets general guidelines on what you can and cannot do in the course of program administration, but beyond that states are free to run the programs in the way that works best for them. This strategy works when it comes to program policy choices given jurisdiction diversity, but falls apart when it comes to IT investments. The federal government repeatedly pays for systems that do basically the same thing for each program jurisdiction. Texas and Georgia both need to administer SNAP in accordance with federal rules, and yet they and the federal government individually purchase a new system every decade or so, and then individually maintain it until its time to repeat the process. There is no technical reason why this is the case. It mostly comes down to States incorrectly attributing long-term system expenses to initial capital requirements. States want the cheapest thing possible, so big vendors dust off the 30 year old java monolith that hasn't been refactored since 2003 and basically give it away. The State then pays through the nose for maintenance and operations because of tech debt. Rinse and repeat forever, nationally.
Earlier this year, I decided to try my hand at building a system (well, two systems, one for child welfare and one for benefit eligibility) that would ameliorate this problem in a few ways:
- AGPL Licensed - vendors cannot take the state-funded code and make it proprietary.
- Generic design that separates core service logic from policy elections that jurisdictions may have. By doing this, jurisdictions that adopt the same core framework can share its maintenance costs. Instead of a state paying 50% state funds/50% federal funds to operate a system, it will only pay a portion of the 50%, depending on how many other states adopt it. This isn't SaaS - every state will needs it own M&O contract to operate their own deployment, but their changes are going to be minimal. Updating the core system to reflect changes in federal law will be a shared burden.
- Written in rust (cue the rewrite in rust memes). Beyond the performance/safety reasons, I chose rust specifically because its hard(er) to write bad rust and the power of clippy. It costs more tokens/iterations to get something that works, but the product on the whole will be better than something else written in another language all other things equal.
Without further ado, here they are:
https://gitlab.com/gadhs/application/eligibility/canopy (Federal Benefit Eligibility)
https://gitlab.com/gadhs/application/ccwis/craig (Child Welfare)
These are obviously not ready for production and are mostly just an experiment/prototype. A very tiny and specific part of the CRAIG system is going to go into production early next year (a new mandated reporting portal). Real developers/my IT department is handling this.
Things that I know that are wrong:
- I still use malloc+musl
- The dev machinery is extremely heavy and there is a lot of over-engineering all over the place.
- There are a few god files and several missed opportunities for code sharing.
- Much more
Anyway, the point of this post is just to show how I think claude code (and all the other frontier models) *can* actually be used to help regular people live better lives, it just takes a little experimentation and risk-taking on the part of the Government.
1
u/Routine-Apple-3931 2d ago
This is impressive!
I would love to know your process, how you started, how you decided on Rust and at what point in the build, how you got Claude to access the current systems without push back (.gov or .state and sensitive date can trip my Claude up sometimes even when I'm trying to access tax forms or publications that are publicly availble)
The reason I ask is I am and have done the exact same thing but in private industry and the non-profit accounting sector. Two areas I know intimately and inside and out. It's what made creating the programs easier, is I have programs that I like some of what they do and then have strong opinions around what they do poorly or miss.
I have found if you can start with Grounded Truths it can follow, a good planning and scoping session that I compact at the end and use as a Code prompt and then rapid prototype out a proof of concept, rinse and repeat until it's what you want or you convert to a better code that will better do what you have as scaffolding. For security I use other models to launch adversarial attacks at my code once I have a working copy that is at the point I want to put it into a beta deployment testing phase with other users as a final test before I set my kid free to play with others.
I'm no programmer or computer scientist, I am a failed electrical engineering student that became an accountant and operations manager, so my approach could be completely off base here.
1
u/Crayola_God 2d ago
This is great! But isn't the Government already experimenting and risk-taking with AI? I know many contracts using AI vendors.
Also, you mentioned a desire to circumvent the vendors entirely, to avoid maintenance and tech debt. Do you see the AGPL license as a way to solve this?
(I think any contractor would avoid AGPL like the plague)
very curious about your vision!!
1
u/-rhokstar- 2d ago
Thanks for sharing! I've seen EU countries shifting in this direction as well although they want more control and ownership away from big tech companies (US especially).
So its the cheapest available CAPEX but terrible OPEX with unpredictable consequences? It seems States are foregoing solving the root of the problem(s). Now that AI agents (like Claude, OpenAI) are capable of finding and chaining exploits that have been dormant for decades are now being discovered which can put States' software at extreme risk.
Keep experimenting and advocating! Its people like you that bring awareness on important issues and opportunities to advance modern quality services to the people.
1
u/Cliz_FR 2d ago
I'd keep real case files out of the coding assistant while you're testing this. We build an assistant for confidential professional documents and strip identifying details on the user's device before sending text to a model. That still doesn't mean the remaining text is safe for your use case. Use synthetic records to test the shared rules without exposing families' files or claiming you've solved confidentiality.
1
u/ring_the_sysop 1d ago
You did this using Claude for Government...right?