{"schemaVersion":1,"id":"avc-77-langchain-code","name":"langchain-code","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/avc-77-langchain-code/","officialUrl":"https://github.com/zamalali/langchain-code","isCatalog":false,"description":"LangCode combines several LLM providers in a LangChain terminal coding agent. Supports an ordinary ReAct process and a deeper working mode, including Ollama.","tasks":["Compare providers in one CLI","Experiment with a local model for code changes"],"categoryIds":["ai","software"],"subcategoryIds":["ai.cli","software.cli"],"tags":["ReAct","CLI","Ollama"],"aliases":[],"platforms":[],"stack":["Python"],"compatibility":null,"pricing":"free","freeUsage":"The Apache-2.0 program requires no license fee; a local Ollama model uses your own hardware and has a separate license.","paidUsage":"Paid OpenAI, Anthropic, and other external APIs are billed under provider terms. A separate free LangCode inference quota is not confirmed.","license":"Apache-2.0.","selectionGuide":{"purpose":"Compare providers in one CLI","chooseWhen":["Compare providers in one CLI","Experiment with a local model for code changes"],"considerInstead":["When choosing for this topic, compare langchain-code with aider. A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.","When choosing for this topic, compare langchain-code with gptme. A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."],"requirements":["Python 3.11+ and compatible dependencies are required. Set a provider key for a cloud model; Ollama requires a running server with an available model. Check support for your own Windows environment separately."],"limitations":["Costs and limits of free use: Paid OpenAI, Anthropic, and other external APIs are billed under provider terms. A separate free LangCode inference quota is not confirmed.","Terms of use: Apache-2.0.","--auto and --apply skip ordinary confirmations. Check diffs, commands, and test results; documentation describes smart routing as model selection, rather than guaranteed savings or quality."],"faq":[{"question":"What can you use for free in langchain-code?","answer":"The Apache-2.0 program requires no license fee; a local Ollama model uses your own hardware and has a separate license."},{"question":"What additional costs might arise with langchain-code?","answer":"Paid OpenAI, Anthropic, and other external APIs are billed under provider terms. A separate free LangCode inference quota is not confirmed."},{"question":"What do you need to use langchain-code?","answer":"Python 3.11+ and compatible dependencies are required. Set a provider key for a cloud model; Ollama requires a running server with an available model. Check support for your own Windows environment separately."},{"question":"Which environment can you use langchain-code in?","answer":"This is a Python CLI: current pyproject.toml requires Python 3.11+. ReAct means Reasoning and Acting, an agent operating mode, rather than the React frontend library."},{"question":"How do you get started with langchain-code?","answer":"For the task “Compare providers in one CLI”: open the relevant project and let the agent inspect the affected implementation before making changes. Set a bounded task with completion criteria; review the proposed changes and how they address the requirement. Run the appropriate project checks and compare behavior before and after the change."},{"question":"What should you consider when choosing langchain-code?","answer":"The current README calls the product LangCode."},{"question":"How do I choose a LangCode mode?","answer":"The README describes ordinary ReAct and Deep modes. Changes can be reviewed as a diff; environment configuration provides API keys for the chosen external providers."},{"question":"Where are project rules, MCP, and result checks configured?","answer":"Rules are in .langcode/langcode.md, MCP in .langcode/mcp.json, and keys in .env. A --test-cmd can be set for feature and fix. This runs your own check; it does not guarantee successful changes in advance."}],"related":[{"id":"avc-60-aider","reason":"A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"avc-66-gptme","reason":"A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"avc-85-opencode","reason":"A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."}],"sources":["https://github.com/zamalali/langchain-code","https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/README.md","https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/LICENSE","https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/pyproject.toml","https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/src/langchain_code/config_core.py"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["A repository, a description of one change, and a reproducible example of the expected behavior.","Project context: affected files, constraints, and the established validation method.","Prepare Python 3.11+ and the project environment for this Python CLI. ReAct is an agent operating mode, rather than a requirement to use React; the source project may use another stack."],"steps":["For the task “Compare providers in one CLI”: open the relevant project and let the agent inspect the affected implementation before making changes.","Set a bounded task with completion criteria; review the proposed changes and how they address the requirement.","Run the appropriate project checks and compare behavior before and after the change."],"checks":["The change solves the stated task and does not touch unrelated files unnecessarily.","Investigate check failures; review generated code, configuration, and data access permissions."],"goal":"Example workflow with langchain-code: Compare providers in one CLI."},"sources":["https://github.com/zamalali/langchain-code","https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/README.md","https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/LICENSE","https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/pyproject.toml","https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/src/langchain_code/config_core.py"],"checkedAt":"2026-10-03","reviewScope":"Purpose and published terms were reviewed against the cited primary sources. This product page does not confirm execution or testing in every environment.","relatedIds":["avc-85-opencode","avc-60-aider","avc-66-gptme"],"dataVersion":"cbbe7123b47a5ae80983","type":"Tool","kind":"tool","pricingNote":"The Apache-2.0 program requires no license fee; a local Ollama model uses your own hardware and has a separate license. Paid OpenAI, Anthropic, and other external APIs are billed under provider terms. A separate free LangCode inference quota is not confirmed.","notes":"The current README calls the product LangCode. A Python CLI requiring Python 3.11+; check Windows support against documentation and dependencies. ReAct means Reasoning and Acting, rather than React.","labeledSources":[{"url":"https://github.com/zamalali/langchain-code","label":"Source code"},{"url":"https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/LICENSE","label":"Apache-2.0 license"},{"url":"https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/pyproject.toml","label":"Python requirements and dependencies"},{"url":"https://raw.githubusercontent.com/zamalali/langchain-code/HEAD/src/langchain_code/config_core.py","label":"Provider and Ollama connections"}],"licenseGuides":[{"id":"apache-2","title":"Apache 2.0 — permissive license with patent terms","scope":null,"summary":"You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.","url":"https://www.apache.org/licenses/LICENSE-2.0"}],"entryIds":[],"composition":null}