free-code
Free AI coding assistant for your terminal. Powered by Free.ai.
Install
pip install free-code
Quick Start
# Interactive coding session in your project directory
cd your-project/
free-code
# Ask a one-shot question about your codebase
free-code ask "How does the auth system work?"
# Execute a task
free-code run "Add unit tests for the User model"
# Initialize and scan codebase
free-code init
Commands
| Command | Description |
|---|---|
free-code |
Interactive coding session (alias: free-code chat) |
free-code ask "question" |
One-shot question about the codebase |
free-code run "task" |
Execute a coding task |
free-code init |
Initialize config, scan codebase |
free-code config |
Show current configuration |
free-code config set key value |
Set a config value |
free-code login |
Authenticate with Free.ai |
Configuration
Config is stored at ~/.free-code/config.yaml.
# Set your Free.ai token
free-code config set token sk-free-xxx
# Use your own API key (BYOK)
free-code config set provider openai
free-code config set api_key sk-xxx
# Choose a model
free-code config set model qwen2.5-coder-32b
# Enable safe mode (confirm before file writes)
free-code config set safe_mode true
Supported Providers
- free.ai (default) — Free tier with daily limits, paid plans for more
- openai — Bring your own OpenAI API key
- anthropic — Bring your own Anthropic API key
- google — Bring your own Google AI API key
- openrouter — Access 300+ models with one key
Features
- Reads and edits files in your project
- Shell command execution (with confirmation)
- Git integration (status, diff, commit, branch)
- Test runner auto-detection (pytest, jest, go test, cargo test)
- Streaming output with syntax highlighting
- Context window optimization
- .gitignore-aware file discovery
License
MIT
Metadata
Release files for free-code 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| free_code-0.1.0.tar.gz | 26.6 kB | Without provenance | Details for free_code-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| free_code-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for free_code-0.1.0-py3-none-any.whl |
Total release size: 60.6 kB
Release files / free_code-0.1.0.tar.gz
| Download URL | free_code-0.1.0.tar.gz |
|---|---|
| Size | 26.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
846bc284af76ae2dd0a60252d40fb991b7c794e638ca852d09defc8c2e0fe7b8
|
|
BLAKE2b-256 checksum How to use checksums |
2dbccd46bd5c77494b306d198e8acbfb385ac9117ddf172efdbbd79aecfb3181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / free_code-0.1.0-py3-none-any.whl
| Download URL | free_code-0.1.0-py3-none-any.whl |
|---|---|
| Size | 34.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2881190eb4cec0fc3c3d6bcb00cb6caadcce202461dbb20705983c2ddc22119d
|
|
BLAKE2b-256 checksum How to use checksums |
7c801c52be7f4995626dbb73c02ef250cac2b1d76ae0ed43e5c5ee1e0951fa4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for free-code 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.