The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
import type { Issue } from "@paperclipai/shared";
import { api } from "./client";
export const agentChatsApi = {
list: (companyId: string) => api.get<Issue[]>(`/companies/${companyId}/chats`),
get: (companyId: string, agentRef: string) =>
api.get<Issue | null>(
`/companies/${companyId}/chats/${encodeURIComponent(agentRef)}`,
),
ensure: (companyId: string, agentRef: string) =>
api.post<Issue>(
`/companies/${companyId}/chats/${encodeURIComponent(agentRef)}`,
{},
),
};