Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
dd62dbe
feat(examples/02-shipwright): autonomous code-agent demo with shadcn UI
santoshkumarradha Jun 8, 2026
b28ac29
feat(02-shipwright): wire in the REAL SWE-AF library
santoshkumarradha Jun 8, 2026
f4208f7
docs: plan SupportDesk-first public DX
santoshkumarradha Jun 12, 2026
7601ebb
feat(customer): frame first run around SupportDesk
santoshkumarradha Jun 12, 2026
7fe011b
feat(runtime): add no-key SupportDesk demo provider
santoshkumarradha Jun 12, 2026
e666364
feat(runtime): link support actions to cost events
santoshkumarradha Jun 12, 2026
c71efc0
feat(compose): boot customer app in first run
santoshkumarradha Jun 12, 2026
cd6b50c
feat(customer): add first-run walkthrough
santoshkumarradha Jun 12, 2026
b17f442
fix(customer): show demo usage cost
santoshkumarradha Jun 12, 2026
741d66e
fix(compose): let runtime detect provider keys
santoshkumarradha Jun 12, 2026
ea210cd
feat(deploy): add SupportDesk Railway template
santoshkumarradha Jun 12, 2026
3976fd1
docs: explain BackAI demo and provider modes
santoshkumarradha Jun 12, 2026
718e7db
docs: update SupportDesk milestone evidence
santoshkumarradha Jun 12, 2026
a1de6b5
docs: clean BackAI repo DX
santoshkumarradha Jun 12, 2026
0924c38
docs: record BackAI DX milestone
santoshkumarradha Jun 12, 2026
6ab9cce
docs: record final BackAI verification
santoshkumarradha Jun 12, 2026
2d21f6d
docs: pin final verification evidence
santoshkumarradha Jun 12, 2026
b8d9ff5
chore: standardize public repo layout
santoshkumarradha Jun 12, 2026
0d0fc0a
docs: record repo hygiene milestone
santoshkumarradha Jun 12, 2026
677da9d
fix(dashboard): preserve admin deep-link query
santoshkumarradha Jun 12, 2026
a49003f
docs: record local first experience launch
santoshkumarradha Jun 12, 2026
9b496d0
dx: add local port preflight
santoshkumarradha Jun 12, 2026
ff43268
docs: tighten public BackAI repo DX
santoshkumarradha Jun 12, 2026
38dee6b
dx: hide advanced Shipwright from first run
santoshkumarradha Jun 12, 2026
7ead0ac
docs: add public-ready audit and conflict DX
santoshkumarradha Jun 12, 2026
75fd419
feat: smooth first-time SupportDesk flow
santoshkumarradha Jun 12, 2026
5fcda80
feat: add guided AgentField SupportDesk first run
santoshkumarradha Jun 12, 2026
63a35e2
feat: deepen SupportDesk AgentField graph
santoshkumarradha Jun 12, 2026
fa7a2fe
fix: keep streaming LLM cost evidence
santoshkumarradha Jun 12, 2026
83fde53
docs: explain SupportDesk first-run evidence
santoshkumarradha Jun 12, 2026
9c73e40
feat: refocus first-run tours on BackAI
santoshkumarradha Jun 12, 2026
40e6b81
feat: make customer app support chat first
santoshkumarradha Jun 12, 2026
f391b34
fix(runtime): resolve tenants for agent calls
santoshkumarradha Jun 12, 2026
d3b922c
feat(customer): show support reasoning trace
santoshkumarradha Jun 12, 2026
d9edd4f
feat(customer): make SupportDesk consumer-facing
santoshkumarradha Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 25 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# AF Stack environment configuration
# Copy this file to .env and fill in your values.
# BackAI environment configuration.
#
# Copy this file to .env and fill in your values. Public docs use the BackAI
# name. Existing runtime/package variables intentionally keep the stable
# AF_STACK_* namespace to avoid breaking deploys and forks.

# ---------- Required ----------

Expand Down Expand Up @@ -56,13 +59,17 @@ AF_STACK_KMS_KEY=change-me-to-a-real-key

