{"id":26051476,"url":"https://github.com/thomasjanssen-tech/data-analyst-ai-agent","last_synced_at":"2026-04-15T14:07:56.176Z","repository":{"id":281176646,"uuid":"944451912","full_name":"ThomasJanssen-tech/Data-Analyst-AI-Agent","owner":"ThomasJanssen-tech","description":"Build an AI Agent which analyses .CSV files you provide it.","archived":false,"fork":false,"pushed_at":"2025-03-07T11:22:08.000Z","size":1082,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T12:27:29.835Z","etag":null,"topics":["agent","ai","langchain","llm","openai","streamlit"],"latest_commit_sha":null,"homepage":"https://thomasjanssen.tech/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThomasJanssen-tech.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-07T11:17:39.000Z","updated_at":"2025-03-07T11:23:16.000Z","dependencies_parsed_at":"2025-03-07T12:27:32.832Z","dependency_job_id":null,"html_url":"https://github.com/ThomasJanssen-tech/Data-Analyst-AI-Agent","commit_stats":null,"previous_names":["thomasjanssen-tech/data-analyst-ai-agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasJanssen-tech%2FData-Analyst-AI-Agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasJanssen-tech%2FData-Analyst-AI-Agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasJanssen-tech%2FData-Analyst-AI-Agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasJanssen-tech%2FData-Analyst-AI-Agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThomasJanssen-tech","download_url":"https://codeload.github.com/ThomasJanssen-tech/Data-Analyst-AI-Agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242501078,"owners_count":20139320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","langchain","llm","openai","streamlit"],"created_at":"2025-03-08T04:55:19.057Z","updated_at":"2026-04-15T14:07:56.136Z","avatar_url":"https://github.com/ThomasJanssen-tech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eBuild an AI Agent Data Analyst\u003c/h1\u003e\n\n\u003ch2\u003eWatch the full tutorial on my YouTube Channel\u003c/h2\u003e\n\u003cdiv\u003e\n\n\u003ca href=\"https://www.youtube.com/watch?v=3ZDeqTIXBPM\"\u003e\n    \u003cimg src=\"thumbnail.png\" alt=\"Thomas Janssen Youtube\" width=\"200\"/\u003e\n\u003c/a\u003e\n\u003c/div\u003e\n\n\u003ch2\u003ePrerequisites\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003ePython 3.11+\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eInstallation\u003c/h2\u003e\n\u003ch3\u003e1. Clone the repository:\u003c/h3\u003e\n\n```\ngit clone https://github.com/ThomasJanssen-tech/Data-Analyst-AI-Agent.git\ncd Data Analyst AI Agent\n```\n\n\u003ch3\u003e2. Create a virtual environment\u003c/h3\u003e\n\n```\npython -m venv venv\n```\n\n\u003ch3\u003e3. Activate the virtual environment\u003c/h3\u003e\n\n```\nvenv\\Scripts\\Activate\n(or on Mac): source venv/bin/activate\n```\n\n\u003ch3\u003e4. Install libraries\u003c/h3\u003e\n\n```\npip install -r requirements.txt\n```\n\n\u003ch3\u003e5. Create accounts\u003c/h3\u003e\n\n- Create an API key for OpenAI: https://platform.openai.com/api-keys\n\n\u003ch3\u003e6. Add API keys to .env file\u003c/h3\u003e\n\n- Rename .env.example to .env\n- Add the API key for OpenAI to the .env file\n\n\u003ch2\u003eExecuting the scripts\u003c/h2\u003e\n\n- Open a terminal in VS Code\n\n- Execute the following command:\n\n```\nstreamlit run main.py\n```\n\n\u003ch2\u003eSources\u003c/h2\u003e\n\nWhile making this video, I used the following sources:\n\n\u003cul\u003e\n\u003cli\u003ehttps://www.kaggle.com/code/iyadmahdy/identifying-key-features-for-diabetes-prediction\u003c/li\u003e\n\u003cli\u003ehttps://www.digilab.co.uk/posts/build-an-ai-data-assistant-with-streamlit-langchain-and-openai\u003c/li\u003e\n\u003cli\u003ehttps://python.langchain.com/api_reference/experimental/agents/langchain_experimental.agents.agent_toolkits.pandas.base.create_pandas_dataframe_agent.html\u003c/li\u003e\n\u003c/ul\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasjanssen-tech%2Fdata-analyst-ai-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasjanssen-tech%2Fdata-analyst-ai-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasjanssen-tech%2Fdata-analyst-ai-agent/lists"}