Back to Portal

J4C User Manual

Complete guide to using the J4C Enhanced Agent Framework Portal

Getting Started

Welcome to J4C

J4C (Jeeves for Coders) Enhanced Agent Framework is your comprehensive AI agent enhancement platform. This portal provides a visual interface to explore mental models, view analytics, test APIs, and manage agent integrations.

Accessing the Portal

1 Open the Portal

Navigate to http://j4c.aurigraph.io in your web browser.

2 View the Dashboard

The dashboard loads automatically, showing real-time statistics and system health.

3 Explore Features

Use the sidebar navigation to explore different sections of the portal.

System Requirements

Dashboard

Overview

The dashboard provides a real-time overview of the J4C framework status and usage.

Statistics Cards

Mental Models

Total number of available cognitive models (22 in v3.1)

Categories

Number of model categories (7 categories)

API Requests

Total API requests processed today

Uptime

Server uptime duration

Charts

API Usage Trends

Shows request volume over time. Use the dropdown to filter by time period (24 hours, 7 days, 30 days).

Models Distribution

Pie chart showing usage distribution across model categories.

System Health

Displays current system health metrics:

Quick Actions

Shortcut buttons to navigate to common tasks:

Mental Models

Browsing Models

The Mental Models page displays all 22 cognitive frameworks organized by category.

Filtering Models

Use the filter tabs at the top to show models by category:

Model Cards

Each model is displayed as a card showing:

Model Details

Click on any model card to view detailed information including:

Tip

Use the search bar in the header to quickly find specific models by name or description.

Chain of Thought Reasoning

Understanding Reasoning Strategies

This page explains the 7 reasoning strategies available in J4C for structured problem-solving.

Strategy Selection Guide

Strategy When to Use
Forward Chain When you have clear facts and need to derive conclusions
Backward Chain When you know the goal but need to find the path
Bidirectional Complex problems where both start and end are known
Depth First When exploring one solution path thoroughly is important
Breadth First When comparing multiple options at each level
Best First When confidence scores can guide the search
Monte Carlo For probabilistic problems with many possible paths

Reasoning Step Types

Each reasoning chain consists of steps. Understanding these types helps interpret agent reasoning:

  1. Observation: Initial facts gathered
  2. Hypothesis: Proposed explanation
  3. Deduction: Logical inference
  4. Induction: Generalization
  5. Abduction: Best explanation
  6. Analysis: Breaking down
  7. Synthesis: Combining
  8. Evaluation: Assessment
  9. Decision: Choice made
  10. Verification: Confirmation
  11. Backtrack: Revision

Analytics

Analytics Overview

The Analytics page provides detailed usage statistics and performance metrics.

Key Metrics

Hourly Distribution Chart

Shows request volume by hour, helping identify usage patterns and peak times.

Top Endpoints Table

Lists the most frequently called API endpoints with:

Tip

Use analytics to identify which mental models are most effective for your team's problem types.

Reports

Available Reports

Generate and download detailed reports in JSON format:

Usage Report

Contains API usage statistics, request trends, and endpoint popularity.

Models Report

Mental model usage distribution, effectiveness scores, and category breakdown.

Health Report

System health metrics, uptime statistics, and performance data.

Generating a Report

1 Select Report Type

Click on the report card you want to generate.

2 View Report Data

The report content will display in the panel below.

3 Download

Click the "Download" button to save as JSON file.

Note

Reports contain real-time data. Generate new reports to get the latest information.

API Explorer

Testing Endpoints

The API Explorer allows you to test J4C API endpoints directly from the portal.

Available Endpoints

Endpoint Description
/health Health check - verify server is running
/api/v3/info Framework version and capabilities
/api/v3/models List all mental models
/api/v3/analytics Usage analytics data
/api/v3/metrics Prometheus-format metrics
/api/v3/docs Documentation index

Using the Explorer

1 Click an Endpoint

Click on any endpoint card to send a test request.

2 View Response

The response appears below showing status, time, and data.

Response Information

GNN Recommendations

