{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/kwaiagents-generalized-information-seeking","title":"KwaiAgents: Generalized Information-seeking Agent System with Large Language Models","arxiv_id":"2312.04889","date":"2023-12-08","proceeding":null,"authors":["Haojie Pan","Zepeng Zhai","Hao Yuan","Yaojia LV","Ruiji Fu","Ming Liu","Zhongyuan Wang","Bing Qin"],"abstract":"Driven by curiosity, humans have continually sought to explore and understand the world around them, leading to the invention of various tools to satiate this inquisitiveness. Despite not having the capacity to process and memorize vast amounts of information in their brains, humans excel in critical thinking, planning, reflection, and harnessing available tools to interact with and interpret the world, enabling them to find answers efficiently. The recent advancements in large language models (LLMs) suggest that machines might also possess the aforementioned human-like capabilities, allowing them to exhibit powerful abilities even with a constrained parameter count. In this paper, we introduce KwaiAgents, a generalized information-seeking agent system based on LLMs. Within KwaiAgents, we propose an agent system that employs LLMs as its cognitive core, which is capable of understanding a user's query, behavior guidelines, and referencing external documents. The agent can also update and retrieve information from its internal memory, plan and execute actions using a time-aware search-browse toolkit, and ultimately provide a comprehensive response. We further investigate the system's performance when powered by LLMs less advanced than GPT-4, and introduce the Meta-Agent Tuning (MAT) framework, designed to ensure even an open-sourced 7B or 13B model performs well among many agent systems. We exploit both benchmark and human evaluations to systematically validate these capabilities. Extensive experiments show the superiority of our agent system compared to other autonomous agents and highlight the enhanced generalized agent-abilities of our fine-tuned LLMs.","url_abs":"https://arxiv.org/abs/2312.04889v3","url_pdf":"https://arxiv.org/pdf/2312.04889v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"kwaiagents-generalized-information-seeking","repo_url":"https://github.com/kwaikeg/kwaiagents","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"gpt-4","method_name":"GPT-4"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[{"slug":"kagentbench","name":"KAgentBench","full_name":""}],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2312.04889","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.04889"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kwaikeg/kwaiagents","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran":7,"unverified":2},"by_repo_kind":{"official":{"samples":9,"ran":7,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":9,"samples":[{"code_sha256_prefix":"60936bc169c3d719","entry":"create_message","repo":"kwaikeg/kwaiagents","repo_kind":"official","path":"kwaiagents/utils/nlp_utils.py","file_url":"https://github.com/kwaikeg/kwaiagents/blob/HEAD/kwaiagents/utils/nlp_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"60936bc169c3d719"}},{"code_sha256_prefix":"9d3ec76434488900","entry":"extract_char_position","repo":"kwaikeg/kwaiagents","repo_kind":"official","path":"kwaiagents/utils/json_fix_general.py","file_url":"https://github.com/kwaikeg/kwaiagents/blob/HEAD/kwaiagents/utils/json_fix_general.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9d3ec76434488900"}},{"code_sha256_prefix":"0131d2f1a300ea62","entry":"find_json_dict","repo":"kwaikeg/kwaiagents","repo_kind":"official","path":"kwaiagents/utils/json_fix_general.py","file_url":"https://github.com/kwaikeg/kwaiagents/blob/HEAD/kwaiagents/utils/json_fix_general.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"0131d2f1a300ea62"}},{"code_sha256_prefix":"71e1f7d7c4031e74","entry":"find_json_list","repo":"kwaikeg/kwaiagents","repo_kind":"official","path":"kwaiagents/utils/json_fix_general.py","file_url":"https://github.com/kwaikeg/kwaiagents/blob/HEAD/kwaiagents/utils/json_fix_general.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"71e1f7d7c4031e74"}},{"code_sha256_prefix":"00149430fb8ee887","entry":"fix_date_to_format","repo":"kwaikeg/kwaiagents","repo_kind":"official","path":"kwaiagents/utils/date_utils.py","file_url":"https://github.com/kwaikeg/kwaiagents/blob/HEAD/kwaiagents/utils/date_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"00149430fb8ee887"}},{"code_sha256_prefix":"aaa698a45db9b03d","entry":"make_gpt_messages","repo":"kwaikeg/kwaiagents","repo_kind":"official","path":"kwaiagents/llms/clients.py","file_url":"https://github.com/kwaikeg/kwaiagents/blob/HEAD/kwaiagents/llms/clients.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"aaa698a45db9b03d"}},{"code_sha256_prefix":"b967246723156649","entry":"split_sentences","repo":"kwaikeg/kwaiagents","repo_kind":"official","path":"kwaiagents/utils/nlp_utils.py","file_url":"https://github.com/kwaikeg/kwaiagents/blob/HEAD/kwaiagents/utils/nlp_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b967246723156649"}},{"code_sha256_prefix":"9bcc537833a3ab62","entry":"convert_bs_html_table_to_list","repo":"kwaikeg/kwaiagents","repo_kind":"official","path":"kwaiagents/utils/html_utils.py","file_url":"https://github.com/kwaikeg/kwaiagents/blob/HEAD/kwaiagents/utils/html_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9bcc537833a3ab62"}},{"code_sha256_prefix":"9c3be55acfd994c1","entry":"convert_bs_html_table_to_markdown","repo":"kwaikeg/kwaiagents","repo_kind":"official","path":"kwaiagents/utils/html_utils.py","file_url":"https://github.com/kwaikeg/kwaiagents/blob/HEAD/kwaiagents/utils/html_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9c3be55acfd994c1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}