Skip to main content

The world's most powerful free AI agent. Self-evolving. Zero cost. Forever.

Project description

FORGE

Free Open Reasoning and Generation Engine

FORGE is an English-first, multilingual AI operator that routes across free and local models, chooses the best execution path for the task, and runs through a modular skill system built for real-world work.

License: MIT Python 3.10+ Website

Why FORGE

  • English-first product surface with multilingual task support.
  • Smart model routing across free providers and local runtimes.
  • Skill-based execution brain with planning, safety, validation, and recovery.
  • Persistent context and memory for long-running operator workflows.
  • Safe artifact generation for reports, analysis outputs, and execution traces.

Core Capabilities

Universal Model Routing

FORGE connects to multiple providers and local runtimes, scores candidates for the active task, and selects the strongest available path.

Skill-Based Operator Brain

The operator is split into explicit layers:

  1. Intent resolution
  2. Structured planning
  3. Skill routing
  4. Safety guard
  5. Execution runtime
  6. Validation
  7. Recovery and fallback
  8. Response composition

Grounded Local Execution

FORGE can inspect a workspace, read files safely, analyze the codebase with evidence, and write output artifacts without mutating source files.

Architecture

forge/
  brain/         Core orchestration brain
  core/          Provider routing, quotas, discovery, session runtime
  memory/        Session and persistent context
  providers/     Provider adapters
  recovery/      Retry and fallback handling
  safety/        Risk policy and confirmation logic
  skills/        Skill contracts, registry, loader, router, runtime
  skills_catalog/Pluggable skill folders
  tools/         Safe local execution tools
  validation/    Output and completion validation

Skill System

Every skill is self-contained in its own folder:

skills_catalog/<skill-name>/
  SKILL.md
  schema.json        # optional
  executor.py        # optional

This makes new skills pluggable without rewriting the core brain.

Install

pip install forge-agent==1.1.7
forge --version  # FORGE 1.1.7

Quick Start

forge --version
forge status
forge discover
forge operate "Analyze this repository and save a summary file"
forge operate "Read forge/brain/operator.py and explain the execution flow"

Current Python package release: 1.1.7 on PyPI.

Python API

import forge

result = forge.operate("Analyze this project and save a summary file")
print(result.result)

Safety Model

  • Untrusted external skills do not run automatically.
  • Medium-risk actions can be forced into dry-run mode.
  • High-risk actions require confirmation.
  • Validation runs before success is reported.
  • FORGE never claims execution without evidence.

Status

Current foundation includes:

  • model routing and provider registry
  • quota management and model discovery
  • skill registry and skill router
  • skill governance metadata, precondition checks, and gated Tier 4 routing
  • live desktop execution streaming with visible plan and step progress
  • safety, validation, and recovery layers
  • grounded workspace analysis and file reading skills

