{"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/clai-a-platform-for-ai-skills-on-the-command","title":"Project CLAI: Instrumenting the Command Line as a New Environment for AI Agents","arxiv_id":"2002.00762","date":"2020-01-31","proceeding":null,"authors":["Mayank Agarwal","Jorge J. Barroso","Tathagata Chakraborti","Eli M. Dow","Kshitij Fadnis","Borja Godoy","Madhavan Pallan","Kartik Talamadupula"],"abstract":"This whitepaper reports on Project CLAI (Command Line AI), which aims to bring the power of AI to the command line interface (CLI). The CLAI platform sets up the CLI as a new environment for AI researchers to conquer by surfacing the command line as a generic environment that researchers can interface to using a simple sense-act API, much like the traditional AI agent architecture. In this paper, we discuss the design and implementation of the platform in detail, through illustrative use cases of new end user interaction patterns enabled by this design, and through quantitative evaluation of the system footprint of a CLAI-enabled terminal. We also report on some early user feedback on CLAI's features from an internal survey.","url_abs":"https://arxiv.org/abs/2002.00762v2","url_pdf":"https://arxiv.org/pdf/2002.00762v2.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":"clai-a-platform-for-ai-skills-on-the-command","repo_url":"https://github.com/ibm/clai","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"ai-agent","task_name":"AI Agent"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2002.00762","atlas_url":"https://app.syntology.ai/?focus=2002.00762","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2002.00762"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/ibm/clai","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":4,"unverified":2},"by_repo_kind":{"official":{"samples":6,"ran":4,"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":0,"samples":[{"code_sha256_prefix":"53eb0f118d1e0e88","entry":"is_explain_command","repo":"ibm/clai","repo_kind":"official","path":"clai/process_command.py","file_url":"https://github.com/ibm/clai/blob/HEAD/clai/process_command.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"53eb0f118d1e0e88"}},{"code_sha256_prefix":"157ca03eba42ae98","entry":"is_not_command","repo":"ibm/clai","repo_kind":"official","path":"clai/process_command.py","file_url":"https://github.com/ibm/clai/blob/HEAD/clai/process_command.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"157ca03eba42ae98"}},{"code_sha256_prefix":"101c30f167560df1","entry":"is_port_busy","repo":"ibm/clai","repo_kind":"official","path":"clai/clai_run.py","file_url":"https://github.com/ibm/clai/blob/HEAD/clai/clai_run.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"101c30f167560df1"}},{"code_sha256_prefix":"dc51b47e9368c4c6","entry":"split_file_commands","repo":"ibm/clai","repo_kind":"official","path":"clai/fswatchlog_command.py","file_url":"https://github.com/ibm/clai/blob/HEAD/clai/fswatchlog_command.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dc51b47e9368c4c6"}},{"code_sha256_prefix":"9265f232b997eb62","entry":"is_type","repo":"ibm/clai","repo_kind":"official","path":"clai/fswatchlog_command.py","file_url":"https://github.com/ibm/clai/blob/HEAD/clai/fswatchlog_command.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9265f232b997eb62"}},{"code_sha256_prefix":"5517406fb55a94bb","entry":"is_yes_command","repo":"ibm/clai","repo_kind":"official","path":"clai/process_command.py","file_url":"https://github.com/ibm/clai/blob/HEAD/clai/process_command.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5517406fb55a94bb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}