Skip to content
View Artui's full-sized avatar
:shipit:
Focusing
:shipit:
Focusing
  • Krakow, Poland
  • 14:29 (UTC +01:00)

Highlights

  • Pro

Block or report Artui

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Artui/README.md

Hi, I'm Artur

Declare an operation once, serve it everywhere

Python, Django, TypeScript, Go, PostgreSQL, Redis, Docker, GitHub Actions, React, Vue, Svelte, Angular

What I'm building

One operation, declared once, served everywhere. A Django operation is declared as a spec: its parameters, permission check, validation and output. The same spec is then served over REST, HTML, the command line, MCP, and to AI agents, without writing it again for each.

flowchart LR
    K["django-service-specs<br/><i>declare once</i>"]
    K --> R["spec-rest<br/>REST"]
    K --> H["spec-html<br/>HTML + htmx"]
    K --> C["spec-cli<br/>manage.py"]
    K --> T["spec-tasks<br/>background"]
    K --> M["spec-mcp<br/>MCP"]
    M --> A["spec-agents<br/>Pydantic-AI host"]
    K --> A
    A --> U["django-ag-ui<br/>AG-UI endpoint"]
    U --> W["agents-web-components<br/>&lt;ag-ui-chat&gt;"]
    U --> D["django-admin-agent<br/>admin sidebar"]
    W --> D
Loading
Package What it does Release
django-service-specs The kernel: declare an operation once, dispatch it from any transport PyPI
django-spec-rest Specs over HTTP with Django REST Framework PyPI
django-spec-html Specs as server-rendered pages, HTML first and htmx-capable PyPI
django-spec-cli Specs as manage.py subcommands, options generated from parameters PyPI
django-spec-mcp Specs to agents over the Model Context Protocol PyPI
django-spec-tasks Specs as background tasks with a durable run record PyPI
django-spec-agents A Django agent host for Pydantic-AI, with specs as tools PyPI
django-ag-ui An AG-UI agent endpoint for Django PyPI
agents-web-components A framework-free <ag-ui-chat> web component: a drop-in chat sidebar with client-side tools npm
django-admin-agent A chat-agent sidebar inside the Django admin PyPI

See it all working together in django-agent-examples: one Django backend, one agent, five frontends (React, Vue, Svelte, Angular and the Django admin).

Standalone Django libraries

Package What it does Release
django-domain-events A domain-event log with a durable outbox, per-receiver retry and dead-letter PyPI
django-outbound-webhooks Customer-facing webhooks with Standard Webhooks signing PyPI
django-query-contract Catch N+1s, query growth and bad plans at test time PyPI
django-data-shape A realistically shaped test database from your models, loaded by COPY PyPI
django-tiptap-editor A drop-in TipTap rich-text editor for Django forms and admin PyPI

Also: go-services, the same declare-once idea for Go, and held-back-check, a GitHub Action that says which dependency holds another below its newest release.

How I work

100% coverage ty ruff MkDocs

A fix lands with the test that failed before it.

Activity

GitHub stats Repositories per language Contribution streak

Contribution graph eaten by a snake

Pinned Loading

  1. django-admin-agent django-admin-agent Public

    An always-present chat-agent sidebar embedded in the Django admin.

    Python 6

  2. django-tiptap-editor django-tiptap-editor Public

    Drop-in TipTap (ProseMirror) rich-text editor widget for Django forms and admin — node-free for consumers.

    TypeScript 6

  3. django-data-shape django-data-shape Public

    A realistically shaped test database from Django models: declare cardinality, skew and fan-out, load by COPY, and make the query planner believe it.

    Python 1

  4. agents-web-components agents-web-components Public

    Framework-free <ag-ui-chat> Web Component over the AG-UI protocol.

    TypeScript 1

  5. django-domain-events django-domain-events Public

    A Django domain-event log with in-process fan-out: typed events, a durable outbox, per-receiver retry and dead-letter.

    Python 1

  6. django-service-specs django-service-specs Public

    A service contract for Django: declare an operation's parameters, permission check, validation and output once, and dispatch it from any transport.

    Python 1