Tools and workflows
Start with the product outcome. A coding agent connected to Apso can inspect the project, apply Apso’s backend rules, choose the right tools, and verify the result. The CLI and SDK remain available when you want to run each step directly.
“Add team invitations with owner and admin roles. Explain the tenant boundary, then build and test the workflow.”
- 01InspectRead the current project and schema.
- 02ModelPropose entities, scope, and permissions.
- 03GenerateBuild from the validated contract.
- 04VerifyRun migrations, tests, and one real workflow.
Ask for the outcome
Give the agent the actors, resources, permissions, and workflow you need. Ask it to explain the model and migration risk before it changes the project.
Add team invitations to this service.
Owners and admins can invite members. An invitation expires after seven days
and can only be accepted by the invited email address. Inspect the current
schema, explain the tenant boundary, then generate and test the workflow.The Apso MCP connection supplies the project schema, schema reference, operating rules, and tools. You do not need to translate the request into a sequence of CLI commands.
Connect a coding agent to Apso →
Choose the tool for the job
| Job | Tool | What it gives you |
|---|---|---|
| Design and change the backend with an agent | Apso skills and MCP server | Product-aware schema design, validation, generation, diagnostics, and deployment tools |
| Create, inspect, generate, and run a service directly | Apso CLI | Explicit local commands and automation-friendly output |
| Call the generated API from TypeScript | Apso SDK | Configured clients, fluent queries, mutations, and typed request code |
| Work against a local database and service | Local development | A repeatable environment for generation, migration checks, and API testing |
| Review persisted schema changes | Migrations | Migration previews, destructive-change review, and database updates |
| Prove the product behavior | Testing | Unit, integration, API, and end-to-end checks |
Run the loop directly
Use the CLI when you need an explicit command or a CI step.
# Create or link the project
apso init --name my-api
# Validate the product contract
apso schema validate
# Generate the selected framework
apso generate
# Review the database change
apso migrate
# Run the service locally
apso devAfter generation, inspect the schema and generated diff before running framework checks. Keep custom behavior in the extension layer.
Connect through the SDK
import { ApsoClientFactory } from '@apso/sdk'
export const apso = ApsoClientFactory.getClient({
baseURL: process.env.APSO_API_URL!,
apiKey: process.env.APSO_API_KEY!
})
export function listActiveProjects() {
return apso
.entity('Projects')
.where({ status: { $eq: 'Active' } })
.findMany()
}Keep service keys in server-side environment variables. Use an end-user session or token for browser and mobile requests.
Verify every change
- Confirm
.apsorcstill represents the intended product behavior. - Validate before generation.
- Review generated source and migration diffs.
- Run the framework build and relevant tests.
- Exercise one authenticated product workflow.
- Confirm generated files were not edited by hand.