{"id":25764352,"url":"https://github.com/oldentomato/tomato_agent","last_synced_at":"2026-04-08T20:03:14.556Z","repository":{"id":238457404,"uuid":"752488518","full_name":"Oldentomato/tomato_agent","owner":"Oldentomato","description":"using langchain agent and react framework","archived":false,"fork":false,"pushed_at":"2024-05-16T15:03:07.000Z","size":7868,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-04T07:47:05.813Z","etag":null,"topics":["agent","embeddings","fastapi","langchain","mysql-database","openai","react"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oldentomato.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-02-04T01:33:50.000Z","updated_at":"2024-05-16T15:03:11.000Z","dependencies_parsed_at":"2025-08-04T06:40:35.195Z","dependency_job_id":"4827d63d-55c5-438d-8089-3ae2ccfc0681","html_url":"https://github.com/Oldentomato/tomato_agent","commit_stats":null,"previous_names":["oldentomato/tomato_agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Oldentomato/tomato_agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2Ftomato_agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2Ftomato_agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2Ftomato_agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2Ftomato_agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oldentomato","download_url":"https://codeload.github.com/Oldentomato/tomato_agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2Ftomato_agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","embeddings","fastapi","langchain","mysql-database","openai","react"],"created_at":"2025-02-26T21:17:51.505Z","updated_at":"2026-04-08T20:03:14.536Z","avatar_url":"https://github.com/Oldentomato.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./assets/logo.jpeg\" width=30% height=30% /\u003e\n\u003c/p\u003e  \n\n## TOMATO_AGENT (with Langchain Agent)   \n\u003e This project is still in the development stage.  \n\nThis is a project where you can command chatgpt to act.  \nYou can use the \"agent\" in \"langchain\" to carry out the commands you want.  \nI used mysql database to store user information and chat history.  \nIn addition to openai's model, you can also utilize Huggingface's local model.  \nThe front end is made up of react and the back end is fastapi, and the docker file is also created so that all configurations can be built at once.  \n## Libraries  \n### python  \n```bash\nPackage             Version\n------------------- ----------\n\nkonlpy              0.6.0\nllama_cpp_python    0.2.26\nlangchain           0.0.353\nlangchain-community 0.0.7\nlangchain-core      0.1.4\nnumpy               1.26.2\nopenai              1.6.1\nrank-bm25           0.2.2\nregex               2023.12.25\nsoylemma            0.2.0\nbs4\nlangchain[docarray]\ntiktoken            0.5.1\ngoogle-api-python-client    2.100.0\nscikit-learn\nuvicorn             0.27.0.post1\npython-multipart    0.0.6\nSQLAlchemy          2.0.24\nmysql-connector-python  8.3.0\npython-dotenv       0.21.1\npandas              2.2.2\nopenpyxl\n```\n### node  \n```json\n\"@testing-library/jest-dom\": \"^5.17.0\",\n\"@testing-library/react\": \"^13.4.0\",\n\"@testing-library/user-event\": \"^13.5.0\",\n\"antd\": \"^5.14.0\",\n\"framer-motion\": \"^11.0.3\",\n\"react\": \"^18.2.0\",\n\"react-dom\": \"^18.2.0\",\n\"react-scripts\": \"5.0.1\",\n\"web-vitals\": \"^2.1.4\"\n\"prismjs\": \"^1.29.0\",\n```\n## Enviorment  \n### Client \n    - node 18.11.0\n### Server\n    - python 3.10.13\n    - ubuntu 20.03\n### DB\n    - MySQL\n\n\n## How to use  \n- customize your db structure like ./example_db/init.sql\n- set environment variables (dotenv)\n- run \"docker compose up -d\"  \n\n\n## Functions  \n### Use Agent\n- search real-time weather info  \n![image_1](https://github.com/Oldentomato/tomato_agent/blob/main/assets/search_weather.gif)  \n- search to internet  \n![image_1](https://github.com/Oldentomato/tomato_agent/blob/main/assets/search_google.gif)  \n- chat memory  \n![image_1](https://github.com/Oldentomato/tomato_agent/blob/main/assets/memory.gif)  \n### Use Mixtral Local Model\n\n\n## References\n- install docker-compose  \n```bash\npip install \"cython\u003c3.0.0\" wheel \u0026\u0026 pip3 install pyyaml==5.4.1 --no-build-isolation\npip install docker-compose\npip install docker==6.1.3\n```\n- build docker \n```\ndocker compose up -d\n#do not use docker-compose\n```\n- design ref from\n    - [CSSOnlineTutorial](https://www.youtube.com/@OnlineTutorialsYT)\n    - [GPT Style CSS](https://www.youtube.com/watch?v=EzkWAviyYgg)\n## to-do  \n- 프론트부분에서 fetch요청함수를 모듈화하여 반복정의를 최소화할것  \n- 대화내역을 다시 불러올때 도구사용내용이 누락됨\n- front에서 shift+enter로 줄넘김 기능 추가\n- 실시간 교통상황 도구 개발\n- reAct 계획구상\n- docker 빌드 테스트중\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldentomato%2Ftomato_agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foldentomato%2Ftomato_agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldentomato%2Ftomato_agent/lists"}