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 --host 127.0.0.1 --port 8000

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.2.tar.gz (15.5 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.2-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentcad_backend-0.1.2.tar.gz
  • Upload date:
  • Size: 15.5 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.2.tar.gz
Algorithm Hash digest
SHA256 0aa765b38225b5613ca86d3707b29d6240dde226ab6012cdf6cb019cf3a605f3
MD5 8803c5729bfa6fcb541c7e72a3bc3930
BLAKE2b-256 4e703bcc152a9d34450d01b759fca21d73b16bbf8d417c771caeec7a00dfa58f

See more details on using hashes here.

Provenance

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

Publisher: publish-backend.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agentcad_backend-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 67f0ba657720ef52a4838a6d9eb32df2e6d0a94d98487921244b0df7e918dd74
MD5 d669465265c812bee13eee5f0b3b473b
BLAKE2b-256 c337856d23bb5d76abb77b62e8d210370e07e6d516cb2892f259c6deeaa05f0f

See more details on using hashes here.

Provenance

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

Publisher: publish-backend.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