Skip to main content

FrankCode

Advanced multi-agent orchestrator for OpenCode.

FrankCode acts as a wrapper and orchestration layer around OpenCode, managing specialized agent setups, safety plugins, verification passes, and environment configurations to accomplish complex development tasks safely and robustly.

Requirements

Before installing FrankCode, ensure you have the following prerequisites installed on your system:

  • Python: >= 3.10
  • Node.js & npm: Required to install OpenCode plugins and manage the environment dynamically. FrankCode will attempt to automatically resolve Node via nvm if available.
  • OpenCode: Make sure the opencode CLI is installed and available in your PATH.

Installation

You can install FrankCode directly via pip:

pip install frankcode

Alternatively, to run from source:

git clone https://github.com/joeyism/frankcode.git
cd frankcode
pip install -e .

Usage

FrankCode provides a simple CLI. To execute a task using the default multi-agent orchestrator:

frankcode exec "Create a new React component that fetches data from an API and displays it in a table"

Options

  • --model: Specify the LLM model to use (default: google/gemini-3.1-pro-preview).
  • --verbose, -v: Show debug logs.
  • --no-verify: Disable the autonomous verification and fix passes.
  • --clean: Wipe the .frankcode execution environment before starting.

Example:

frankcode exec "Refactor the auth logic to use JWT" --model openai/gpt-5.4 --verbose

How It Works

  1. Environment Setup: FrankCode creates an isolated .frankcode directory to store logs, quarantine artifacts, and install specific OpenCode plugins dynamically.
  2. Execution: Your prompt is passed into an enhanced OpenCode session. FrankCode actively monitors the process for infinite error loops or idle timeouts.
  3. Verification Loop (Optional but enabled by default): After the main task completes, an adversarial validation agent reads the outputs and devises independent tests. If the tests fail, FrankCode triggers a "fix pass" and repeats the verification.
  4. Cleanup: Temporary artifacts generated during agent reasoning are quarantined.

License

MIT License. See LICENSE for details.

Download files

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

Source Distribution

frankcode-0.1.4.tar.gz (327.8 kB view details)

Uploaded Source

Built Distribution

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

frankcode-0.1.4-py3-none-any.whl (363.3 kB view details)

Uploaded Python 3

File details

Details for the file frankcode-0.1.4.tar.gz.

File metadata

  • Download URL: frankcode-0.1.4.tar.gz
  • Upload date:
  • Size: 327.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for frankcode-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6c12c5b38b06abbef9d170ef5c228bdd708a6c6d46f712e88ec4124d696badd0
MD5 3c17019ba37a90a1b979d34e3c6a9746
BLAKE2b-256 f1037cf34b92d088fa24f6bd96eda081ff90cd2e5eaef7d5d3cdefd84f4b3543

See more details on using hashes here.

Provenance

The following attestation bundles were made for frankcode-0.1.4.tar.gz:

Publisher: publish.yml on joeyism/frankcode

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file frankcode-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: frankcode-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 363.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for frankcode-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3bb14b49e6d1ecfed0b6293f812f5bd9cbad1b795e5a0b73523d9ea6cc9691f7
MD5 9aee8f7a983a90c60423d4516e5c12cb
BLAKE2b-256 2b7d695d9402e51f2e5c49d0a8a444beb176229ee5a0816573200741cb1193ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for frankcode-0.1.4-py3-none-any.whl:

Publisher: publish.yml on joeyism/frankcode

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

This release

0.1.4 This release

2 files

0.1.3

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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