Skip to main content

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

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.5.tar.gz (20.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.5-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentcad_backend-0.1.5.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for agentcad_backend-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2125c708ae21cf5e44cb28cea1563c56fd7e983376cad47823cd6535f81eb488
MD5 9ac7fe29dcd1041ffaf34eafa8a7eb1d
BLAKE2b-256 efe9508112ab25b8cc1987bc08a16f57c8e57a490b229a79fd0c61ca915b9861

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentcad_backend-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1070e7fa768bccc936ed215effb8fb9e67323944320f52ab63dc50ddaf466543
MD5 59203154d28d7c7d8f94619674a8eb52
BLAKE2b-256 8894d8843a38c66dbfff3eb985f4dfe9335a828b4458bcaf999c5e80a2e8508a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

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