Public Releases

  • Current public release line: 1.1.7.
  • The primary public user path is the Windows Desktop download from the official site and GitHub Release.
  • PyPI remains the developer CLI path: https://pypi.org/project/forge-agent/1.1.7/
  • GitHub's latest stable release must also resolve to v1.1.7.
  • The canonical public release record is the GitHub Release for the matching tag: https://github.com/TREN-Studio/FORGE/releases/tag/v1.1.7
  • The PyPI publishing workflow in .github/workflows/publish-pypi.yml builds the wheel and source distribution, publishes to PyPI through Trusted Publisher, and attaches dist/* to the GitHub Release.
  • The Windows release workflow in .github/workflows/release_forge_windows.yml builds desktop installer and portable assets for the current release line.
  • The supported desktop build entrypoint is python tools/build_windows_desktop.py; that script is the source of truth for orchestration and invokes the portable FORGE-Desktop.spec.
  • Release packaging runs through python tools/package_release_assets.py, which writes release assets under release-assets/ only. It does not publish or sync binary files into site/downloads/.
  • The public downloads page at site/downloads/index.html reads release-manifest.json, puts Windows first, and keeps PyPI/source links under the developer section.
  • python tools/verify_release_public_assets.py --manifest release-assets/release-manifest.json verifies version, size, SHA256, and GitHub Release presence. Add --require-mirror only after Hostinger has byte-identical mirrored assets.
  • tools/deploy_hostinger_site.py deploys the downloads page, portal, and release manifest only; the TREN Studio root page owns https://www.trenstudio.com/FORGE/.
  • Legacy desktop spec variants were removed. FORGE-Desktop.spec is the only supported PyInstaller spec.
  • If WINDOWS_PFX_BASE64 and WINDOWS_PFX_PASSWORD are configured in GitHub Secrets, the workflow signs both artifacts before publishing the GitHub Release.
  • Until code signing is configured, Windows SmartScreen and local execution reputation checks can still block downloaded installers.

Roadmap

  1. Add guarded file editing and patch execution
  2. Add web research and publishing skills
  3. Add audit logs and evidence snapshots for every action
  4. Add richer test coverage and benchmark suites

Contributing

FORGE is designed as an open-source operator platform. Contributions should preserve:

  • modular contracts
  • safety-by-default behavior
  • grounded execution
  • production-oriented output quality

License

MIT

Links

Production Deployment

FORGE keeps its public downloads page and portal bundle inside site/. The production page at https://www.trenstudio.com/FORGE/ remains the TREN Studio project page; the FORGE download interface lives at https://www.trenstudio.com/FORGE/downloads/ and is deployed from site/downloads/index.html.

GitHub Release is the canonical release record. PyPI is the recommended install path for the current public Python package. Hostinger may serve an official mirror under https://www.trenstudio.com/FORGE/downloads/, but only when the files are copied from the same CI-built release assets and pass SHA256, file size, version, and byte-identity verification.

The current public download set is:

  • https://pypi.org/project/forge-agent/1.1.7/
  • https://github.com/TREN-Studio/FORGE/releases/download/v1.1.7/forge_agent-1.1.7-py3-none-any.whl
  • https://github.com/TREN-Studio/FORGE/releases/download/v1.1.7/forge_agent-1.1.7.tar.gz

No official-site binary mirror is published for the current release.

Auto-Deploy Pipeline

GitHub Actions workflow: .github/workflows/deploy_forge_site.yml

Deployment script: tools/deploy_hostinger_site.py. It preserves the remote /FORGE/index.html root page unless this repository explicitly adds a root site/index.html.

Deploy guard: the script refuses to deploy site/index.html to /FORGE/index.html unless --allow-root-index-deploy or FORGE_ALLOW_ROOT_INDEX_DEPLOY=1 is provided. Normal downloads/portal deploys also compare the remote /FORGE/index.html hash before and after upload and fail if it changes.

Route verification: tools/verify_forge_public_routes.py checks that /FORGE/ is still the original project page, /FORGE/downloads/ is still the downloads page, and the public release-manifest.json matches the expected release manifest.

Required GitHub repository secrets:

  • HOSTINGER_HOST
  • HOSTINGER_PORT
  • HOSTINGER_USERNAME
  • HOSTINGER_PASSWORD
  • HOSTINGER_REMOTE_ROOT

Recommended HOSTINGER_REMOTE_ROOT value:

domains/trenstudio.com/public_html/FORGE

Manual local deploy remains available:

python tools/deploy_hostinger_site.py

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

forge_agent-1.1.7.tar.gz (205.2 kB view details)

Uploaded Source

Built Distribution

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

forge_agent-1.1.7-py3-none-any.whl (255.1 kB view details)

Uploaded Python 3

File details

Details for the file forge_agent-1.1.7.tar.gz.

File metadata

  • Download URL: forge_agent-1.1.7.tar.gz
  • Upload date:
  • Size: 205.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for forge_agent-1.1.7.tar.gz
Algorithm Hash digest
SHA256 920d5e027635db2f3c42e847382623d5cd929f86fa9dc98cde45bf23186295eb
MD5 fd2f0b592b4c3e33e8069758c12493eb
BLAKE2b-256 3410f627eaa2f4861842949ceade595611eda39d19befcd69bbfba2b80cddad5

See more details on using hashes here.

File details

Details for the file forge_agent-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: forge_agent-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 255.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for forge_agent-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 efef5cce0cab121f31973d9e4147b513cb31b760cfda2d888438b6f13d215082
MD5 e07c67c529c259cf5d6c292cdd88be18
BLAKE2b-256 15c515ada479114a464020277618b01e38dc6ef9de651f21ac51d7e8289c1607

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