Skip to main content

Local-first FastAPI service for idea validation and markdown reports

Project description

AIdeator logo

AIdeator

AIdeator

Local-first FastAPI service for idea validation, run orchestration, and markdown reports

Create ideas, execute runs by privacy mode, and review generated reports without extra tooling.


Setup time License Python FastAPI Docker compose Markdown reports

Website · Docs · Getting Started · Issues · Release Ops

Config guide · Quick start · Architecture · Security & Privacy · Contributing


AIdeator is a FastAPI-based idea validation service that turns raw product ideas into reproducible run records and markdown reports. It provides a consistent flow for creating ideas, launching validation runs, and reviewing generated artifacts under docs/.

The core runtime model is simple: an idea is submitted, a run executes under a chosen privacy mode/tier, and the engine synthesizes report cards that can be rendered into markdown. This keeps execution auditable and easy to run in local dev, CI, and containers.

The project is designed for gradual hardening: local-first defaults, explicit mode configuration (local-only, hybrid, cloud-enabled), and container-friendly stdout/stderr logs.

Features

  • Privacy modes: local-only, hybrid, cloud-enabled
  • Idea -> run lifecycle with status polling
  • Markdown report artifacts (docs/idea-{id}.md)
  • FastAPI API plus simple server-rendered web pages
  • CLI for serving and rebuilding docs

Architecture at a glance

  • api/: FastAPI app bootstrap, routes, middleware, health checks
  • engine/: run orchestration and lifecycle execution
  • db/: repository layer for ideas/runs/reports
  • cmd/: operational commands (docs rebuild)
  • aideator/: package metadata and CLI entrypoints

Detailed overview: docs/architecture.md

Installation

From source:

git clone https://github.com/ARCHITECTURA-AI/AIdeator
cd AIdeator
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install -e .
cp .env.example .env

Alternative dev install:

pip install -r requirements.txt

Running locally

Using Makefile:

make dev
make run-local-only

Using CLI:

aideator serve

Default URL: http://localhost:8000
Health check: http://localhost:8000/healthz

Docker usage

Build and run:

docker build -t your-org/aideator:latest .
docker run --rm -p 8000:8000 --env-file .env your-org/aideator:latest

With compose:

docker compose up

(docker-compose up also works on installations that still use the legacy binary.)

Mode selection is env-driven:

  • APP_DEFAULT_MODE=local -> local-only
  • APP_DEFAULT_MODE=hybrid -> hybrid
  • APP_DEFAULT_MODE=cloud -> cloud-enabled

CLI commands

  • aideator serve
    • Starts api.app:app via uvicorn using env/config defaults.
    • Supports --host, --port, and --reload.
  • aideator rebuild-docs
    • Rebuilds markdown report artifacts for succeeded runs into APP_DOCS_DIR.

Also available as direct script entrypoints:

  • aideator-serve
  • aideator-rebuild-docs

Development workflow

make lint
make test
make dev

Example seed flow:

  1. Start app in local-only mode:
make run-local-only
  1. In another terminal:
python scripts/seed_example.py

This creates a sample idea, runs local-only validation, and prints IDs + report path.
Generated reports are under docs/idea-{id}.md.

Configuration

  • Copy .env.example to .env and adjust values.
  • Config reference: docs/config.md
  • Security/privacy reference: docs/security-privacy.md

Key vars:

  • APP_DB_URL, APP_DOCS_DIR
  • APP_DEFAULT_MODE
  • TAVILY_API_KEY, REDDIT_CLIENT_ID, REDDIT_CLIENT_SECRET, LLM_API_BASE, LLM_API_KEY
  • LOG_LEVEL, LOG_JSON

Security and privacy

Local-only mode is designed to avoid outbound third-party HTTP calls by default run policy.
See docs/security-privacy.md for guarantees, caveats, and org hardening guidance.

Releases and change management

  • Release process: docs/release-checklist.md
  • Change history: CHANGELOG.md
  • Contribution process: CONTRIBUTING.md

Version mapping:

  • 0.1.0 -> PH-A
  • 0.2.0 -> PH-B
  • 0.3.0 -> PH-C
  • 0.4.0 -> PH-D

License

MIT. See LICENSE.

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

aideator-0.9.0.tar.gz (292.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aideator-0.9.0-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

Details for the file aideator-0.9.0.tar.gz.

File metadata

  • Download URL: aideator-0.9.0.tar.gz
  • Upload date:
  • Size: 292.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for aideator-0.9.0.tar.gz
Algorithm Hash digest
SHA256 14eee694b02a11def10806f54660e189a64adf2c8f41f6d006ed53b02c0afa2f
MD5 87507154b80d3d48e3621b3dd371e5fa
BLAKE2b-256 5f07ddd9881858a67bfafd5ee6f808269bcb68e552e1c97b6d3294aac48c5685

See more details on using hashes here.

File details

Details for the file aideator-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: aideator-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 78.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for aideator-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50655f9813dc16254d5ac898edd740fb4d06ae052e06b4e25a9bce76b9217eac
MD5 f6751704400ed50962db5c2fc8013e3f
BLAKE2b-256 88445ab05264c98910aeb6c737a95ba10757e8ca850fb3b3fbb0730e28e113e4

See more details on using hashes here.

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