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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentcad_backend-0.1.4.tar.gz.
File metadata
- Download URL: agentcad_backend-0.1.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95a2443189f89107c5375ed2113ba2be13b364b4c95d227d37eef989b05916df
|
|
| MD5 |
64200ecb17378b23cbbbed4300ce0069
|
|
| BLAKE2b-256 |
c8dd511cad11228c56ca9e3340f7de296ef259cf952c691f064b57b6736e84af
|
File details
Details for the file agentcad_backend-0.1.4-py3-none-any.whl.
File metadata
- Download URL: agentcad_backend-0.1.4-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f31cbb9bf715ec88deb56eb6716a5797e3143d02cd4b02e587c9112efa9e0f45
|
|
| MD5 |
e5d874c4b315290311e715340da179d5
|
|
| BLAKE2b-256 |
1a4c63d9d915031a2ba3936ff7defeeb20947b4c8bd7bc63d877fba282fecfbe
|