Agentic Ifs

B 81 completed
Api
unknown / python · small
53
Files
9,754
LOC
2
Frameworks
3
Languages

Pipeline State

completed
Run ID
#349907
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
54.54
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #48867
Member of a group with 1 similar repo(s) — canonical #68026 view group →
Top concepts (2)
Project DescriptionWeb Backend
Repobility · severity-and-effort ranking · https://repobility.com

AI Prompt

Create a Python web API using FastAPI that models the Internal Family Systems (IFS) therapeutic model as a multi-agent computational architecture. The system should allow for the simulation and visualization of internal dynamics. I need to be able to define different 'Parts'—like Managers, Firefighters, and Exiles—each with a narrative, intent, and triggers. The core functionality should support modeling relationships between these Parts using edges, and ideally, include a workflow to simulate the 'Find' step using a Trailhead. Please structure the code to handle this complex, internal system homeostasis simulation.
python fastapi multi-agent simulation psychology api ifs computational
Generated by gemma4:latest

Catalog Information

A web API that models Internal Family Systems as a multi‑agent computational architecture, enabling simulation and visualization of internal dynamics.

Description

The platform exposes a RESTful API built with FastAPI, allowing clients to define, run, and analyze simulations of Internal Family Systems (IFS) agents. Each agent represents a distinct internal part, and their interactions are governed by configurable rules and AI‑driven insights from the Anthropic model. Results are returned in structured JSON and can be visualized using Matplotlib, providing clear graphical representations of agent states over time. The system is designed for researchers and clinicians who need reproducible, data‑driven models of therapeutic processes. It supports rapid prototyping of new IFS scenarios and integration into existing digital therapy workflows.

الوصف

يقدم النظام واجهة برمجة تطبيقات RESTful مبنية على FastAPI، تتيح للمستخدمين تعريف وتشغيل وتحليل محاكاة لنظام Internal Family Systems (IFS) عبر وكلاء متعددين. يمثل كل وكيل جزءاً داخلياً مميزاً، وتُحكم تفاعلاته بقواعد قابلة للتكوين ورؤى مدعومة بالذكاء الاصطناعي من نموذج Anthropic. تُرجع النتائج بصيغة JSON منظمة، ويمكن تصورها باستخدام مكتبة Matplotlib لتوفير تمثيلات رسومية واضحة لحالات الوكلاء مع مرور الوقت. صُمم النظام للباحثين والمعالجين الذين يحتاجون نماذج قابلة للتكرار وموثوقة للعمليات العلاجية. يدعم إنشاء سيناريوهات IFS جديدة بسرعة، ويُمكن دمجه مع سير العمل الرقمي للعلاج الحالي. يتيح للمستخدمين ضبط معلمات المحاكاة، مراقبة التفاعلات، وتوليد تقارير مفصلة تساعد في اتخاذ قرارات علاجية مبنية على البيانات. يبرز تميزه بدمج الذكاء الاصطناعي مع نمذجة سلوكيات داخلية معقدة، ما يفتح آفاقاً جديدة للبحث والتطبيق العملي.

Novelty

8/10

Tags

internal-family-systems multi-agent-modeling therapeutic-simulation ai-integration behavioral-visualization mental-health-research interactive-analytics

Technologies

anthropic fastapi matplotlib pydantic uvicorn

Claude Models

claude-opus-4.6 claude-sonnet-4.6

Quality Score

B
80.9/100
Structure
83
Code Quality
90
Documentation
64
Testing
70
Practices
78
Security
100
Dependencies
60

Strengths

  • Good test coverage (56% test-to-source ratio)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Properly licensed project

Weaknesses

  • No CI/CD configuration \u2014 manual testing and deployment
  • 408 duplicate lines detected \u2014 consider DRY refactoring

Recommendations

  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment

Security & Health

4.1h
Tech Debt (A)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (1)
Repobility — the code-quality scanner for AI-generated software · https://repobility.com
MIT
License
4.8%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
88.4%
markdown
10.7%
toml
0.9%

Frameworks

FastAPI pytest

Concepts (2)

Per-row analysis by Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Open data scored by Repobility · https://repobility.com
auto_descriptionProject DescriptionInternal Family Systems as multi-agent computational architecture.80%
auto_categoryWeb Backendweb-backend70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/74004.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV