🌟 Agility AI Agent

Specialized AI Agent API with Memory & Temporal Awareness

Checking status...

✨ Features

🚀 Quick Start

1. Health Check

curl https://lumenlocal.codenlighten.org/api/health | jq '.'

2. Chat with Timezone Awareness

curl -X POST https://lumenlocal.codenlighten.org/api/chat \
  -H "Content-Type: application/json" \
  -H "X-Timezone: America/New_York" \
  -d '{"query": "What time is it?"}'

3. Terminal Agent (Safe Command Generation)

curl -X POST https://lumenlocal.codenlighten.org/api/terminal \
  -H "Content-Type: application/json" \
  -d '{"query": "Find all files larger than 100MB"}'

📡 API Endpoints

POST /api/chat
Main chat endpoint with optional session memory and temporal awareness
POST /api/terminal
Generate platform-aware terminal commands with safety checks
POST /api/code
Generate code with complexity analysis and design reasoning
POST /api/github
Git workflow automation with manual step detection
POST /api/improve-prompt
Transform vague prompts into specific, actionable requests
POST /api/generate-schema
Dynamically create JSON schemas from descriptions
POST /api/summarize
Generate clear summaries with extraction reasoning
GET /api/health
Server health, uptime, and active session count

🔧 Session Management

# Get session info
GET /api/session/:sessionId

# Delete session
DELETE /api/session/:sessionId

# Chat with session memory
curl -X POST https://lumenlocal.codenlighten.org/api/chat \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Remember, my favorite color is blue",
    "sessionId": "my-session-123"
  }'

📚 Documentation

For complete API documentation, examples, and schema definitions: