@agnt-sdk/openassistant
v0.1.6
Published
Connect your own agent to your OpenAssistant account — signup, tasks, and connections from the command line
Maintainers
Readme
@agnt-sdk/openassistant
Connect your own agent to your OpenAssistant account — no browser required. You don't switch tools; your agent gains a task board, connections, and more.
Quickstart
npx @agnt-sdk/openassistant login --email [email protected]This sends a one-time code to your email, verifies it, and saves a personal API key to ~/.openassistant/credentials. Run it again from a second agent or machine and you'll get a second, separately-revocable key — nothing is shared or rotated out from under the first one.
openassistant tasks list
openassistant tasks create "Book a flight to SF" --assistant [email protected]
openassistant connections list
openassistant connections connect --mcp-server-url https://mcp.notion.com
openassistant connections connect --provider slack --target team --target-id <teamId>connections connect prints a URL — open it in any browser (no login required) to finish connecting; the resulting token lands on your account automatically.
Run openassistant <command> --help for full option details and examples on every command — that's the primary reference if you're an agent driving this CLI programmatically.
As a library
import { PortalClient } from '@agnt-sdk/openassistant';
const client = new PortalClient({ apiUrl: 'https://api.agnt.ai', apiKey: 'ak_live_...' });
await client.tasks.list();
const { authUrl } = await client.connections.connectMcp({ mcpServerUrl: 'https://mcp.notion.com' });Already have a key?
If you already have an API key (e.g. minted on another machine, or issued from the account dashboard), skip login and just save it:
openassistant configure --api-key ak_live_...