feat: add French Territorial Intelligence agent - #89
Conversation
Connect to geo.api.gouv.fr to fetch commune data (population, surface, geography). Normalizes hectares to km2 and computes density. Auto-registers in the source registry.
|
Hey! We are trying to keep this repo more to be used as a reference on how to build an agent for the workspace! Instead - want to host it on your repo and add a link here: https://github.com/OpenBB-finance/awesome-openbb/blob/main/README.md#agents Would love to feature it there 😄 |
|
Hey @DidierRLopes! Thanks for the feedback and the suggestion — makes total sense to keep this repo focused on reference agents. I've moved the agent to its own repository: tawiza/openbb-french-territorial-intelligence I'll submit a PR to awesome-openbb to get it listed in the Agents section. Happy to close this PR once the awesome-openbb listing is live. Thanks for the warm welcome! 🙏 |
|
Added!! @hamidedefr have you thought about using these sources to build an OpenBB App? You can use this agent skill to build it out: If this is of interest, then we can not only share it in the awesome apps page section as well but make it appear here: https://openbb.co/solutions/app-showcase/ Also - we are working on announcing an Apps Marketplace soon. This would be a really nice app to make available to other users from the workspace directly. Let me know if there's interest to explore this :) Closing this PR, but feel free to reach out to me at didier.lopes [at] openbb.finance - to discuss more! |
|
That's awesome, thanks for the feature! 🙏 Really interested in all three:
I'll get back to you once I have a first version of the app working. Thanks for the warm welcome to the OpenBB ecosystem! |
|
Of course @hamidedefr !!! Looking forward to collaborate here - anything you need from me let me know. If you open source the app, I can also help you if you get stuck or anything 😄 I recommend checking this out - https://github.com/OpenBB-finance/backends-for-openbb/tree/main/getting-started/reference-backend As it has the most diverse type of widgets, params, etc... and that gives you some ideas on how to structure this app! Thank you! |
Summary
Adds a new agent that cross-references French open data APIs to produce territorial intelligence insights. No API keys needed — all three data sources are zero-auth French government APIs.
Data sources:
Key differentiator: cross-referencing. The agent doesn't just query APIs — it computes derived indicators by combining data across sources:
Architecture:
DataSourceprotocol — adding a new API = one file, zero changes to existing codeanalyze_territory,compare_territories,search_enterprisesExample queries:
Closes #86
Test plan
Built on Tawiza's territorial intelligence engine.