Skip to main content

Free AI coding assistant — Claude Code alternative

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freeai_code-0.1.0.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freeai_code-0.1.0-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file freeai_code-0.1.0.tar.gz.

File metadata

  • Download URL: freeai_code-0.1.0.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for freeai_code-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aab394f7fc688e689c5114eea7776cf7c8371d90b3734fa8061b666ecac1e496
MD5 e50aee2b9f68f1096866a859b48d47c4
BLAKE2b-256 938a3445ce1af084c7461fd7ac7b1e4a701b144592b690cff7c225b523e00721

See more details on using hashes here.

File details

Details for the file freeai_code-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: freeai_code-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for freeai_code-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86f9adf7cdb3fe97efea163b01f68595d40866ae842a968d412a20f159aecc71
MD5 b724559f7156ce2f95e19bd44becbb22
BLAKE2b-256 0df04fdbec6943020e8df111fc73cbe00eafb0d9d674610f4c2e4aa820859f30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page