langchain-code


Namelangchain-code JSON
Version 0.0.8 PyPI version JSON
download
home_pageNone
SummaryA comprehensive combination of all agentic CLI at one place with 🦜🔗!
upload_time2025-09-14 20:24:23
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT
keywords langchain agents cli llm coding devtools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <img src="https://raw.githubusercontent.com/zamalali/langchain-code/main/assets/logo.png" alt="LangCode Logo" width="160" />
</p>

<h1 align="center">LangCode</h1>

<p align="center">
  <em>The only CLI you'll ever need!</em>
</p>

<p align="center">
  <img src="https://raw.githubusercontent.com/zamalali/langchain-code/main/assets/cmd.png" alt="LangCode Home Screen" width="100%" />
</p>

[![PyPI version](https://badge.fury.io/py/langchain-code.svg)](https://pypi.org/project/langchain-code/) [![PyPI Downloads](https://static.pepy.tech/personalized-badge/langchain-code?period=total&units=international_system&left_color=black&right_color=green&left_text=downloads)](https://pepy.tech/project/langchain-code) ![Python Versions](https://img.shields.io/pypi/pyversions/langchain-code.svg) [![License](https://img.shields.io/github/license/zamalali/langchain-code)](https://github.com/zamalali/langchain-code/blob/main/LICENSE) [![Docker Build](https://github.com/zamalali/langchain-code/actions/workflows/docker-build.yml/badge.svg)](https://github.com/zamalali/langchain-code/actions/workflows/docker-build.yml) [![Docker Pulls](https://img.shields.io/docker/pulls/at384/langchain-code)](https://hub.docker.com/r/at384/langchain-code) [![Docker Image Size](https://img.shields.io/docker/image-size/at384/langchain-code/latest)](https://hub.docker.com/r/at384/langchain-code) [![Docker Version](https://img.shields.io/docker/v/at384/langchain-code/latest)](https://hub.docker.com/r/at384/langchain-code/tags) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Imports: isort](https://img.shields.io/badge/imports-isort-ef8336.svg)](https://pycqa.github.io/isort/)


**LangCode** is the “one-key” developer CLI that unifies **Gemini**, **Anthropic Claude**, **OpenAI**, and **Ollama** with **ReAct** & **Deep** modes—fully inline, right in your terminal.


## Get Started

1.  **Installation:**
    ```bash
    pip install langchain-code
    ```


**Launch the Interactive Launcher:**
    Just type `langcode` in your terminal and hit Enter. This opens a user-friendly interactive menu where you can easily configure your session and access various functionalities without needing to remember specific command-line arguments. See the image shown above.

---
## Interactive Mode

The interactive mode serves as the central hub for all your coding tasks. It allows you to:

*   **Choose a Command:** Select what you want to do: `chat`, `feature`, `fix`, or `analyze`.
*   **Configure the Engine:** Pick between `react` (fast and efficient) and `deep` (for complex tasks).
*   **Enable Smart Routing:** Let LangCode automatically select the best LLM for each task.
*   **Set the Priority:** Optimize for `cost`, `speed`, or `quality` when using smart routing.
*   **Manage Autopilot:** Enable fully autonomous mode for the Deep Agent (use with caution!).
*   **Toggle Apply Mode:** Allow LangCode to automatically write changes to your file system.
*   **Select an LLM:** Explicitly choose between Anthropic and Google Gemini, or let LangCode decide.
*   **Specify the Project Directory:** Tell LangCode where your codebase is located.
*   **Edit Environment Variables:** Quickly add or modify API keys and other settings in your `.env` file.
*   **Customize Instructions:** Open the `.langcode/langcode.md` file to add project-specific guidelines.
*   **Configure MCP Servers:** Set up Model Context Protocol (MCP) servers for advanced tool integration.
*   **Edit Language Code:** Modify the core language code directly from the main window.
*   **Specify MCP Servers:** Configure Model Context Protocol (MCP) servers for advanced tool integration.
*   **Define a Test Command:** Specify a command to run after making changes (e.g., `pytest -q`).
*   **Access Help:** Press `h` to toggle help and `q` or `Esc` to quit.

## Core Commands

While the interactive launcher is the recommended way to use LangCode, you can also use the following commands directly from the terminal:

*   `langcode chat`: Starts an interactive chat session.
*   `langcode feature`: Implements a new feature.
*   `langcode fix`: Fixes a bug.
*   `langcode analyze`: Analyzes the codebase.
*   `langcode instr`: Opens the project instructions file.

---

## Install & Run

```bash
pip install langchain-code
langcode
```

## Contributing

Issues and PRs are welcome. Please open an issue to discuss substantial changes before submitting a PR. See `CONTRIBUTING.md` for guidelines.

## License

MIT. See [LICENSE](LICENSE).

## Acknowledgments

LangCode draws inspiration from the design and developer experience of Google’s Gemini CLI and Anthropic’s Claude Code, unified into a single, streamlined tool.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "langchain-code",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "langchain, agents, cli, llm, coding, devtools",
    "author": null,
    "author_email": "zamal <zamalbabar9866@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/e7/34/e6ac4c0d5455d8add5c4f31ac7b06f75b238b2ae4b2ff66094a0fdc28ea6/langchain_code-0.0.8.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\r\n  <img src=\"https://raw.githubusercontent.com/zamalali/langchain-code/main/assets/logo.png\" alt=\"LangCode Logo\" width=\"160\" />\r\n</p>\r\n\r\n<h1 align=\"center\">LangCode</h1>\r\n\r\n<p align=\"center\">\r\n  <em>The only CLI you'll ever need!</em>\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://raw.githubusercontent.com/zamalali/langchain-code/main/assets/cmd.png\" alt=\"LangCode Home Screen\" width=\"100%\" />\r\n</p>\r\n\r\n[![PyPI version](https://badge.fury.io/py/langchain-code.svg)](https://pypi.org/project/langchain-code/) [![PyPI Downloads](https://static.pepy.tech/personalized-badge/langchain-code?period=total&units=international_system&left_color=black&right_color=green&left_text=downloads)](https://pepy.tech/project/langchain-code) ![Python Versions](https://img.shields.io/pypi/pyversions/langchain-code.svg) [![License](https://img.shields.io/github/license/zamalali/langchain-code)](https://github.com/zamalali/langchain-code/blob/main/LICENSE) [![Docker Build](https://github.com/zamalali/langchain-code/actions/workflows/docker-build.yml/badge.svg)](https://github.com/zamalali/langchain-code/actions/workflows/docker-build.yml) [![Docker Pulls](https://img.shields.io/docker/pulls/at384/langchain-code)](https://hub.docker.com/r/at384/langchain-code) [![Docker Image Size](https://img.shields.io/docker/image-size/at384/langchain-code/latest)](https://hub.docker.com/r/at384/langchain-code) [![Docker Version](https://img.shields.io/docker/v/at384/langchain-code/latest)](https://hub.docker.com/r/at384/langchain-code/tags) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Imports: isort](https://img.shields.io/badge/imports-isort-ef8336.svg)](https://pycqa.github.io/isort/)\r\n\r\n\r\n**LangCode** is the \u201cone-key\u201d developer CLI that unifies **Gemini**, **Anthropic Claude**, **OpenAI**, and **Ollama** with **ReAct** & **Deep** modes\u2014fully inline, right in your terminal.\r\n\r\n\r\n## Get Started\r\n\r\n1.  **Installation:**\r\n    ```bash\r\n    pip install langchain-code\r\n    ```\r\n\r\n\r\n**Launch the Interactive Launcher:**\r\n    Just type `langcode` in your terminal and hit Enter. This opens a user-friendly interactive menu where you can easily configure your session and access various functionalities without needing to remember specific command-line arguments. See the image shown above.\r\n\r\n---\r\n## Interactive Mode\r\n\r\nThe interactive mode serves as the central hub for all your coding tasks. It allows you to:\r\n\r\n*   **Choose a Command:** Select what you want to do: `chat`, `feature`, `fix`, or `analyze`.\r\n*   **Configure the Engine:** Pick between `react` (fast and efficient) and `deep` (for complex tasks).\r\n*   **Enable Smart Routing:** Let LangCode automatically select the best LLM for each task.\r\n*   **Set the Priority:** Optimize for `cost`, `speed`, or `quality` when using smart routing.\r\n*   **Manage Autopilot:** Enable fully autonomous mode for the Deep Agent (use with caution!).\r\n*   **Toggle Apply Mode:** Allow LangCode to automatically write changes to your file system.\r\n*   **Select an LLM:** Explicitly choose between Anthropic and Google Gemini, or let LangCode decide.\r\n*   **Specify the Project Directory:** Tell LangCode where your codebase is located.\r\n*   **Edit Environment Variables:** Quickly add or modify API keys and other settings in your `.env` file.\r\n*   **Customize Instructions:** Open the `.langcode/langcode.md` file to add project-specific guidelines.\r\n*   **Configure MCP Servers:** Set up Model Context Protocol (MCP) servers for advanced tool integration.\r\n*   **Edit Language Code:** Modify the core language code directly from the main window.\r\n*   **Specify MCP Servers:** Configure Model Context Protocol (MCP) servers for advanced tool integration.\r\n*   **Define a Test Command:** Specify a command to run after making changes (e.g., `pytest -q`).\r\n*   **Access Help:** Press `h` to toggle help and `q` or `Esc` to quit.\r\n\r\n## Core Commands\r\n\r\nWhile the interactive launcher is the recommended way to use LangCode, you can also use the following commands directly from the terminal:\r\n\r\n*   `langcode chat`: Starts an interactive chat session.\r\n*   `langcode feature`: Implements a new feature.\r\n*   `langcode fix`: Fixes a bug.\r\n*   `langcode analyze`: Analyzes the codebase.\r\n*   `langcode instr`: Opens the project instructions file.\r\n\r\n---\r\n\r\n## Install & Run\r\n\r\n```bash\r\npip install langchain-code\r\nlangcode\r\n```\r\n\r\n## Contributing\r\n\r\nIssues and PRs are welcome. Please open an issue to discuss substantial changes before submitting a PR. See `CONTRIBUTING.md` for guidelines.\r\n\r\n## License\r\n\r\nMIT. See [LICENSE](LICENSE).\r\n\r\n## Acknowledgments\r\n\r\nLangCode draws inspiration from the design and developer experience of Google\u2019s Gemini CLI and Anthropic\u2019s Claude Code, unified into a single, streamlined tool.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A comprehensive combination of all agentic CLI at one place with \ud83e\udd9c\ud83d\udd17!",
    "version": "0.0.8",
    "project_urls": {
        "Homepage": "https://github.com/zamalali/langchain-code",
        "Issues": "https://github.com/zamalali/langchain-code/issues",
        "Repository": "https://github.com/zamalali/langchain-code"
    },
    "split_keywords": [
        "langchain",
        " agents",
        " cli",
        " llm",
        " coding",
        " devtools"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9bfb32383fd03cb042babe1cbaba348f5aa85576aaf972f6f9532219a8c7ae40",
                "md5": "1211bcbcda4b547c3e5c9b9261f9b0c7",
                "sha256": "208ec52172f6caee634cad91a2901ec46919c16e4696bd39b4df6a984e53ab44"
            },
            "downloads": -1,
            "filename": "langchain_code-0.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1211bcbcda4b547c3e5c9b9261f9b0c7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 83427,
            "upload_time": "2025-09-14T20:24:20",
            "upload_time_iso_8601": "2025-09-14T20:24:20.696328Z",
            "url": "https://files.pythonhosted.org/packages/9b/fb/32383fd03cb042babe1cbaba348f5aa85576aaf972f6f9532219a8c7ae40/langchain_code-0.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e734e6ac4c0d5455d8add5c4f31ac7b06f75b238b2ae4b2ff66094a0fdc28ea6",
                "md5": "7a11256830a163c57b1d15e1dfbfc72b",
                "sha256": "8568619d38d0b6375b31ecf828e799b1819aa1803e05b4360f6d9a84c38c0fc2"
            },
            "downloads": -1,
            "filename": "langchain_code-0.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "7a11256830a163c57b1d15e1dfbfc72b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 7102262,
            "upload_time": "2025-09-14T20:24:23",
            "upload_time_iso_8601": "2025-09-14T20:24:23.197718Z",
            "url": "https://files.pythonhosted.org/packages/e7/34/e6ac4c0d5455d8add5c4f31ac7b06f75b238b2ae4b2ff66094a0fdc28ea6/langchain_code-0.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-14 20:24:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zamalali",
    "github_project": "langchain-code",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "langchain-code"
}
        
Elapsed time: 7.10924s