# ---------- LLM providers (set what you use) ----------
#
# AF Stack runs a LiteLLM Proxy sidecar (image
# BackAI runs a LiteLLM Proxy sidecar (image
# ghcr.io/berriai/litellm:main-stable) on port 4000. Every /api/v1/llm/*
# call from customers is forwarded there. You drop in a provider key
# here, the matching `model_list` entry in
# apps/backend/litellm-config.yaml activates, and 100+ models become
# usable without code changes.

# First-run mode. "auto" uses the deterministic no-key demo provider when no
# provider key below is set, and switches to LiteLLM when you add a real key.
AF_STACK_DEMO_MODE=auto

# Recommended for quickstart: one OpenRouter key gets you many models.
# The sample agent picks a cheap-but-capable default model
# (qwen/qwen-2.5-72b-instruct, about $0.35/$0.40 per 1M tokens) so demos
Expand Down Expand Up @@ -150,7 +157,7 @@ AF_STACK_S3_REGION=us-east-1
# GOOGLE_CLIENT_ID=
# GOOGLE_CLIENT_SECRET=
#
# Enterprise SSO/SAML (#26): AF Stack accepts OIDC here. For SAML
# Enterprise SSO/SAML (#26): BackAI accepts OIDC here. For SAML
# customers, put Authentik in front as the self-hosted SAML-to-OIDC
# bridge, or use WorkOS as the managed broker. Register:
# <BETTER_AUTH_URL>/api/auth/oauth2/callback/enterprise-sso
Expand Down Expand Up @@ -178,7 +185,7 @@ AF_STACK_S3_REGION=us-east-1
# E2B_API_KEY=
# AF_STACK_E2B_BASE_URL=https://api.e2b.dev

# Shipwright coding-agent factory. AF Stack stores task metadata; AgentField
# Shipwright coding-agent factory. BackAI stores task metadata; AgentField
# owns the execution graph, harness calls, logs, spans, traces, and memory.
# AF_STACK_SHIPWRIGHT_AGENT_CALL=shipwright.build

Expand Down Expand Up @@ -237,5 +244,16 @@ LOG_FORMAT=json
# ---------- Development ----------

NODE_ENV=development
PORT=8080
DASHBOARD_PORT=3000
# Advanced coding-agent surfaces are available but hidden from first-run
# navigation unless explicitly enabled.
AF_STACK_SHOW_SHIPWRIGHT=false
POSTGRES_PORT=5432
MINIO_PORT=9000
MINIO_CONSOLE_PORT=9001
LITELLM_PORT=4000
AGENTFIELD_PORT=8081
AF_STACK_PORT=8080
AF_STACK_METRICS_PORT=9090
AF_STACK_DASHBOARD_PORT=33000
AF_STACK_CUSTOMER_APP_PORT=34000
SVIX_PORT=8071
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ htmlcov/
.tox/
.hypothesis/
dist/
build/
**/dist/
/build/
.venv/
.venv-*/
venv/
Expand All @@ -50,6 +51,7 @@ venv/
*.out
vendor/
bin/
/af-stack

# Next.js
.next/
Expand All @@ -58,9 +60,13 @@ next-env.d.ts

# Build artifacts
dist/
build/
**/dist/
/build/
*.tsbuildinfo

# Local verification captures
development/*.png

# Test artifacts
coverage/
.nyc_output/
Expand Down
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
.PHONY: help dev test test-go test-py test-ts lint lint-go lint-py lint-ts \
.PHONY: help preflight dev test test-go test-py test-ts lint lint-go lint-py lint-ts \
build build-go build-dashboard build-images \
up down logs clean install-deps fmt

# Default target
help:
@echo "AF Stack - common development commands"
@echo "BackAI - common development commands"
@echo ""
@echo " make install-deps Install all language-level deps (Go, Python, Node)"
@echo " make preflight Check local port conflicts before Docker starts"
@echo " make dev Start dev environment (docker-compose up + hot reload)"
@echo " make up docker-compose up -d"
@echo " make down docker-compose down"
Expand All @@ -28,11 +29,14 @@ install-deps:
@echo "==> Installing Python deps"
@command -v uv >/dev/null && uv sync || echo "uv not found, skipping"

dev:
preflight:
node scripts/preflight.mjs

dev: preflight
@echo "==> Starting docker-compose stack"
docker compose up

up:
up: preflight
docker compose up -d

down:
Expand Down
Loading
Loading