Packages
@downcity/agent
Single-Agent runtime, AgentWorkspace, Session, Plugin SDK, and RemoteAgent.
@downcity/agent provides the single-Agent execution surface. It owns Agent, AgentWorkspace,
Session, Plugin SDK, and RemoteAgent. Workspace resources are provided by
@downcity/workspace; this package does not own a multi-Agent host or network server.
const city = new City({ workspaces: [workspace] });
const agent = new Agent({ id: "assistant" });
city.agents.add(agent);
const session = await agent.sessions.create({ workspace });
const turn = await session.prompt({ query: "Hello" });
const result = await turn.finished;Use @downcity/agent when a CLI, Desktop application, or Node process needs to own multiple
Agent instances, restore local configuration, or expose HTTP/RPC transports.