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

Metadata

Release files for agentcad-backend 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentcad-backend 0.1.5
File Size Uploaded
agentcad_backend-0.1.5.tar.gz 20.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentcad-backend 0.1.5
File Interpreter ABI Platform
agentcad_backend-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 45.2 kB

Release files / agentcad_backend-0.1.5.tar.gz

Download URL agentcad_backend-0.1.5.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2125c708ae21cf5e44cb28cea1563c56fd7e983376cad47823cd6535f81eb488
BLAKE2b-256 checksum
How to use checksums
efe9508112ab25b8cc1987bc08a16f57c8e57a490b229a79fd0c61ca915b9861
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / agentcad_backend-0.1.5-py3-none-any.whl

Download URL agentcad_backend-0.1.5-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1070e7fa768bccc936ed215effb8fb9e67323944320f52ab63dc50ddaf466543
BLAKE2b-256 checksum
How to use checksums
8894d8843a38c66dbfff3eb985f4dfe9335a828b4458bcaf999c5e80a2e8508a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page