Miosa-osa

Osa Claude Code — AI skill for Claude Code

AI community

Claude Code reimagined in Elixir — an AI coding agent built on the BEAM with best practices from the open-source coding agent community.

How to install Osa Claude Code

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Miosa-osa/osa-claude-code and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Osa Claude Code does

Claude Code reimagined in Elixir — an AI coding agent built on the BEAM with best practices from the open-source coding agent community.

Alternatives in AI

  • Kilocode — GitHub Repo stars Open Source AI coding assistant for planning, building, and fixing code Open source AI assis 17k ★
  • Osaurus — Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cry 5.1k ★
  • Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★

README

OSA Claude Code

An open-source AI coding agent for your terminal, built in Elixir.
Understands your codebase, executes tasks, handles git workflows — all through natural language.
Built on the BEAM for real concurrency and fault tolerance.


Quick Install

git clone https://github.com/Miosa-osa/osa-claude-code.git
cd osa-claude-code
mix deps.get && mix compile

Then set your API key and run:

export ANTHROPIC_API_KEY=sk-ant-...
mix run --no-halt

Other ways to run

# One-shot query
mix run -e 'ClaudeCode.query("what files are in this directory?")'

# Build standalone binary
mix escript.build
./claude_code

Requirements

  • Elixir 1.17+
  • Erlang/OTP 26+

Model Providers

Supports five API providers out of the box. Set the corresponding environment variable to switch — no code changes needed.

Anthropic (Default)

export ANTHROPIC_API_KEY=sk-ant-...

OpenAI

export CLAUDE_CODE_USE_OPENAI=1
export OPENAI_API_KEY=sk-...

AWS Bedrock

export CLAUDE_CODE_USE_BEDROCK=1
export AWS_REGION=us-east-1

Uses your standard AWS credentials (environment variables, `~/.aws/config`, or IAM role).

Google Cloud Vertex AI

export CLAUDE_CODE_USE_VERTEX=1

Uses Google Cloud Application Default Credentials (`gcloud auth application-default login`).

OpenRouter

export CLAUDE_CODE_USE_OPENROUTER=1
export OPENROUTER_API_KEY=...

Ollama (Local)

export CLAUDE_CODE_USE_OLLAMA=1

Provider Summary

Provider Env Variable Auth
Anthropic (default) — ANTHROPIC_API_KEY or OAuth
OpenAI CLAUDE_CODE_USE_OPENAI=1 OPENAI_API_KEY or OAuth
AWS Bedrock CLAUDE_CODE_USE_BEDROCK=1 AWS credentials
Google Vertex CLAUDE_CODE_USE_VERTEX=1 gcloud ADC
OpenRouter CLAUDE_CODE_USE_OPENROUTER=1 OPENROUTER_API_KEY