Skip to main content

AG2-powered CadQuery generation backend

Project description

AgentCAD Backend

AG2-powered FastAPI backend for generating CadQuery models and exporting STEP files.

Install

pip install agentcad-backend

For local development from this repository:

cd backend
pip install -e ".[dev]"

Run

agentcad-backend-server --host 127.0.0.1 --port 8000

The package also includes a small CLI entry point:

agentcad-backend-cli --help

The package also exposes the ASGI app at:

agentcad_backend.main:app

Configuration

Configuration is read from environment variables or a .env file in the backend directory.

  • OPENAI_API_KEY: enables AG2/OpenAI generation. Without it, the backend returns deterministic fallback geometry.
  • OPENAI_MODEL: overrides the model used by the CAD and animation agents.
  • AGENT_TEMPERATURE: adjusts agent temperature where supported.

Build and Publish

python -m build
python -m twine check dist/*
python -m twine upload dist/*

GitHub Actions publishes tagged backend releases automatically. Bump the version in pyproject.toml, commit the change, then push a matching tag:

git tag backend-v0.1.1
git push origin backend-v0.1.1

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

agentcad_backend-0.1.3.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

agentcad_backend-0.1.3-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file agentcad_backend-0.1.3.tar.gz.

File metadata

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

File hashes

Hashes for agentcad_backend-0.1.3.tar.gz
Algorithm Hash digest
SHA256 479bab0bc549859e6cc79739567bec0844463932d92d4daa713b4d052ef57752
MD5 79623a4284664358bdd61b1b83796c71
BLAKE2b-256 c15bfa10f323683e5c06d55e28d6c907f5e9fe5bb542fa838e0d2757b5d20a66

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentcad_backend-0.1.3.tar.gz:

Publisher: python-publish.yml on isayahc/amd-hackathon-project

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

File details

Details for the file agentcad_backend-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for agentcad_backend-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b04f9c3e31980ea113b20bbf7074ce0436d8601d79d38ac607087b4fdd6e566f
MD5 483e8282382ab2580fda75e306910d87
BLAKE2b-256 ad2ea6f1dd8f05b4127a7eb1c53772d0342bca0460baf276234718c226d76b28

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentcad_backend-0.1.3-py3-none-any.whl:

Publisher: python-publish.yml on isayahc/amd-hackathon-project

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

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