we also can't pronounce cecli
Project description
Why cecli?
cecli (probably pronounced like "Cecily") is yet another cli agent crafted for extensibility and customization. Originally a fork of the Aider AI pair programming tool, we aim to make agentic coding as maximally effective as it can be based on the growing capabilities of large language models.
We aim to foster an open, collaborative ecosystem where new features, experiments, and improvements can be developed and shared rapidly. We believe in the principles of FOSS and actively welcome contributors of all skill levels.
If you are looking for bleeding-edge features or want to get your hands dirty with the internals of an AI coding agent, here's your sign.
LLMs are a part of our lives from here on out so join us in learning about and crafting the future.
Links
Discord Chat 🞄 Changelog 🞄 Issue Queue
Documentation/Other Notes:
- Agent Mode
- MCP Configuration
- TUI Configuration
- Skills
- Session Management
- Hooks
- Workspaces
- Custom Commands
- Custom System Prompts
- Custom Tools
- Advanced Model Configuration
- Additional Documentation
Installation Instructions
This project can be installed using several methods:
Package Installation
pip install cecli-dev
or
uv pip install --native-tls cecli-dev
The package exports a cecli command that can start the application
Tool Installation
uv tool install --native-tls --python python3.12 cecli-dev
Use the tool installation so cecli doesn't interfere with your development environment
Configuration
The documentation above contains the full set of allowed configuration options
but I highly recommend using an .cecli.conf.yml file. A good place to get started is:
model: <model of your choice>
agent: true
auto-commits: true
auto-save: true
auto-load: false
cache-prompts: true
check-update: true
debug: false
enable-context-compaction: true
context-compaction-max-tokens: 0.8
env-file: .cecli.env
show-model-warnings: true
use-enhanced-map: true
watch-files: false
tui: true
agent-config:
large_file_token_threshold: 8192
skip_cli_confirmations: false
mcp-servers:
mcpServers:
context7:
transport: http
url: https://mcp.context7.com/mcp
Use the adjacent .cecli.env file to store model api keys as environment variables, e.g:
ANTHROPIC_API_KEY="..."
GEMINI_API_KEY="..."
OPENAI_API_KEY="..."
OPENROUTER_API_KEY="..."
DEEPSEEK_API_KEY="..."
Run Program
If you are in the directory with your .cecli.conf.yml file, then simply running cecli will start the agent with your configuration. For best results, since terminal emulators can be finicky, we highly suggest running:
cecli --terminal-setup
On first run to configure keybindings for the program (notably shift+enter). Support for terminals is ongoing so feel free to make a github issue or chat in the discord for us to figure out what's needed to support automatically setting up a given terminal.
If you want additional sandboxing, we publish a docker container that can be ran as follows:
docker pull dustinwashington/cecli
docker run \
-it \
--user $(id -u):$(id -g) \
--volume $(pwd):/app \
--volume $(pwd)/.cecli.conf.yml:/.cecli.conf.yml \
--volume $(pwd)/.cecli.env:/.cecli.env \
dustinwashington/cecli \
--config /.cecli.conf.yml
--env-file /.cecli.env
This command will make sure all commands ran by the coding agent happen in context of the docker container to protect the host file system from any infamous agentic mishap
Project Roadmap/Goals
The current priorities are to improve core capabilities and user experience of the cecli project
- Base Asynchronicity (cecli coroutine-experiment branch)
- Refactor codebase to have the main loop run asynchronously
- Update test harness to work with new asynchronous methods
- Repo Map Accuracy - Discussion
- Bias page ranking toward active/editable files in repo map parsing
- Include import information in repo map for richer context
- Handle non-unique symbols that break down in large codebases
- Context Discovery - Discussion
- Develop AST-based search capabilities
- Enhance file search with ripgrep integration
- Implement RAG (Retrieval-Augmented Generation) for better code retrieval
- Build an explicit workflow and local tooling for internal discovery mechanisms
- Context Delivery - Discussion
- Use workflow for internal discovery to better target file snippets needed for specific tasks
- Add support for partial files and code snippets in model completion messages
- Update message request structure for optimal caching
- TUI Experience - Discussion
- Add a full TUI (probably using textual) to have a visual interface competitive with the other coding agent terminal programs
- Re-integrate pretty output formatting
- Implement a response area, a prompt area with current auto completion capabilities, and a helper area for managing utility commands
- Agent Mode - Discussion
- Renaming "navigator mode" to "agent mode" for simplicity
- Add an explicit "finished" internal tool
- Add a configuration json setting for agent mode to specify allowed local tools to use, tool call limits, etc.
- Add a RAG tool for the model to ask questions about the codebase
- Make the system prompts more aggressive about removing unneeded files/content from the context
- Add a plugin-like system for allowing agent mode to use user-defined tools in simple python files
- Add a dynamic tool discovery tool to allow the system to have only the tools it needs in context
- Sub Agents
- Add
/forkand/rejoincommands to manually manage parts of the conversation history - Add an instance-able view of the conversation system so sub agents get their own context and workspaces
- Modify coder classes to have discrete identifiers for themselves/management utilities for them to have their own slices of the world
- Refactor global files like todo lists to live inside instance folders to avoid state conflicts
- Add a
spawntool that launches a sub agent as a background command that the parent model waits for to finish - Add visibility into active sub agent calls in TUI
- Hooks
- Add hooks base class for user defined python hooks with an execute method with type and priority settings
- Add hook manager that can accept user defined files and command line commands
- Integrate hook manager with coder classes with hooks for
start,end,on_message,end_message,pre_tool, andpost_tool
- Efficient File Editing
- Explore use of hashline file representation for more targeted file editing
- Assuming viability, update SEARCH part of SEARCH/REPLACE with hashline identification (Done with new edit format)
- Update agent mode edit tools to work with hashline identification
- Update internal file diff representation to support hashline propagation
- Dynamic Context Management
- Update compaction to use observational memory sub agent calls to generate decision records that are used as the compaction basis
- Persist decision records to disk for sessions with some settings for managing lifetimes of such persistence
- Integrate RLM to extract information from decision records on disk and other definable notes
- Add a "describe" tool that launches a sub agent workflow that populates an RLM call's context with:
- Current Conversation History
- Past Decision Records
- Repo Map Found Files
- Quality of Life
- Add hot keys support for running repeatable commands like switching between preferred models
- Unified error message logging inside of
.ceclidirectory
All Contributors (Both Cecli and Aider main)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cecli_dev-0.99.3.tar.gz.
File metadata
- Download URL: cecli_dev-0.99.3.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2c9c4ca636f3496fb46849758851e44e8d7c0d69ff6f949ed61912d8431a54b
|
|
| MD5 |
20e4da8e658457bdb47cc2c04f29a9f6
|
|
| BLAKE2b-256 |
45d59ff8dd46dceff5786b8ef49d1c36d88f07e930639e02e1f6d19f516d0258
|
File details
Details for the file cecli_dev-0.99.3-py3-none-any.whl.
File metadata
- Download URL: cecli_dev-0.99.3-py3-none-any.whl
- Upload date:
- Size: 783.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7acdeb6a2ddee5dd6b386c7b6784603e7b6abb32f9e32aea6bebbd267bf856b4
|
|
| MD5 |
b6b26a4156bd16fa5c0b2de8e29b52fd
|
|
| BLAKE2b-256 |
6e625ba3b957642af204ba2404d5832c8e44c49e3acfb9482a22f64cecebc0f6
|