Project Structure
The directories and files for agent definitions, Python extensions, tests, and dependencies in a connic project.
On this page
A connic project is a repository with a small set of recognized directories. connic init creates agents/, tools/, middleware/, and schemas/. Add guardrails/, hooks/, tests/, connectors/, assets/, and apps/ when needed.
What each directory contains
_defaults.yaml for shared settings, then override them in individual agent definitions.apps/<key>.yaml file and an apps/<key>/ source folder per app, built and served by deploys. See Apps.httpx>=0.27; options, URLs and file paths are rejected. Packages install only from prebuilt wheels for Python 3.12 on Linux x86-64, and source builds are disabled. If a package or one of its dependencies is published only as source, the build fails. connic rejects dependencies that install executable .pth hooks or importable modules named sitecustomize or usercustomize. Paths in .pth files must stay inside site-packages and cannot point to files.Upload size and file types
A deploy or connic dev upload can be up to 50 MB, counted unpacked. Outside tests/files/ and apps/, files must be text with one of these extensions: .py, .yaml, .txt, .json, .csv, .md, .toml, .jsonl. MP3 and WAV audio (.mp3, .wav) is allowed there too, such as a voice connector's hold audio. tests/files/ accepts any file type, binary included. Images, PDFs, and other binary files that tools need at runtime belong in Files, not base64 in the code.
Create the scaffold
connic init my-agents --skill
cd my-agentsThe optional --skill flag adds the connic project guidance used by compatible AI coding agents. Run connic lint after reorganizing files to validate discovery.