{"id":21773495,"url":"https://github.com/DAMO-NLP-SG/CoI-Agent","last_synced_at":"2025-07-19T10:30:59.980Z","repository":{"id":258961753,"uuid":"870560832","full_name":"DAMO-NLP-SG/CoI-Agent","owner":"DAMO-NLP-SG","description":"Official code for paper: Chain of Ideas: Revolutionizing Research via Novel Idea Development with LLM Agents","archived":false,"fork":false,"pushed_at":"2024-11-18T03:47:49.000Z","size":590,"stargazers_count":369,"open_issues_count":5,"forks_count":19,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-22T01:06:18.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DAMO-NLP-SG.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}},"created_at":"2024-10-10T09:06:43.000Z","updated_at":"2024-11-21T13:46:54.000Z","dependencies_parsed_at":"2024-10-27T07:50:56.671Z","dependency_job_id":null,"html_url":"https://github.com/DAMO-NLP-SG/CoI-Agent","commit_stats":null,"previous_names":["damo-nlp-sg/coi-agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAMO-NLP-SG%2FCoI-Agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAMO-NLP-SG%2FCoI-Agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAMO-NLP-SG%2FCoI-Agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAMO-NLP-SG%2FCoI-Agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DAMO-NLP-SG","download_url":"https://codeload.github.com/DAMO-NLP-SG/CoI-Agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226584451,"owners_count":17655036,"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":[],"created_at":"2024-11-26T17:01:24.079Z","updated_at":"2025-07-19T10:30:59.962Z","avatar_url":"https://github.com/DAMO-NLP-SG.png","language":"Python","funding_links":[],"categories":["A01_文本生成_文本对话"],"sub_categories":["大语言对话模型及数据"],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"assets/logo.jpg\" width=\"16%\" height=\"25%\"\u003e\n    \u003cimg src=\"assets/title.png\" width=\"55%\" height=\"55%\"\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\nChain-of-Ideas Agent: Revolutionizing Research Via Novel Idea Development with LLM Agents\n\u003c/h3\u003e\n\n\u003cfont size=3\u003e\u003cdiv align='center' \u003e [[📖 arXiv Paper](https://arxiv.org/pdf/2410.13185)] [[📊 Online Demo](https://huggingface.co/spaces/DAMO-NLP-SG/CoI_Agent)] \u003c/div\u003e\u003c/font\u003e\n\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://opensource.org/license/apache-2-0\"\u003e\u003cimg src=\"https://img.shields.io/badge/Code%20License-Apache_2.0-green.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/DAMO-NLP-SG\"\u003e\u003cimg src=\"https://img.shields.io/badge/Institution-DAMO-red\"\u003e\u003c/a\u003e\n\u003ca\u003e\u003cimg src=\"https://img.shields.io/badge/PRs-Welcome-red\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n## 🔥 News\n* **[2024.10.12]**  The first version of CoI Agent!\n\n\n## 🛠️ Requirements and Installation\n**Step 1**:\n```bash\ngit clone https://github.com/DAMO-NLP-SG/CoI-Agent.git\ncd CoI-Agent\npip install -r requirements.txt\n```\n\n**Step 2**:\nInstall [SciPDF Parser](https://github.com/titipata/scipdf_parser) for PDF parsing.\n```bash\ngit clone https://github.com/titipata/scipdf_parser.git\npip install git+https://github.com/titipata/scipdf_parser\npython -m spacy download en_core_web_sm\n```\n\n**Step 3**:\nInstall java for grobid\n```bash\nwget  https://download.oracle.com/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz\ntar -zxvf openjdk-11.0.2_linux-x64_bin.tar.gz\nexport JAVA_HOME=Your_path/jdk-11.0.2\n```\n\n**Step 4**:\nset config.yaml to use the LLM APIs.\n```yaml\n# Sementic scholor api, it should be filled\nSEMENTIC_SEARCH_API_KEY: \"\"\n\nis_azure : True # if false, it is openai\n\n# set it if you set is_azure to True\nAZURE_OPENAI_ENDPOINT : \"\"\nAZURE_OPENAI_KEY : \"\"\nAZURE_OPENAI_API_VERSION : \"\"\n\n# set it if you set is_azure to False\nOPENAI_API_KEY: \"\"\nOPENAI_BASE_URL: \"\"\n\n# if not set it will be set to the same as main llm\nEMBEDDING_API_KEY: \"\"\nEMBEDDING_API_ENDPOINT: \"\"\nEMBEDDING_MODEL: \"\"\n\nMAIN_LLM_MODEL: \"\" # \"gpt-4o\" or ...\n\nCHEAP_LLM_MODEL: \"\" # \"gpt-4o\" or ...\n```\n\n## 🚀 Quick Start\n**Step 1**: Run grobid\n\nIf you can successfully start grobid in [SciPDF Parser](https://github.com/titipata/scipdf_parser.git), run the following commands:\n```bash\ncd scipdf_parser\nbash serve_grobid.sh\n```\n\n(Optional) Or, you can refer to the following process to install grobid if the previous commands fail:\n```bash\ngit clone https://github.com/kermitt2/grobid.git\ncd grobid\n./gradlew clean install\n./gradlew run\n```\n\n**Step 2**: Generate idea\n```python\npython main.py --topic {your research topic}\n```\n\n## 📖 Evaluation Data\nAll evaluation data as well CoI generated results can be found in `dataset` fold.\n\n## :black_nib: Citation\n\nIf you find our work helpful for your research, please consider starring the repo and citing our work.   \n\n```bibtex\n@article{li2024chain,\n  title={Chain of Ideas: Revolutionizing Research in Novel Idea Development with LLM Agents},\n  author={Li, Long and Xu, Weiwen and Guo, Jiayan and Zhao, Ruochen and Li, Xinxuan and Yuan,\n            Yuqian and Zhang, Boqiang and Jiang, Yuming and Xin, Yifei and Dang, Ronghao and \n            Rong, Yu and Zhao, Deli and Feng, Tian and Bing, Lidong},\n  journal={arXiv preprint arXiv:2410.13185},\n  year={2024},\n  url={https://arxiv.org/abs/2410.13185}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDAMO-NLP-SG%2FCoI-Agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDAMO-NLP-SG%2FCoI-Agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDAMO-NLP-SG%2FCoI-Agent/lists"}