|
1 | | -# [Command Code](https://commandcode.ai) |
| 1 | +<p align="center"> |
| 2 | + <img src="https://commandcode.ai/docs/top.png" alt="Command Code terminal preview" width="1100" /> |
| 3 | +</p> |
2 | 4 |
|
3 | | -Command code with your taste. Check it out at [CommandCode.ai](https://commandcode.ai) |
| 5 | +<p align="center"><strong>The coding agent that learns your coding taste.</strong></p> |
4 | 6 |
|
5 | | -> Stop fixing sloppy AI code. Command Code continuously learns your coding taste. Powered by taste-1 applied meta neuro-symbolic AI. |
| 7 | +<p align="center"> |
| 8 | + The first frontier coding agent that both builds software and continuously learns your coding taste. Ships full-stack projects, features, fixes bugs, writes tests, and refactors, all while learning how you write code. |
| 9 | +</p> |
6 | 10 |
|
7 | | -## Docs |
| 11 | +<p align="center"> |
| 12 | + <a href="https://www.npmjs.com/package/command-code"><img src="https://img.shields.io/npm/v/command-code?style=flat-square&logo=npm&label=npm&color=18181b&labelColor=18181b&logoColor=white" alt="npm version" /></a> |
| 13 | + <a href="https://commandcode.ai/docs"><img src="https://img.shields.io/badge/docs-commandcode.ai-18181b?style=flat-square&logo=readthedocs&labelColor=18181b&logoColor=white" alt="Docs" /></a> |
| 14 | + <img src="https://img.shields.io/badge/built%20with-command%20code-18181b?style=flat-square&labelColor=18181b" alt="Built with Command Code" /> |
| 15 | +</p> |
8 | 16 |
|
9 | | -Please follow the full documentation at [CommandCode.ai/docs](https://commandcode.ai/docs) |
| 17 | +<p align="center"> |
| 18 | + <a href="https://commandcode.ai/docs/quickstart"><strong>Quickstart</strong></a> |
| 19 | + · |
| 20 | + <a href="https://commandcode.ai/docs">Docs</a> |
| 21 | + · |
| 22 | + <a href="https://commandcode.ai/docs/workflows">Workflows</a> |
| 23 | + · |
| 24 | + <a href="https://commandcode.ai/docs/taste">Taste</a> |
| 25 | + · |
| 26 | + <a href="https://commandcode.ai/launch">Launch</a> |
| 27 | + · |
| 28 | + <a href="https://commandcode.ai/discord">Discord</a> |
| 29 | +</p> |
10 | 30 |
|
11 | | -## Installation |
| 31 | +## Why Command Code |
| 32 | + |
| 33 | +- **Continuously Learning** - every accept, reject, and edit becomes a signal that shapes your taste profile. |
| 34 | +- **Meta Neuro-Symbolic AI** - `taste-1` enforces the invisible logic of your choices and coding taste. |
| 35 | +- **Interactive mode** - slash commands, input modes, and interactive features in Command Code sessions. |
| 36 | +- **Share with your team** - portable via `npx taste push/pull`. Rules decay. Taste compounds. |
| 37 | + |
| 38 | +Want the deeper story behind Taste and the correction-loop problem? Read our [launch announcement](https://commandcode.ai/launch). |
| 39 | + |
| 40 | +## Quickstart |
| 41 | + |
| 42 | +Install Command Code |
12 | 43 |
|
13 | 44 | ```bash |
14 | 45 | npm i -g command-code |
15 | 46 | ``` |
16 | 47 |
|
17 | | -## Usage |
18 | | - |
19 | | -Start an interactive chat session: |
| 48 | +Then start it in your project: |
20 | 49 |
|
21 | 50 | ```bash |
| 51 | +cd your-project |
22 | 52 | cmd |
23 | 53 | ``` |
24 | 54 |
|
25 | | -Use `cmd --help` to see all available options. |
26 | | - |
27 | | -## What is Taste? |
28 | | - |
29 | | -Taste learning automatically learns your coding preferences and style from conversations. It analyzes patterns in your corrections and stated preferences, storing them in project-specific files. |
30 | | - |
31 | | -**What Taste learns:** |
32 | | - |
33 | | -- Your coding style preferences (const vs let, functional vs class components) |
34 | | -- Framework and library choices |
35 | | -- Code structure and patterns you prefer |
36 | | -- Testing and documentation practices |
37 | | -- Communication style preferences |
38 | | - |
39 | | -**How it works:** |
40 | | - |
41 | | -- Learns from explicit preferences ("Please always use TypeScript") |
42 | | -- Learns from repeated corrections you make |
43 | | -- Creates rules with confidence scores (0.0-1.0) |
44 | | -- Only applies rules with confidence > 0.3 |
45 | | -- Organizes learnings by category when you have more than 5 |
| 55 | +Need the full onboarding flow? Start with the [quickstart guide](https://commandcode.ai/docs/quickstart). |
46 | 56 |
|
47 | | -Taste learning is **enabled by default**. Learnings are automatically stored in `.commandcode/taste/taste.md` with confidence scores. As it grows, learnings automatically split into multiple files and folders by category (e.g., `cli/`, `typescript/`, `architecture/`). Use `/taste` in the CLI to toggle it on or off. |
| 57 | +## Explore the docs |
48 | 58 |
|
49 | | -**Try it:** State your preferences or make corrections during chat to see taste learning in action! |
| 59 | +### Taste |
50 | 60 |
|
51 | | -## Interactive Commands |
| 61 | +The `taste-1` model is the core of our taste architecture: it learns from you, thinks like you, and grows with you. |
52 | 62 |
|
53 | | -Available during chat sessions: |
| 63 | +Learn more: [Taste docs](https://commandcode.ai/docs/taste) |
54 | 64 |
|
55 | | -- `/login` - Authenticate with CommandCode via browser (zero-copy auth) |
56 | | -- `/logout` - Sign out from CommandCode |
57 | | -- `/taste` - Toggle taste learning on or off |
58 | | -- `/share` - Create a shareable link for the conversation |
59 | | -- `/unshare` - Stop sharing the conversation |
60 | | -- `/resume` - Resume a past conversation |
61 | | -- `/memory` - Manage project memory (persistent context) |
62 | | -- `/clear` - Clear the conversation history |
| 65 | +### Interactive mode |
63 | 66 |
|
64 | | -## Authentication |
| 67 | +Interactive mode provides keyboard shortcuts, input modes, and interactive features in Command Code sessions. Type `/` to open the command menu, use `!` for Bash mode, and `@` for file path mention autocomplete. |
65 | 68 |
|
66 | | -CommandCode uses browser-based authentication for a secure, seamless login experience: |
| 69 | +Learn more: [Interactive Mode](https://commandcode.ai/docs/core-concepts/interactive-mode) |
67 | 70 |
|
68 | | -1. Run `/login` in the CLI |
69 | | -2. Your browser opens automatically to CommandCode Studio |
70 | | -3. Click "Approve" to authorize the CLI |
71 | | -4. You're authenticated! The CLI receives your credentials automatically |
| 71 | +### Workflows |
72 | 72 |
|
73 | | -No need to copy-paste API keys - authentication happens securely in the background. |
| 73 | +Step-by-step recipes for everyday tasks. Each workflow shows a concrete scenario, the prompts to use, and what to expect. |
74 | 74 |
|
75 | | -## Try These Examples |
| 75 | +Learn more: [Workflows](https://commandcode.ai/docs/workflows) |
76 | 76 |
|
77 | | -- Build a chrome extension to snooze a tab for 5s, 1min, and 10mins. |
78 | | -- Analyze this repo and suggest three high impact PRs |
79 | | -- Build a zero-config, single-file Node.js/TypeScript CLI named `passgen` that generates a random secure password. |
80 | | -- Build a modern React financial dashboard using shadcn/ui components with stock prices, market indices, and currency converter. |
| 77 | +## Choose your next steps |
81 | 78 |
|
82 | | -## Beta Release & Feedback |
| 79 | +| Goal | Best next link | |
| 80 | +| --- | --- | |
| 81 | +| Install and run your first session | [Quickstart](https://commandcode.ai/docs/quickstart) | |
| 82 | +| Understand how Taste works | [Taste](https://commandcode.ai/docs/taste) | |
| 83 | +| Learn slash commands and shortcuts | [Interactive Mode](https://commandcode.ai/docs/core-concepts/interactive-mode) | |
| 84 | +| See flags, subcommands, and command reference | [CLI Reference](https://commandcode.ai/docs/reference/cli) | |
| 85 | +| Browse practical day-to-day usage patterns | [Workflows](https://commandcode.ai/docs/workflows) | |
83 | 86 |
|
84 | | -This is a beta version, and we are actively working on improvements. Expect some rough edges and occasional bugs as we refine the experience. Your feedback is invaluable. Join our Discord community: https://commandcode.ai/discord |
| 87 | +## Docs and community |
85 | 88 |
|
86 | | -## Author |
| 89 | +- Docs: [commandcode.ai/docs](https://commandcode.ai/docs) |
| 90 | +- Discord: [commandcode.ai/discord](https://commandcode.ai/discord) |
| 91 | +- Launch announcement: [commandcode.ai/launch](https://commandcode.ai/launch) |
| 92 | +- Feedback: Use `/feedback` command to report issues, or open a [GitHub issue](https://github.com/CommandCodeAI/command-code/issues/new/choose). |
87 | 93 |
|
88 | | -[Ahmad Awais](https://x.com/MrAhmadAwais) |
| 94 | +**Built with [Command Code](https://commandcode.ai).** |
0 commit comments