v1.4

Integrations

Connect FowyldAI to your existing tools and workflows — no code changes required for OpenAI-compatible clients.

OpenAI SDK (Drop-in Replacement)

FowyldAI implements the OpenAI API specification. Point any OpenAI-compatible library to your local instance:

Python

from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:8000/v1",
    api_key="not-needed"  # or your FowyldAI API key
)

response = client.chat.completions.create(
    model="fowyld-default",
    messages=[
        {"role": "user", "content": "Summarize this report."}
    ]
)
print(response.choices[0].message.content)

JavaScript / TypeScript

import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'http://localhost:8000/v1',
  apiKey: 'not-needed'
});

const response = await client.chat.completions.create({
  model: 'fowyld-default',
  messages: [{ role: 'user', content: 'Explain this error.' }]
});
console.log(response.choices[0].message.content);

LangChain

from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    base_url="http://localhost:8000/v1",
    api_key="not-needed",
    model="fowyld-default"
)

response = llm.invoke("What are the OWASP Top 10?")
print(response.content)

VS Code Extension

The FowyldAI VS Code extension provides inline completions, code review, and chat powered by your local instance.

  1. Install the FowyldAI extension from the VS Code marketplace
  2. Set the engine URL in settings: "fowyldai.engineUrl": "http://localhost:8000"
  3. Use Ctrl+Shift+F to open the FowyldAI chat panel
Fully local The VS Code extension communicates only with your local FowyldAI instance. No data is sent to any external service.

MCP (Model Context Protocol)

FowyldAI exposes a full MCP server for integration with AI agents, coding assistants, and tool-using workflows:

{
  "mcpServers": {
    "fowyldai": {
      "url": "http://localhost:8000/mcp",
      "transport": "streamable-http"
    }
  }
}

Available Cmdlets

CategoryCmdletDescription
Codecode_reviewReview code for security, performance, correctness, and style
explain_codeExplain what a code snippet does
find_bugsDetect bugs and potential issues
refactorRefactor for readability, performance, DRY, or SOLID
generate_codeGenerate code from a natural language description
write_testsGenerate unit tests (pytest, jest, vitest, unittest)
generate_docstringGenerate docstrings for functions and classes
Dev Workflowcommit_messageGenerate conventional commit messages from diffs
iterative_codegenMulti-step code generation with iterative refinement
execute_pythonExecute Python code in a sandboxed environment
ReasoningaskGeneral-purpose query with multi-model orchestration
planBreak down a task into an execution plan
reasonStep-by-step logical reasoning
classifyClassify text into categories
verify_reasoningValidate a chain of reasoning for logical errors
TextsummarizeSummarize documents or conversations
compressCompress large text for efficient context handling
decomposeBreak complex queries into sub-problems
KnowledgerememberStore facts in persistent local memory
recallRetrieve stored knowledge
ingest_documentIngest documents into the local knowledge base
query_knowledgeQuery the local knowledge base
Workspaceread_workspace_fileRead files from the local workspace
write_workspace_fileWrite files to the local workspace
search_workspaceSearch across workspace files
scan_directoryScan and list directory contents
SystemhealthEngine health check and status
cached_answerCheck cache before running inference (zero-cost)
auto_routeAutomatically route queries to the optimal model
estimate_tokensEstimate token count for a given input
eval_qualityEvaluate response quality and accuracy
Zero-cost local execution All cmdlets run on local models — no API keys, no cloud calls, no per-token costs. Use cached_answer first to check the response cache before running inference.

CI/CD Pipelines

Use FowyldAI in your build pipeline for automated code review and security scanning:

GitHub Actions

- name: Code review with FowyldAI
  run: |
    curl -X POST http://fowyldai:8000/ask \
      -H "Content-Type: application/json" \
      -d "{
        \"query\": \"Review this diff for security issues\",
        \"context\": \"$(git diff HEAD~1)\"
      }"

Monitoring

Integrate FowyldAI health checks with your monitoring stack:

ToolIntegration
PrometheusScrape /metrics endpoint (Enterprise edition)
GrafanaPre-built dashboard templates available
DatadogCustom check against /health
KubernetesLiveness/readiness probes on /health