Engineer beyond limits.
Titancore is an opinionated, async-first Python application framework for agentic AI, stateful workflows, orchestration, and concurrent data processing. It provides expressive conventions and application composition over established Python libraries.
The project is in early development. The runtime provides application paths and lifecycle, a dotted configuration repository, framework-shaped route declarations, a FastAPI application boundary, and a PostgreSQL database integration built on SQLAlchemy, Psycopg 3, pgvector, and Alembic. The official application skeleton uses the foundation to serve a welcome page and health endpoint.
The database integration supports PostgreSQL and pgvector only. The cache
integration supports Redis only and is opt-in through a container provider.
Dependencies are installed with the standard package, while each application
opts into database and cache access explicitly. Password hashing supports
Argon2id and bcrypt. Filesystem disks support local and S3-compatible storage.
API authentication uses JWT bearer tokens with application-owned account
providers. Authorization uses abilities and model policies. HTTP adapters
provide request input, uploads, and response factories over Starlette.
AI agents and durable workflows compose the model SDKs and Redis checkpoints.
Redis Streams supports durable job delivery through Taskiq. Automatic
recovery after a worker crash has limitations. Dedicated data-processing
modules remain future work. See
ROADMAP.md for the incremental development plan. The previous
implementation is preserved on the archive/pre-reset-2026-11-29 branch and
pre-reset-2026-11-29 tag.
Pydantic models supply input validation with field errors and API responses. Pipelines compose sequential stages through the application container. Concurrency runs independent async and I/O jobs; parallel execution uses native thread or process pools for I/O and CPU work.
Titancore requires Python 3.12 or later. For versions available on PyPI,
install the package with pip install titancore.
Use uv for the locked development environment.
git clone https://github.com/titancore-hq/framework.git
cd framework
uv sync --locked --all-groupsuv run uvicorn --app-dir examples/hello-world app:app --reloadOpen http://127.0.0.1:8000/welcome. The example registers
Route.get("/welcome", (WelcomeController, "show")) in routes/api.py.
The controller receives its service through a plain constructor annotation.
A function action at / demonstrates @inject with the same plain service
type. FastAPI and Starlette own request parsing and ASGI behavior.
make help
make check
make cimake check runs the standard lint, format, type, test, and coverage gate.
make ci also verifies security, package build, installed-package smoke,
Docker, documentation browser tests, and pre-commit checks. See
CONTRIBUTING.md for setup and workflow details.
The design priority is to delegate infrastructure to mature libraries, adapt only at useful application boundaries, compose through the framework lifecycle, and extend only for demonstrated needs. The framework uses a configured resolver for dependency resolution, PyYAML and the configuration repository for application config, FastAPI with Starlette for HTTP applications, a small route declaration adapter, and SQLAlchemy with Psycopg 3 and pgvector for PostgreSQL persistence. Alembic owns database migrations; redis-py owns Redis transport for the cache repository.
If you use Titancore in academic research, publications, or software projects, please consider citing it:
@software{thayananthajothy_titancore,
author = {Thayananthajothy, Jerome},
title = {Titancore},
url = {https://github.com/titancore-hq/framework},
license = {MIT}
}The framework also provides a separate Console kernel, environment-aware YAML configuration, configured ORM account lookup, fluent schema declarations, model factories and seeders. See the Console, Configuration, Authentication and Database guides for implemented APIs and their current boundaries.