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

free_code-0.1.0.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

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

free_code-0.1.0-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for free_code-0.1.0.tar.gz
Algorithm Hash digest
SHA256 846bc284af76ae2dd0a60252d40fb991b7c794e638ca852d09defc8c2e0fe7b8
MD5 40a512dfd1b2b8b67a5a2dc92e7a9569
BLAKE2b-256 2dbccd46bd5c77494b306d198e8acbfb385ac9117ddf172efdbbd79aecfb3181

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for free_code-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2881190eb4cec0fc3c3d6bcb00cb6caadcce202461dbb20705983c2ddc22119d
MD5 6194c9cdf1f38025f851c4f2a9c8a07c
BLAKE2b-256 7c801c52be7f4995626dbb73c02ef250cac2b1d76ae0ed43e5c5ee1e0951fa4e

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