Overview

The GNN (Graph Neural Network) Recommendations page provides AI-powered model suggestions based on your problem domain and context.

Getting Recommendations

1 Select Problem Domain

Choose from: Debugging, Architecture, Performance, Security, Refactoring, Planning, Team Organization, Testing, or Risk Assessment.

2 Select Problem Type (Optional)

Narrow down with: Bug, Performance Issue, New Feature, Security Issue, Refactoring, Design Problem, Integration, or Optimization.

3 Add Keywords (Optional)

Enter keywords like "memory leak", "N+1 query", or "authentication" to improve recommendations.

4 Get Recommendations

Click "Get Recommendations" to receive ranked model suggestions with synergy information.

Understanding Recommendations

Each recommendation includes:

Model Combinations

Click "Get Combinations" to find optimal combinations of 2-3 models for complex problems.

Reasoning Chains

Pre-built chains for common scenarios:

Tip

The GNN engine learns from usage patterns. The more you use it, the better the recommendations become!

SPARC Projects

Overview

SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) is a structured methodology for managing projects through 5 phases.

The 5 SPARC Phases

Phase Focus Deliverables
Specification Define what to build Requirements, user stories, acceptance criteria
Pseudocode Design the logic Algorithms, flow diagrams, logic mapping
Architecture Structure the system Components, APIs, data models
Refinement Build and iterate Code, tests, bug fixes
Completion Finalize and deploy Documentation, deployment, monitoring

Views

Switch between views using the view selector:

Managing Tasks

Tip

Use SPARC phases to ensure nothing is missed. Don't rush through Specification and Pseudocode!

Sprint Planning

Overview

Agile sprint management for tracking work in time-boxed iterations.

Sprint Statistics

The current sprint card shows:

Views

Kanban View

Default view showing tasks in 4 columns:

Burndown View

Chart showing remaining work vs. ideal burndown line. Useful for tracking if the sprint is on track.

Velocity View

Bar chart comparing planned vs. completed story points across sprints.

Backlog View

List of all product backlog items with priority indicators:

Story Points Guide

Points Effort
1Trivial (< 1 hour)
2Small (1-2 hours)
3Medium (half day)
5Large (1 day)
8Extra Large (2-3 days)
13Epic - consider splitting
Best Practice

If a task is 13 points or more, break it down into smaller, more manageable pieces.

Agent Integration

Overview

AI agents can integrate with J4C to submit analysis data, receive recommendations, and learn from team experiences.

Getting an API Key

Contact your administrator to obtain an API key for agent authentication.

# API Key format
j4c_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Basic Integration Flow

1 Start Session

POST to /api/v3/agent/session to register the agent session.

2 Get Recommendations

GET /api/v3/agent/recommend for model suggestions based on domain.

3 Find Similar Solutions

GET /api/v3/agent/similar to find relevant past solutions.

4 Submit Analysis

POST to /api/v3/agent/analysis with your analysis results.

5 Share Learning

POST to /api/v3/agent/learning to share successful patterns.

6 End Session

PUT to /api/v3/agent/session/:id to close the session.

Example Request

curl -X POST http://j4c.aurigraph.io/api/v3/agent/analysis \
  -H "X-API-Key: j4c_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agentId": "my-agent",
    "problemDescription": "Memory leak in service",
    "domain": "debugging",
    "modelsUsed": ["first_principles", "systems_thinking"],
    "insights": ["Object references not being released"],
    "confidence": 0.85,
    "outcome": "success"
  }'
Tip

See the full API Reference for detailed endpoint documentation.

Troubleshooting

Common Issues

Portal Not Loading

Data Not Updating

API Explorer Errors

Error Solution
401 Unauthorized API key required for protected endpoints
403 Forbidden Check permissions for your role
404 Not Found Endpoint doesn't exist - check URL
500 Server Error Server issue - try again later

Charts Not Displaying

Getting Help

Known Limitations
  • In-memory storage resets on server restart
  • Session limit of 500 active sessions
  • Data retention limited to last 1000 analyses