mirror of
https://github.com/hanzoai/sdk.git
synced 2026-11-02 10:34:12 +00:00
- Consolidated Python, JavaScript, Rust, and Go SDKs - Standard directory structure (src/py, src/js, src/rs, src/go) - Real implementations from existing SDKs (not stubs) - Comprehensive test framework with CI/CD matrix - Dual distribution support (pip and npm) - Language parity for all core commands - Smart routing based on language strengths
20 lines
431 B
TypeScript
20 lines
431 B
TypeScript
/**
|
|
* Agent framework
|
|
*/
|
|
export interface AgentOptions {
|
|
name: string;
|
|
model?: string;
|
|
systemPrompt?: string;
|
|
tools?: string[];
|
|
}
|
|
export declare class Agent {
|
|
name: string;
|
|
model: string;
|
|
systemPrompt?: string;
|
|
tools: string[];
|
|
constructor(options: AgentOptions);
|
|
run(task: string): Promise<string>;
|
|
addTool(tool: string): void;
|
|
toJSON(): any;
|
|
}
|
|
//# sourceMappingURL=agent.d.ts.map
|