> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notte.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# hasStarted

<Tip>
  Read [the Notte skill](https://notte.cc/skill.md) and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
</Tip>

[Source: node-sdk/src/agent.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/agent.ts)

Whether `start()`/`run()` was called on this instance (or it was built from an agent id).
This is a local check and does not contact the API.

```typescript theme={null}
Agent.hasStarted(): boolean;
```

## Returns

```typescript theme={null}
boolean
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.