Code Agent is an AI-powered command-line interface (CLI) application with an interactive terminal user interface (TUI) designed to assist with software engineering tasks.
Code Agent leverages a multi-agent architecture to tackle complex software development challenges. It comprises the following key agents:
- Planner Agent: Responsible for breaking down high-level tasks into actionable steps.
- Developer Agent: Implements code changes based on the planner's instructions.
- Tester Agent: Verifies the implemented changes by running tests and providing feedback.
- Language: TypeScript (strict mode)
- Runtime: Node.js >= 20
- Package Manager: Bun
- LLM Orchestration: LangChain.js (including
@langchain/anthropic,@langchain/openai,@langchain/google,@langchain/community,@langchain/core) - CLI Framework: Commander.js
- Agent Framework: DeepAgents
- Node.js (>= 20)
- Bun
To install the project dependencies, run:
bun install-
Development Mode: Runs the application in development mode.
bun run dev
-
Build Application: Builds the application for distribution.
bun run build
-
Run Tests: Executes the project's test suite.
bun test
- Interactive TUI: A rich terminal user interface for an engaging user experience.
- Memory System: Learns from interactions and remembers preferences.
- Multi-Agent Collaboration: Utilizes specialized AI agents to streamline development workflows.
- Safe Execution: Emphasizes cautious and reversible actions, especially for shared or critical operations.
- Platform Agnostic: Reads any agents file, CLAUDE.md, GEMINI.md, AGENTS.md, etc. Works with Anthropic, Gemini, or OpenAI models, all configurable.
