// Create a client with your Cursor API key.usingvarclient=newCursorAgentsClient(apiKey);// List cloud agents for the authenticated user with a page limit.varresponse=awaitclient.ListAgentsAsync(limit:10);// The response contains a list of agents with their status and metadata.foreach(varagentinresponse.Agents){Console.WriteLine($"Agent {agent.Id}: {agent.Name}");Console.WriteLine($" Status: {agent.Status.ToValueString()}");Console.WriteLine($" Created: {agent.CreatedAt}");if(agent.Summaryis{Length:>0}){Console.WriteLine($" Summary: {agent.Summary}");}}// Use the NextCursor property for pagination when there are more results.if(response.NextCursoris{Length:>0}){Console.WriteLine($"Next page cursor: {response.NextCursor}");}