A new docs page on setting up AI coding agents

Nivas
We've added a page to the Kite Connect docs on setting up an AI coding agent: https://kite.trade/docs/connect/v3/agent-setup/

A lot of you are writing Kite Connect code with agents now, and they tend to pick up parameters and flows from old forum threads and outdated SDK versions. This page is meant to be a current reference you can hand an agent before it starts writing code.

What's on it:
  • Installing pykiteconnect with uv, either in a project or as a one-off script.
  • The login flow: login URL, request_token, access_token.
  • A place_order() call using the SDK constants.
  • A KiteTicker snippet for streaming quotes.
  • Links to the runnable examples in the SDK repo. Worth handing to your agent as context.
The quickest way to use it is to paste this into your agent and ask it to run the setup: https://kite.trade/docs/connect/v3/agent-setup/prompt.md

The docs are also readable as Markdown now. Append .md to any page path, like https://kite.trade/docs/connect/v3/orders/index.md, or use the Copy as Markdown and View as Markdown buttons at the top of every page. Giving your agent the actual page works better than letting it recall parameters from memory.

This is a first version. If your agent still gets something wrong, or if there's a flow you'd like covered, post here and we'll fix it.
Sign In or Register to comment.