# MyQuantix AI auth.md

How an AI agent that a client lets into their account signs in to MyQuantix AI.

## Audience

AI agents that can operate a web browser and work for a client in the client's own account (for example Grok, Dots or Muse). MyQuantix AI is not connected to any agent.

## Registration

Accounts are created by people at https://myquantix.com/registration/. There is no registration or provisioning endpoint for agents: an agent does not create its own account.

## Sign-in methods

- Email and password on the Login page (https://myquantix.com/login/).

Agents can also connect with OAuth 2.1: authorization code with PKCE (S256) and dynamic client registration, metadata at https://myquantix.com/.well-known/oauth-authorization-server. The client signs in and approves the requested scopes (portfolio:read, trades:write, analysis:read) on a consent page. Access tokens last one hour, refresh tokens are rotated. The client can disconnect the agent in My account, and a password change disconnects all agents. The MCP server is at https://myquantix.com/mcp (Streamable HTTP; protected resource metadata at https://myquantix.com/.well-known/oauth-protected-resource/mcp). Its tools read the portfolio, the trade journal, the client's own analyses and credits. With the trades:write scope they also add, import and cancel trades in the trade journal through the same code as the forms. Adding a trade carries a key (klic) that stays the same when the call is repeated: a repeat with the same key and the same trade returns the trade already written and does not create a new one (the app remembers the last 30 keys of the account). Import does not write a trade that is already in the journal. Cancelling has no key. When a position has a share count entered by hand that does not match the journal, the write is refused and the client confirms the change in the app, not the agent. There are no API keys and no other public API. Without OAuth the agent uses the same web forms as a person. In the browser the home page offers WebMCP tools that only open pages of this website.

## Credential use

The client decides which agent to trust with their sign-in details and does so at their own responsibility. A signed-in agent may do in the account whatever the client may, and analyses it runs use the account's credits. The session is an ordinary browser session (cookie); signing out ends it. An agent connected through OAuth gets only the scopes the client approved, is not signed out with the browser, and loses access when the client disconnects it in My account or changes the password.

## More

- [For AI agents](https://myquantix.com/for-ai-agents/)
- [llms.txt](https://myquantix.com/llms.txt)
