/ Softwerk Gateway

Core concepts

The gateway maps framework capabilities to REST resources under /api.

Resources

ResourcePurpose
AccountCustomer profile, permitted providers, available models, and usage
AgentsNamed LLM configurations with instructions and optional capabilities (web search, RAG, custom tools)
ChatRun a single agent in a one-shot or multi-turn conversation; continue paused tool runs
ConversationsList, retrieve, and delete persisted conversation histories
Model presetsReusable model configurations (provider, deployment, temperature, token limits)
Memory storesCustomer-scoped long-term memory buckets attached to agents
Vector databasesFirestore-backed embedding stores for retrieval-augmented generation

Typical workflow

  1. Create a model preset — configure provider, deployment, and parameters.
  2. Create an agent — attach instructions, a model preset, and optional capabilities.
  3. Chat — send messages via POST /api/chat for one-shot or multi-turn runs.
  4. Persist conversations — load and manage histories via the Conversations API.

Multi-tenancy

Each API key maps to a customer_id. Data is isolated per customer. Some customers use infrastructure overrides (custom GCP project, Firestore database) resolved automatically per request.

Next